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

419 commits

Author SHA1 Message Date
FellippeHeitor
4511a86235 Prevents control properties from contaminating other while selecting. 2018-05-20 13:57:47 -03:00
FellippeHeitor
a492d6fd7d Fixes loading of labels with .VAlign = __UI_Top. 2018-05-20 13:07:24 -03:00
FellippeHeitor
08a85021bb Saves .Stretch property even if False. Also:
- Adjusts some StatusBar captions;
- Prevents the Open dialog from attempting to load a file without name ("").
2018-05-20 13:03:24 -03:00
FellippeHeitor
48b53b4f28 Adds status bar messages for menu item hovers. 2018-05-20 12:29:20 -03:00
FellippeHeitor
5c9ecff2b8 Preserves existing code when overwriting .bas files. Closes #14. 2018-05-20 10:55:08 -03:00
FellippeHeitor
8addacb12a Allows entering a "." or a "-" in a .NumericOnly textbox properly.
Fixes #47
2018-05-20 08:41:37 -03:00
FellippeHeitor
4f2825f735 Show control type in Property frame's caption. 2018-05-17 01:13:26 -03:00
FellippeHeitor
dd8a073253 Minor visual glitch fix (NumericTextBox) and rewording (z-ordering). 2018-05-16 21:47:25 -03:00
FellippeHeitor
cf5f252c4b Resizes the z-ordering dialog. 2018-05-16 21:32:42 -03:00
FellippeHeitor
4d80507f00 Replaces all instances of _PRINTSTRING with __UI_PrintString (at last). 2018-05-16 11:19:37 -03:00
FellippeHeitor
c6e37ddddf Bypasses SetFocus method if the passed control already has focus. 2018-05-16 10:21:11 -03:00
FellippeHeitor
80cc69d1f7 Resizes the Open dialog (UiEditor). 2018-05-15 11:31:39 -03:00
FellippeHeitor
3c51f7716f Variable section reorganized (UiEditor). 2018-05-15 10:56:40 -03:00
FellippeHeitor
ab80f49f25 Resets UiEditorPreview icon when a new form is created. Fixes #46. 2018-05-14 22:32:34 -03:00
FellippeHeitor
69e00e298d Uses the loaded font for initial messages, if any. 2018-05-14 11:34:44 -03:00
FellippeHeitor
e556837149 Triggers __UI_ValueChanged for Lists and Toggle controls when...
...their .Value property is changed programatically too.
2018-05-14 11:13:10 -03:00
FellippeHeitor
20e8185a35 Allows DropdownLists to have .Value = 0. 2018-05-14 00:36:43 -03:00
FellippeHeitor
8bc607af44 Tweaks UiEditor handling of List/DropdownList controls. 2018-05-14 00:23:36 -03:00
FellippeHeitor
68a3014268 Changes paste routine behavior.
- When you paste controls without a selection, the pasted controls will be placed where they were originally located. If a control is selected, the newly pasted controls will be slightly offset when pasted.
2018-05-13 22:51:07 -03:00
FellippeHeitor
c713f3445e Minor tweak to Edit menu in UiEditor. 2018-05-13 22:07:28 -03:00
FellippeHeitor
b4d3af272a Tooltips had been misplaced. That's fixed with this commit. 2018-05-13 21:42:12 -03:00
FellippeHeitor
b755a52167 Improves "Set as default button" to allow "unsetting" it. 2018-05-13 21:33:05 -03:00
FellippeHeitor
2f3bb59b8d Resets TextBox template when Mask() changes are detected. 2018-05-13 20:08:57 -03:00
FellippeHeitor
465226c53b Resets mask() when the .Max property is passed. 2018-05-13 19:56:51 -03:00
FellippeHeitor
1833c42066 Resets .Max property for TextBoxes when a mask is applied. 2018-05-13 19:50:16 -03:00
FellippeHeitor
51fa4e5d4c Blinks status bar when warning to save edits. 2018-05-13 19:38:16 -03:00
FellippeHeitor
52878db031 Simplifies enabling/disabling EditMenuAllowMinMax (UiEditor). Also:
- Fixes a bug that wouldn't allow copy/paste of .Max property.
- Makes NumericTextBoxes respect .Min/.Max properties when .NumericOnly changes between True/__UI_NumericWithBounds.
- Sets .Min/.Max to -32768/32767 (INTEGER range) at creation.
2018-05-13 19:07:39 -03:00
FellippeHeitor
44d36711bd Simplifies passing OriginalImageHeight and OriginalImageWidth to Editor. 2018-05-13 13:36:08 -03:00
FellippeHeitor
99ac4041bb Tweaks SetFocus to avoid setting focus to a disabled control. 2018-05-13 12:34:15 -03:00
FellippeHeitor
d5fb247c84 Adds SetFocus method. Closes #44. 2018-05-13 11:08:52 -03:00
FellippeHeitor
03c79f610f Adds numeric text boxes to UiEditor 2018-05-12 02:33:22 -03:00
FellippeHeitor
67058fb102 Adds a few icons to Align menu items. More to come. 2018-05-11 11:09:15 -03:00
FellippeHeitor
f0899272fe Menu items can now have customized multi-state icons.
If a menu item has a HelperCanvas of 16px in height and 16, 32 or 48 pixels in width, InForm considers that these are for Normal, Hoevered and Disabled states and uses the sprites accordingly.
2018-05-11 11:08:50 -03:00
FellippeHeitor
74fc7e697c Fixes #42: restore Mask field property box and improves behavior. 2018-05-10 23:08:44 -03:00
FellippeHeitor
15793320a3 #41: Transfers Align routines from InForm.ui to UiEditorPreview.bas 2018-05-10 22:30:37 -03:00
FellippeHeitor
51a745ec79 Fixes #41: Align commands not being sent to the preview. 2018-05-10 21:58:01 -03:00
FellippeHeitor
241c01036c Fixes a few more issues regarding hotkeys. 2018-05-10 11:35:01 -03:00
FellippeHeitor
1a1cfe02f0 Fixes parsing of Captions for &hotkey markers. Also:
Allows \& to serve as an escape character for & to bypass hotkey scanning.
2018-05-10 11:11:14 -03:00
FellippeHeitor
a1eaae561d Improves clipboard handling for controls. 2018-05-10 02:13:10 -03:00
FellippeHeitor
32ad8e5abb Fixes an issue that would hang the preview at paste.
Colors needed CHR$(0) in their encoding and the back and forth from CHR$(0) to CHR$(250) was corrupting the copied data. That's solved now.
2018-05-10 00:22:51 -03:00
FellippeHeitor
8c302ebd6f Adds clipboard operations to UiEditor's Edit menu. 2018-05-09 11:14:52 -03:00
FellippeHeitor
5ccac21f9c Adds "Cut" to preview menu. 2018-05-08 11:34:23 -03:00
FellippeHeitor
115d67365a Reworked clipboard operations for controls in UiEditor.
The previous hacky approach has been completely scraped/reworked into true copy/paste of controls.
2018-05-08 11:24:24 -03:00
FellippeHeitor
f6a98ca9a8 Adds AutoSize for some controls when font size changes. 2018-05-07 11:21:01 -03:00
FellippeHeitor
325d7024ba Remove INT() for TrackBar values in UiEditor.
Trackbar controls only deal with whole numbers now after all.
2018-05-07 11:16:58 -03:00
FellippeHeitor
3969ff9638 Adds visual clues for MinInterval and adjusts those for Interval. Also:
- Makes TrackBar values/intervals always whole numbers.
2018-05-06 21:39:48 -03:00
FellippeHeitor
a2c4aae342 Adjusts the color of the status bar. 2018-05-06 17:28:12 -03:00
FellippeHeitor
3bbb7ce618 Tweaked font spacing for builtin fonts 8 and 16. 2018-05-06 12:24:40 -03:00
FellippeHeitor
c1a05509a9 Declutters font list for new forms while still trying to load them all. 2018-05-06 10:44:13 -03:00
FellippeHeitor
dcb2b1ac59 Adds a status bar to UiEditor. Also:
- Prevents user from leaving property fields with unsaved changes.
2018-05-06 02:36:23 -03:00