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

619 commits

Author SHA1 Message Date
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
FellippeHeitor
b1740261d6 Renames BorderThickness as BorderSize. 2018-08-27 19:58:33 -03:00
FellippeHeitor
1a36eabc7c Adds .BorderThickness, ranging 1-10; Also:
- Fixes color preview not being dynamically updated.
2018-08-27 01:39:20 -03:00
FellippeHeitor
300006982d Sets .PreviousValue = .Value when user manipulates controls. 2018-08-26 23:23:33 -03:00
FellippeHeitor
cb5c6cda57 Properly loads PictureBox controls with Stretch = True/False. 2018-08-26 03:01:38 -03:00
FellippeHeitor
8e05b84297 Labels with .AutoSize = True now consider border and padding. 2018-08-26 03:01:19 -03:00
FellippeHeitor
4f13370533 Only saves .Stretch if True. 2018-08-26 02:38:01 -03:00
FellippeHeitor
2fd0099b44 Adds warning when attempting to resize a label with .AutoSize = True. 2018-08-26 02:30:56 -03:00
FellippeHeitor
529e979b36 New label controls to be created without AutoSize set. 2018-08-26 01:58:37 -03:00
FellippeHeitor
fa61300e10 Properly sets ProgressBar captions at creation time.
Using \# in the caption has InForm insert the actual percentage. This commit makes it easier for a user to notice that.
2018-08-24 01:53:44 -03:00
FellippeHeitor
7fd7c771c4 Properly shows Max or Max length according to selection. Closes #72. 2018-08-24 01:40:44 -03:00
FellippeHeitor
daa01a608a Adds .AutoSize property to labels;
Closes #61
2018-08-23 01:46:09 -03:00
FellippeHeitor
4bbc088c5f Prevents sending properties when values change programmatically. 2018-08-23 00:24:18 -03:00
FellippeHeitor
6cfd2193db Extends "LOCKCONTROLS" functionality to all properties. 2018-08-23 00:11:27 -03:00
FellippeHeitor
10b3e99821 Implements message "LOCKCONTROLS"
When the user starts editing a property in UiEditor, a list of the currently selected controls is built so that the property can be applied to the same controls later; allows for:
   "click control, change property, click another control"
2018-08-22 17:21:30 -03:00
FellippeHeitor
cc86ebda32 Centralizes the detection of control type in the preview component.
Sending .ControlIsSelected was adding too many undesired UndoPointers.
2018-08-22 00:59:16 -03:00
FellippeHeitor
634c8eaab4 Improves editing by not requiring ENTER to confirm changes. 2018-08-19 12:06:27 -03:00
FellippeHeitor
f847c3b5a7 Prevents hidden controls from acquiring focus. 2018-08-19 12:05:37 -03:00
FellippeHeitor
160e1ba407 PasteListBT is now properly positioned and working.
Fixes #65
2018-08-18 21:45:58 -03:00
FellippeHeitor
8bbbed6353 Adds "Convert Type" to UiEditor's Edit menu. 2018-08-18 21:16:47 -03:00
FellippeHeitor
02817799b1 Extended control type management.
Allows design-time swapping between common controls like CheckBox x ToggleSwitch or ListBox x DropdownList.

Closes #66
2018-08-18 20:12:15 -03:00
FellippeHeitor
5894e20312 Properly displays snap lines for controls in frames. Fixes #62 2018-08-17 01:12:36 -03:00
FellippeHeitor
eb209852aa Reverts regression introduced with 9c16df4339
Form controls must be "deletable" for UiEditorPreview to work properly.
2018-06-26 01:52:00 -03:00
FellippeHeitor
c62cc8b3cd Fixes bug that wouldn't allow pasting of controls reliably. 2018-06-26 01:32:36 -03:00
FellippeHeitor
8d1b9374da Fixes #69. 2018-06-26 00:25:47 -03:00
FellippeHeitor
83f826f8da Fixes #68. 2018-06-25 23:11:27 -03:00
FellippeHeitor
9c16df4339 Prevents __UI_DestroyControl from destroying the __UI_Type_Form control. 2018-06-25 22:36:50 -03:00
FellippeHeitor
861fce234b Allows copying more than one frame and their contents. 2018-06-25 00:23:43 -03:00
FellippeHeitor
d1b96a6af2 Improves copy/paste of Frames and their children controls. 2018-06-24 23:51:18 -03:00
FellippeHeitor
c21ccaad0e Fixes infinite loop condition in recent commit. 2018-06-24 22:40:09 -03:00
FellippeHeitor
5ddeaf6c59 Properly stores and retrieves special characters from .frm; Closes #67.
Special characters are now saved using escape codes which are interpreted at load time. Instead of storing CHR$(10), we store \10; inside the string being saved and so forth for every character below ASC(32), for CHR(34) and for ASC("\").
2018-06-24 22:26:56 -03:00
FellippeHeitor
5a396f0143 Improves copying of frames and makes Cut operations work on them too. 2018-06-22 12:37:37 -03:00
FellippeHeitor
67f652ca77 Copy whole contents of frame with it at Ctrl+C. Closes #63. 2018-06-22 12:07:01 -03:00
FellippeHeitor
8eaef714a9 New PasteList button: detects if a list is in memory for ListBox controls. 2018-06-17 23:53:40 -03:00
FellippeHeitor
20dfe998f0 Properly display the Editor's icon after _SCREENSHOW is called. 2018-06-17 16:44:06 -03:00
FellippeHeitor
969fc5ac15 Automatically fills the .Value property of NumericTextBox controls. 2018-06-17 16:43:48 -03:00
FellippeHeitor
df5a8e0010 Properly resets listbox controls when ResetList method is used. 2018-06-17 01:47:11 -03:00
FellippeHeitor
a9e6626ca7 Implements single-instance mode for the editor.
Launching the binary while another instance is already open will instruct the existing instance to open a new file or simply to come forward (in Windows).
2018-06-17 00:39:44 -03:00
FellippeHeitor
52de6bae6d Enhances "Align vertically" to consider the menu bar height, if any.
Closes #58
2018-06-16 19:54:47 -03:00
FellippeHeitor
6821e5c429 Adds routine for sending data from a single place,...
... for easy tracking of bytes sent.
2018-06-14 11:06:40 -03:00
FellippeHeitor
ab637c8d5d Prevents Editor from losing focus immediately after sending data. 2018-06-14 11:05:10 -03:00
FellippeHeitor
127ddaf94f Properly resets canvas for controls other than PictureBox. Closes #57 2018-06-14 10:41:23 -03:00
FellippeHeitor
38919c59e3 Fixes not being able to shift+resize.
Regression had been introduced with 3a591f0011
2018-06-13 11:30:22 -03:00
FellippeHeitor
b753dff066 Removes CONST lines that are no longer required. Also:
Removes deprecated Undo File format doc.
2018-06-12 23:46:04 -03:00
FellippeHeitor
db04859087 Tweaks Editor and Preview to interact more like a single app.
Menus close in one if another menu is opened in the other, for instance. Also: controls in the editor properly lose focus when preview is manipulated.
2018-06-12 23:40:33 -03:00
Fellippe Heitor
0dd47761ed
Disables auto-updates if it takes too long at startup. 2018-06-12 14:19:28 -03:00