Shortcuts & Preferences
Visual Editing:
Preferences System:
Since version 20.10, Gui4Cli has a "Preferences" system which, unlike the above method of pressing control-S to save the changes in the gui itself, will instead save the gui and event colors, sizes, shape and various other things to a separate file in the USER:Prefs folder. This will automatically be loaded when you load your gui, like a CSS file does in HTML documents.
- CTRL - E : Load and edit the active gui in the Default editor
(The default editor is SciEd (included). See here how to set Notepad++)
Visual Editing:
- CTRL - Right-Click on an event will select it and then you can move it around or:
- Press the space bar to toggle between MOVING the control or RESIZING it.
- RIGHT-click again to Cancel or LEFT-Click to set it down to it's new position.
- Press "P" to open the Preferences gui for that event to set colors, shape, etc
- Press "E" to open the editor at the selected control's position
- Press "C" to clone the control. Only the event declaration will be cloned, not it's attributes.
- Drag the control to another gui window and Left-Click to clone it into that window.
- CTRL - RESIZE Window, will resize the gui's window without resizing the controls in it
- CTRL - S : Will save the window and all the controls at their present size and position. This will change the Left Top Width and Height declarations in the gui itself.
Preferences System:
Since version 20.10, Gui4Cli has a "Preferences" system which, unlike the above method of pressing control-S to save the changes in the gui itself, will instead save the gui and event colors, sizes, shape and various other things to a separate file in the USER:Prefs folder. This will automatically be loaded when you load your gui, like a CSS file does in HTML documents.
- Select "Set Gui Preferences" from the system menu (the window's icon - see below) to open the Preferences gui for customizing the Gui's window.
- Select any control with CTRL-Right-click (like Visual Editing above), and then Press "P" to open the Preferences gui for the selected control. If it's a owner-drawn listview it will be a special gui, otherwise the normal one which is used for all types of controls. Not all the colors work for all events (work in progress).
- To save the gui and all the controls, click "Save preferences" from the gui's preferences window, or select it from the menus. All the sizes and settings for the window and all it's controls will be saved to a file in the USER:Prefs folder