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
flags for editorgadget
flags for editorgadget
( 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... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
Re: flags for editorgadget
Yep. Would also like to see: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
#pb_editorgadget_displayonly
Does not allowing editing.