flags for editorgadget

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

flags for editorgadget

Post by blueznl »

simple flags to control editor gadget behaviour:

#pb_editorgadget_grabenterkey

will not allow a 'shortcutkey' when pressing the 'enter' key, this way default button can stay default and react on enter whilst editor / string gadget fields with this flag can contain multi lined texts

#pb_editorgadget_tabtonext

allows jumping to the next gadget instead of inserting a tab char in the editor or string gadget
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Straker
Enthusiast
Enthusiast
Posts: 701
Joined: Wed Apr 13, 2005 10:45 pm
Location: Idaho, USA

Re: flags for editorgadget

Post by Straker »

blueznl wrote:simple flags to control editor gadget behaviour:

#pb_editorgadget_grabenterkey

will not allow a 'shortcutkey' when pressing the 'enter' key, this way default button can stay default and react on enter whilst editor / string gadget fields with this flag can contain multi lined texts

#pb_editorgadget_tabtonext

allows jumping to the next gadget instead of inserting a tab char in the editor or string gadget
Yep. Would also like to see:

#pb_editorgadget_displayonly

Does not allowing editing.
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Yes.
@}--`--,-- A rose by any other name ..
Post Reply