Skip to content

FileBox, new control for gb.form and add Path property to FileBox and DirBox

Bruce Steers requested to merge (removed):FileBox into master

[GB.FORM]

  • NEW: add FileBox control, supports open/save mode, filters, custom picture and placholders.
  • NEW: add Path property to DirBox and FileBox as a synonym for Value and show it in the IDE

Notes:

Always thought the IDE was missing a FileBox.class

It's essentially a copy of the DirBox.class

Added properties...

  • SaveFile , if set uses dialog.savefile not openfile.
  • Placeholder.
  • Filter, set filters using a single string (using doublequotes to encapsulate spaces)
  • Picture , Use alternative to the default icon:/small/file picture.
  • Path , Same as Value but it's visible in the IDE, also added to DirBox.

Happy Christmas :)

Respects

Bruce

Edited by Bruce Steers

Merge request reports