PureFORM Designer

Custom gadget flags


You may define custom gadget flags by creating a 'PureFORM.Flags' file in PureFORM's folder.

It's like an INI file. For each flag to be added, create a preference group named [Flag_X], where X = [0, 1, 2, 3, 4 ...].
Each flag has 3 properties :
Text : the flag's name, like #ES_AUTOVSCROLL;
Value : the flag's value, like $40 (can be decimal or hexadecimal);
Class : the PureFORM target class ID, like 25 (StringGadget class ID). See example below for the class IDs.

Example file :
; ------------------------------------------
; Custom gadget flags definition file sample
; ------------------------------------------
; Original name : PureFORM.Flags
; ---------------------------------------
; Available gadget classes :
; ButtonGadget = 0
; ButtonImageGadget = 1
; CalendarGadget = 2
; CheckBoxGadget = 3
; ComboBoxGadget = 4
; ContainerGadget = 5
; DateGadget = 6
; EditorGadget = 7
; ExplorerComboGadget = 8
; ExplorerListGadget = 9
; ExplorerTreeGadget = 10
; Frame3DGadget = 11
; HyperLinkGadget = 12
; IPAddressGadget = 13
; ImageGadget = 14
; ListIconGadget = 15
; ListViewGadget = 16
; MDIGadget = 17
; OptionGadget = 18
; PanelGadget = 19
; ProgressBarGadget = 20
; ScrollAreaGadget = 21
; ScrollBarGadget = 22
; SpinGadget = 23
; SplitterGadget = 24
; StringGadget = 25
; TextGadget = 26
; TrackBarGadget = 27
; TreeGadget = 28
; WebGadget = 29
; ---------------------------------------
;
[Flag_0]
Text = #ES_AUTOVSCROLL
Value = $40
Class = 25

[Flag_1]
Text = #ES_AUTOHSCROLL
Value = $80
Class = 25