Author Topic: EZC file for Phoenix Grid  (Read 1749 times)

Chris Gaskell

  • Newbie
  • *
  • Posts: 6
    • View Profile
EZC file for Phoenix Grid
« on: February 25, 2024, 05:23:38 am »
Below is the contents of EZC file I use for Phoenix Grid:
I hope that it may be of use to some of you


<<<DESC>>>
   Phoenix Grid Control
<<<END>>>
<<<CLASS>>>
   Phnx_Grid_Class32
<<<END>>>
<<<DLL>>>
   Grid32Ex.dll
<<<END>>>
<<<INCLUDES>>>
   #INCLUDE "GRID32EX.INC"
<<<END>>>
<<<REGISTER>>>
    INITGRIDCONTROL
<<<END>>>
<<<STYLES>>>
     A|Has Caption|%GCS_CAPTION|&H0001??
     B|Show Horiz G Lines|%GCS_HORZGRIDLINES|&H0002??
     C|Show Vert G Lines|%GCS_VERTGRIDLINES|&H0004??
     D|Flat Header|%GCS_FLATHEADER|&H0008??
     E|Read Only|%GCS_READONLY|&H0010??
     F|Show Tool Tips|%GCS_TOOLTIPS|&H0020??
     G|Two Click Activation|%GCS_TWOCLICKACTIVATE|&H0040??
     H|Cycle State on Click|%GCS_CYCLESTATEONCLICK|&H0080??
     I|Drag Drop Edit|%GCS_DRAGDROPEDIT|&H0100??
     J|Allow Custom Edit|%GCS_CUSTOMEDITOR|&H0200??
     K|Disable Scroll Bars|%GCS_DISABLENOSCROLL|&H0400??
     L|Text Call Back|%GCS_TEXTCALLBACK|&H0800??
     M|Set Selection|%GCS_SETSELECTION|&H1000??
     N|Always Show Selection|%GCS_SHOWSELALWAYS|&H2000??
     O|No Beep|%GCS_SILENT|&H4000??
     P|Edit On Focus|%GCS_EX_LABELEDITONFOCUS|[EX]&H0001??
     Q|Clip Cell|%GCS_EX_CLIPCELL|[EX]&H0002??
     R|Auto Size Col|%GCS_EX_AUTOSIZEONEXPAND|[EX]&H0004??
     S|Busy Tip|%GCS_EX_BUSYTIP|[EX]&H0008??
     T|Grid Filled|%GCS_EX_GRIDFILLED|[EX]&H0010??
     U|Allow Only Single Select|%GCS_EX_SINGLESELECT|[EX]&H0020??
     V|Hide Focus Rectangle|%GCS_EX_NOFOCUSRECT|[EX]&H0040??
     W|Hide Node Lines|%GCS_EX_NONODELINES|[EX]&H0080??
     X|Fixed Width Edit|%GCS_EX_LABELEDITFIXED|[EX]&H0100??
     Y|Sort Drop List|%GCS_EX_LABELEDITSORT|[EX]&H0200??
     Z|End Edit On Drop Click|%GCS_EX_LABELEDITENDONCLICK|[EX]&H0400??
     #|Background Colour Border|%GCS_EX_BKGNDCOLORTOBORDER|[EX]&H0800??
   
<<<END>>>
<<<USECOLORMSG>>>
   YES
<<<END>>>
<<<USEFONTMSG>>>
   YES
<<<END>>>
<<<DEFAULTTEXT>>>
   50,100
<<<END>>>
<<<NOTIFY>>>
<<<END>>>
<<<INITCODE>>>
     INITGRIDCONTROL
<<<END>>>
<<<CODE>>>

<<<END>>>


Chris Boss

  • Administrator
  • Jr. Member
  • *****
  • Posts: 60
    • View Profile
Re: EZC file for Phoenix Grid
« Reply #1 on: February 25, 2024, 04:51:01 pm »
Appreciate the post.

Yes, the EZGUI designer supports third party controls, so feel free to post an EZC files for custom controls you may use.

I would like to point out that once a third party custom control is loaded into your app, EZGUI also allows you to subclass the control to allow it to benefit from the subclass engines features.

Use EZ_SubClassEx to subclass third party controls.