1
1
Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2025-01-15 03:49:56 +00:00
Commit graph

625 commits

Author SHA1 Message Date
FellippeHeitor
869f5ab2ac Properly sets ItemHeight for list items. Fixes #89 2018-11-05 22:46:27 -03:00
FellippeHeitor
7d06b54c91 Prevents autonaming a control when loading an image failes (UiEditor). 2018-11-05 14:23:47 -03:00
FellippeHeitor
797d2146fe Improves upon scrollbar speed when holding the mouse button down. 2018-10-25 10:06:14 -03:00
FellippeHeitor
542e4db396 Prevents showing empty frame (GIF extension) 2018-10-19 12:16:50 -03:00
FellippeHeitor
6d65d13e98 Plays autoplaying gifs at load. 2018-10-19 11:52:10 -03:00
FellippeHeitor
db39b44e76 Fixes GIF extension playing too fast. 2018-10-19 11:45:48 -03:00
FellippeHeitor
28dc279c17 Automates adding Gif extension via the Editor; Closes #88 2018-10-19 03:03:15 -03:00
FellippeHeitor
f35fabcdfe Updates GIF extension:
- Better looking GIF overlay;
- New TotalFrames(ID) function to return the number of frames of animation;
- Improved sample.
2018-10-15 00:45:59 -02:00
FellippeHeitor
6481afe133 Properly saves/loads controls with Key Combos assigned. 2018-10-14 22:09:56 -02:00
FellippeHeitor
634c132512 Adapts KeyCombo routine to interact with certain types of controls. 2018-10-14 21:13:28 -02:00
FellippeHeitor
0b6f6d76de Makes it possible to assign a key combo via UiEditor and +
+ also saves the new KeyCombo property to .frm files.
+ several internal improvements to handling of KeyCombos.
+ improvements to menu system in DesignMode.
2018-10-12 02:19:01 -03:00
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