Is it posible to add extra properties to the StringGadget with:
Alignment, Borderstyle, FontSize, Maxlength or TabStop?
StringGadget Properties
Re: StringGadget Properties
- Max. length:
- Font size:
The other properties can probably be set with some OS-specific code. Try searching the Tips and Tricks section.
Code: Select all
SetGadgetAttribute(#StringGadget, #PB_String_MaximumLength, LENGTH)
Code: Select all
SetGadgetFont(#StringGadget, FontID(LoadFont(#PB_Any, "", SIZE)))
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: StringGadget Properties
Don't forget the StringGadget ISN'T meant to be an editor.
There's an EditorGadget that can do all you want, and more.
There's an EditorGadget that can do all you want, and more.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.