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

646 commits

Author SHA1 Message Date
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
FellippeHeitor
3a986ef376 New __UI_KeepFocus property:
When set to True in a __UI_FocusOut event, prevents the current control from losing focus.
2018-05-06 02:35:29 -03:00
FellippeHeitor
3a8c514ec5 Fixes bug that prevented a .NumericOnly textbox from having a "-" added when its contents were selected. 2018-05-06 01:48:03 -03:00
FellippeHeitor
76cb1fecb4 Fixes tooltips in UiEditor. 2018-05-06 01:32:46 -03:00
FellippeHeitor
189e813aa0 Simplifies font loading.
- It's no longer necessary to specify font parameters.
- Font file and size are now separated with a comma in the editor.
2018-05-06 00:54:43 -03:00
FellippeHeitor
6a508f7f61 Rewording of Align menu items for single/multiple control selection. 2018-05-06 00:16:38 -03:00
FellippeHeitor
d4f5218716 Auto-size for labels tweaked (taller box). 2018-05-05 23:47:37 -03:00
FellippeHeitor
041636dfcf Adds click-to-copy functionality for color values (color preview). 2018-05-05 23:13:45 -03:00
FellippeHeitor
26ebc1b480 Make borders thicker for RGB text boxes. 2018-05-05 23:13:29 -03:00
FellippeHeitor
3a0ab9cd7e Show HEX values in color preview box. 2018-05-05 22:49:49 -03:00
FellippeHeitor
82c156900c Improved color preview. Fixes #17. 2018-05-05 22:31:41 -03:00
FellippeHeitor
55ebaafc16 Extends __UI_ValueChanged event to more control types. Also:
- Adds basic description of some events' functionality to exported code.
2018-05-05 20:45:38 -03:00
FellippeHeitor
54d4cff0f4 Remove code to handle Alt+F4 in Windows as QB64 does that itself now. 2018-05-05 19:27:16 -03:00
FellippeHeitor
88be63ff01 Fixes behavior of ESC key for property editing (restore previous valid). 2018-05-05 19:12:08 -03:00
FellippeHeitor
b57af610c1 Make active input box more visible with a thicker border. Also:
- Fixes some controls' z-ordering.
2018-05-05 17:20:33 -03:00
FellippeHeitor
e25bdb9f78 New indicator of accepted/rejected property values.
An input box will be colored green when the value sent is accepted by the preview or red when the value is rejected.
2018-05-05 16:21:05 -03:00
FellippeHeitor
0aacdfb6b8 Set ToggleSwitch value to true if anything non-zero is passed. 2018-05-05 15:04:47 -03:00
FellippeHeitor
f111c885c4 Refined behavior of Open dialog. Fixes #38. 2018-05-05 01:55:19 -03:00
FellippeHeitor
d6665d39b3 #37: Fixes icons not being shown in the preview at load. 2018-05-05 01:12:09 -03:00
FellippeHeitor
fffb9c34f6 Adds .MinInterval to editor for TrackBar controls. Fixes #39. 2018-05-05 00:53:37 -03:00
FellippeHeitor
17b98f8f6d Allows up/down arrow keys to increase/decrease RGB values (UiEditor). 2018-05-04 00:13:22 -03:00
FellippeHeitor
fa586cbdbd New .MinInterval property for TrackBar controls. Also:
- Improved keyboard interaction with TrackBar controls (arrow keys+ctrl for .MinInterval, just arrow keys for .Interval increments).
- Improved copy/paste of text from/to textbox controls.
2018-05-04 00:12:56 -03:00
FellippeHeitor
f20c5df708 ENTER to confirm ESC to cancel property edits. Minor overall tweks. 2018-05-03 11:07:17 -03:00
FellippeHeitor
7ceedacef1 Improved exchange of PictureBox original image dimensions. 2018-05-03 11:06:06 -03:00