Kale wrote:Open the '..\Purebasic\Visual Designer Constants.prefs' file in a text editor and add your own flags/constants there.

Just remember to observe the correct syntax.
I tried putting a new flag for a string Gadget.... but the flag doesnt
appear in Flags (properties window)... worse, when you close Visual
Designer and start it again the "Visual Designer Prefs" file is reseted to
a defaul values, I want to say the flag desappear.
I tried in several palces, even I created in the prefs file a new section:
[Flags]
String, 10 , MULTILINE , #ES_MULTILINE
;
but the result is the same... it doesnt work.
OK... its working.....
What happend is I didnt have the "Visual Designer Constants" prefs file,
I got confused with "Visual Designer" Prefs file.
I added it and put the flags in it, and is working....
Need some help here:
Could you explain me the format:
Syntax:
TYPE, Constant Value , text for properties window, Text for generated source
; Note: Don't use TAB's
;
; Example:
String, 4 , Multiline , #ES_MULTILINE
what happens if I defined value=4, and I need other String Gadget with
10 lines in the same page-project?
is this only and initial value?
thanks....
