FellippeHeitor
795394b748
Prevents a control from being clicked via key combo if disabled/hidden.
2018-10-11 01:48:08 -03:00
FellippeHeitor
38f414c91d
Fixes glitch preventing the preview component from being compiled.
2018-10-11 01:38:26 -03:00
FellippeHeitor
11c7ac4d39
Adds key combos to UiEditor's menus. +
...
- Tweaks key combo handling overall.
2018-10-11 01:26:14 -03:00
FellippeHeitor
8d4d0e0573
Adds key combos to controls.
...
Key combos can be associated with controls using the RegisterKeyCombo method;
Key combos take precedence over other keyboard events.
When associated with MenuItem controls, the combo is displayed in front of the menu item when the menu panel is activated.
2018-10-11 01:02:27 -03:00
FellippeHeitor
32f5ae9a66
Improves loading from a different folder. +
...
- Double-clicking a file in the Save dialog allows overwriting it.
- Overwrite warning now indicates which files will be overwritten (instead of generic previous "Some files will be overwritten" message).
2018-10-10 10:39:51 -03:00
FellippeHeitor
dac51eee45
Repurposes "Open" dialog to double as a "Save as..." dialog too.
2018-10-10 02:16:28 -03:00
FellippeHeitor
784e7bcfd9
Bypasses saving .Caption for controls that don't support the property.
2018-09-17 00:45:32 -03:00
FellippeHeitor
8343784d31
Allows activating a submenu by using a hotkey.
2018-09-17 00:26:53 -03:00
FellippeHeitor
d7a2d3e8fc
Visually indicates that a control has an attached ContextMenu.
...
A ContextMenu handle will be colored differently when selected or when a control (or group of controls) attached to it is selected.
2018-09-16 22:35:15 -03:00
FellippeHeitor
5ac4c9f5ec
Implements list of recently open projects into the Editor.
2018-09-16 21:41:01 -03:00
FellippeHeitor
b7e9c61b7c
Improved deletion of selected controls when they have children.
2018-09-16 19:10:23 -03:00
FellippeHeitor
2f78b98398
Fine tweaks to sub-menus and improved adding/editing of sub-menus.
2018-09-16 17:37:29 -03:00
FellippeHeitor
2f2e21caf7
Begins adapting Editor/Preview to new Menu system.
2018-09-12 12:17:30 -03:00
FellippeHeitor
ca50978da5
Allows Left arrow key to close a sub menu of a context menu.
2018-09-12 11:41:21 -03:00
FellippeHeitor
4e08c4e2a8
Refines keyboard control for new MenuItems with SubMenus. Closes #16 .
2018-09-12 11:37:00 -03:00
FellippeHeitor
8b211ecb14
Closes all menus when focusing a new menu bar item. +
...
+ Allows clicking a menu bar item when a context menu is open.
2018-09-12 10:41:58 -03:00
FellippeHeitor
c3e280b05c
Implements sub-menus. Fully controllable by mouse. +
...
+ Reduces memory usage by using SINGLE precision variables for TIMER control instead of DOUBLE.
2018-09-12 02:43:53 -03:00
FellippeHeitor
5ce5ac43c5
Allows Escape codes to work more reliably.
2018-09-06 10:56:19 -03:00
FellippeHeitor
228518d902
Properly checks if ID > 0 instead of just IF ID.
2018-09-06 01:37:35 -03:00
FellippeHeitor
a79a7e1d94
Adjust internal dialogs to new form size. Closes #87 .
2018-09-06 00:35:59 -03:00
FellippeHeitor
045eca9583
Attempts to detect more state changes for controls. Closes #83 .
2018-09-06 00:09:47 -03:00
FellippeHeitor
4ac822d2c8
Adds InForm method/function names to forbidden list. Closes #85 .
2018-09-05 23:47:35 -03:00
FellippeHeitor
9671aec7fe
Shows message when an invalid value is returned.
2018-09-05 23:14:07 -03:00
FellippeHeitor
c4f91eaab5
Fixes FUNCTION AdaptName$(). Closes #86 .
2018-09-05 23:13:41 -03:00
FellippeHeitor
e83bd67965
Adjusts ListBox height to give items more vertical spacing.
2018-09-04 11:23:00 -03:00
FellippeHeitor
6c4f729ef7
Fixes ContextMenu not being properly saved when assigned to the form.
2018-09-04 01:33:08 -03:00
FellippeHeitor
ddd062df54
Fixes conversion from MenuBar to ContextMenu and vice versa.
2018-09-04 01:09:14 -03:00
FellippeHeitor
ec2184f2c5
Allows TrackBar controls to have ticks hidden. Closes #79 .
2018-09-02 20:01:00 -03:00
FellippeHeitor
79fe5df319
Enforces "no frame inside frame". Fixes #81 .
2018-09-02 18:15:41 -03:00
FellippeHeitor
0dd62d7a7e
Always shows ContextMenu dropdown list.
2018-09-01 02:19:38 -03:00
FellippeHeitor
d6febe8339
Allows detaching a ContextMenu from a control by selecting "(none)".
2018-09-01 02:15:00 -03:00
FellippeHeitor
703c12f2e8
New global variable: __UI_ContextMenuSourceID
...
__UI_ContextMenuSourceID holds the ID of the control associated to a ContextMenu control that triggered the most recent MenuItem click.
2018-09-01 02:04:27 -03:00
FellippeHeitor
be65b6e3d8
Allows assigning a ContextMenu control to another control in the Editor. +
...
Properly loads/saves the ContextMenuID.
2018-09-01 01:23:51 -03:00
FellippeHeitor
b0d6c47e5d
New SelectItem function for List/DropdownList controls.
...
Syntax:
Found%% = SelectItem(ControlID, "Item")
Can be used to select an item by contents instead of by index. If the list contains multiple identical items, the first is selected.
Adjusts the .Value property if the item is found and returns True.
If item is not found, returns False.
2018-09-01 01:22:29 -03:00
Fellippe Heitor
a88417e7f8
Adds new View menu item and increases form height.
2018-08-31 17:31:46 -03:00
Fellippe Heitor
b843ccbc81
Prevents clicking on invisible controls.
2018-08-31 16:18:32 -03:00
Fellippe Heitor
7130323eaf
Accepts command SHOWINVISIBLECONTROLS from editor.
2018-08-31 16:01:03 -03:00
Fellippe Heitor
be6722fa43
Adds toggle for invisible controls (View menu). +
...
+ saves the new setting to InForm.ini
2018-08-31 15:59:41 -03:00
Fellippe Heitor
3ad1975015
Adds toggle __UI_ShowInvisibleControls
2018-08-31 15:56:44 -03:00
Fellippe Heitor
21cb237d8e
Repositions ContextMenu panels at design time
2018-08-31 14:13:05 -03:00
FellippeHeitor
03d5d2e70a
Detects __UI_DidClick as soon as a mouse button is first pressed.
2018-08-31 12:12:58 -03:00
FellippeHeitor
3e34be42cb
Allows adding/saving forms with ContextMenu controls.
...
Can't yet assign context menus to controls in the editor; manual editing is still required in the final project.
2018-08-31 03:41:45 -03:00
FellippeHeitor
10be1e9152
Fixes incorrect detection of hovering after a click.
2018-08-31 03:40:24 -03:00
FellippeHeitor
fc96993395
Allows ToolTips to have soft breaks with \n
2018-08-31 03:39:44 -03:00
FellippeHeitor
2f4b98e266
Begins the foundation for adding ContextMenu controls more easily.
2018-08-30 12:12:08 -03:00
FellippeHeitor
a242dd2c13
Allows TextBox to be converted to NumericTextBox at design time. Also:
...
- Makes NumericWithBounds the default type for NumericTextBox;
- Renames "Allow .Min/.Max bounds" to "Validate .Min/.Max bounds";
- Considers .BorderSize to adjust TextBox.Height when font changes.
2018-08-28 03:29:53 -03:00
FellippeHeitor
6075c87976
Adds .BorderSize to all controls that can have .HasBorder = True.
...
Closes #71 .
2018-08-28 01:27:21 -03:00
FellippeHeitor
233ebaa4cc
Adds .RestrictResize property to control types. Closes #77
2018-08-27 23:26:55 -03:00
FellippeHeitor
f7f2ea4286
Tweaks AdjustCursor routine to consider BorderSize property.
2018-08-27 22:15:06 -03:00
FellippeHeitor
7cd15f2cfc
Prevents changes to BorderSize property for Frames. Also:
...
Validates .BorderSize before drawing it.
2018-08-27 21:55:46 -03:00