1
1
Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2025-01-15 11:59:34 +00:00
Commit graph

636 commits

Author SHA1 Message Date
FellippeHeitor
ad5f7e4654 Prevents sending property if controls aren't focused (UiEditor). 2018-05-25 01:08:39 -03:00
FellippeHeitor
b275c501bc Improves keyboard support for Open Form dialog. 2018-05-25 01:00:22 -03:00
FellippeHeitor
99a791dd02 Calls SetRadioButtonValue only for the proper MenuItem controls. 2018-05-24 23:31:42 -03:00
FellippeHeitor
b0e3e5bb5c Prevents SetRadioButtonValue method from altering other types of controls. 2018-05-24 11:22:21 -03:00
FellippeHeitor
309cffb044 Hides bullet options when not applicable. 2018-05-23 11:12:31 -03:00
FellippeHeitor
8e5a07a8a4 Improves on the behavior of menu items with .BulletStyle = __UI_Bullet:
The existing SetRadioButtonValue method now also takes a __UI_Type_MenuItem control and will change the values of other Bullet-style menu items in the same manu panel accordingly.
2018-05-23 10:55:24 -03:00
FellippeHeitor
3cc23a2965 Adds new .BulletStyle property to UiEditor. 2018-05-22 23:53:48 -03:00
FellippeHeitor
600026a3c2 New property for menu items: .BulletStyle.
Values: __UI_Bullet or __UI_CheckMark.
2018-05-22 23:22:37 -03:00
FellippeHeitor
c2de19c791 Properly set menu items values at first run. 2018-05-22 22:57:19 -03:00
FellippeHeitor
34dbdf81a0 Rewords Font dialog message. 2018-05-22 01:29:43 -03:00
FellippeHeitor
a23524ebe1 Tweaks to Align menu icons. Adds icons to Preview contextual menu too. 2018-05-22 01:24:52 -03:00
FellippeHeitor
7e71d62fb7 Fixes bug that would leave the first 100 controls in the array empty. 2018-05-22 00:11:18 -03:00
FellippeHeitor
ca862b7301 New icon for Align menu->Align Centers Horizontally. 2018-05-21 11:14:24 -03:00
FellippeHeitor
1c99c83fa9 Improves Shift+Click to select multiple controls in a range:
- Works inside frames now;
- Shift+multiple clicks to change final target several times.
2018-05-21 00:29:42 -03:00
FellippeHeitor
3a591f0011 Makes Shift+Click select from a control to another (emulating a drag). 2018-05-20 23:34:17 -03:00
FellippeHeitor
30f5148142 Reassigns the key to select multiple controls from Shift to Ctrl. Also:
Allows desselecting a control while Ctrl is held.
2018-05-20 23:21:31 -03:00
FellippeHeitor
491aaf2b8b Bypasses the "Exit to QB64?" question when saving .frm only. 2018-05-20 22:36:46 -03:00
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