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

535 commits

Author SHA1 Message Date
FellippeHeitor
b9f23d6d58 #36: Masked input fixed to accept only numbers. 2018-04-22 18:34:43 -03:00
FellippeHeitor
7360027478 #30: Paste into textbox controls with Mask() set now works properly. 2018-04-22 18:22:25 -03:00
FellippeHeitor
4417639fe1 Preselects most common property when creating a new control. 2018-04-21 22:04:25 -03:00
FellippeHeitor
81ec00284b Auto size for labels gets extended to control height as well. 2018-04-21 20:33:03 -03:00
FellippeHeitor
a167efbf75 #24: Auto-size for labels.
Recently added label controls will resize automatically provided their height remains unedited and their wordwrap property remains false.
2018-04-21 20:21:00 -03:00
FellippeHeitor
697d4636ab Fixes regression introduced concerning the saving of Stretch property. 2018-04-21 19:56:01 -03:00
FellippeHeitor
511843e737 #32: Properly save menu items images. 2018-04-21 19:48:50 -03:00
FellippeHeitor
70f4ca8672 Remove call to _ICON after $EXEICON as that's redundant in newest QB64. 2018-04-21 19:43:36 -03:00
FellippeHeitor
c78f28f917 Set initial Align/VAlign properties to Center/Middle for PictureBoxes. 2018-04-21 19:38:47 -03:00
FellippeHeitor
6bbde9644b Keep PictureBox control in place when restoring dimensions. 2018-04-21 19:38:10 -03:00
FellippeHeitor
6af35abdcd Show "Hold ctrl to bypass snapping" only if currently snapped. 2018-04-21 19:37:52 -03:00
FellippeHeitor
5670095dea #31: Stretch property for picturebox controls now get properly saved. 2018-04-21 19:37:19 -03:00
FellippeHeitor
f550e85ffa #33: Max property for lists don't need to be saved.
They are automatically calculated at form load with every AddItem call.
2018-04-21 17:58:47 -03:00
FellippeHeitor
0b0436be45 Sets default fonts for internal editor preview menus. 2018-04-21 14:59:53 -03:00
FellippeHeitor
10adf6c84d Refined alignment of controls being resized by corner handles. 2018-04-21 03:46:40 -03:00
FellippeHeitor
4c40b47d86 'Resize around center' (with shift) implemented for corner handles. 2018-04-20 11:45:51 -03:00
FellippeHeitor
57c32d07ea Snap controls to middle and center of form. 2018-04-20 02:37:35 -03:00
FellippeHeitor
b59aee9a1b Snap to form. Addresses #25 2018-04-20 02:09:54 -03:00
FellippeHeitor
9525de101f Snap by proximity implemented. Addresses #25 partially.
Controls have a magnetic snap between them which will keep them separated by a preset amount of pixels if the user wishes to (Ctrl can be used to bypass snapping as usual).

Also:
- Resize handles now get out of the way while moving a control.
- vWATCH64 bypass directives added to the library so users can still debug their programs using vWATCH64 without having to go through InForm's code.
2018-04-18 10:59:14 -03:00
FellippeHeitor
f7ce568ded Converts CONSTs into FUNCTIONs, so they get colorized in QB64 1.2. Also:
- MessageBox method now accepts \n as a new line character.
- Variable rewording in xp.uitheme so it doesn't conflict with user variables.
2018-04-16 09:07:56 -03:00
FellippeHeitor
c1cd5667ca Remove binaries while beta 7 is in development. 2018-04-02 01:39:47 -03:00
FellippeHeitor
95f4331d95 #27: Allows .ICO files to be loaded into PictureBox controls. Also:
Moves IconPreview& from UiEditorPreview into InForm.ui, making the method available globally for the library.
2018-04-01 22:19:43 -03:00
Fellippe Heitor
420c5f0f21
Merge pull request #26 from FellippeHeitor/development
Beta 6
2018-03-26 11:23:28 -03:00
FellippeHeitor
b2906a5671 Adds beta 6 binaries. 2018-03-26 11:18:11 -03:00
FellippeHeitor
9f73c43c8a Remove debug code. 2018-03-26 11:16:50 -03:00
FellippeHeitor
ee6520f5ac #15: Allows setting multiple fonts from the editor.
Alternative fonts could already be set manually in the .frm file by specifying multiple possible font files separated by a question mark (as in "arial.ttf?cour.ttf?segoui.ttf**18"); Attempting to do the same in the editor failed before this commit.
2018-03-26 11:13:01 -03:00
FellippeHeitor
6de8e1e53a Fix color tracker giving non-integer values. 2018-03-23 23:10:34 -03:00
FellippeHeitor
e108d413ad Fix ENTER key becoming stuck while activating buttons. 2018-03-23 23:10:04 -03:00
FellippeHeitor
9d28432c61 Hide QB64's compilation window when compiling the preview component. 2018-03-23 21:51:33 -03:00
FellippeHeitor
4d7ba91d8e #22: Forms are saved to their original path when loaded from disk. 2018-03-23 21:51:14 -03:00
FellippeHeitor
6685ed5e14 Minor rewording in editor's form. 2018-03-23 21:49:47 -03:00
Fellippe Heitor
5045df5b0b
Update README.md 2018-03-23 12:47:41 -03:00
Fellippe Heitor
e53b937179
Update README.md 2018-03-23 12:43:26 -03:00
FellippeHeitor
831682ecae Picture buttons get a slight offset to the image's position at click. 2018-03-18 16:16:16 -03:00
FellippeHeitor
13c75a56c7 Reset IsCreating flag to allow form resizes to register. 2018-03-17 21:44:59 -03:00
FellippeHeitor
67a7768c50 New empty form settings. 2018-03-17 21:44:37 -03:00
FellippeHeitor
e8f960bc93 Sets default fonts for InForm's editor (cross-platform). 2018-03-17 21:43:50 -03:00
FellippeHeitor
ee4bef7db8 #21: Attempting to close the preview triggers File menu->New. 2018-03-17 21:41:48 -03:00
FellippeHeitor
3f570d0ada Adds png version of InForm's icon to InForm/resources 2018-03-17 21:40:52 -03:00
FellippeHeitor
f6f26625c0 Reworked save routine: only .bas and .frm files are now output. 2018-03-17 03:06:10 -03:00
FellippeHeitor
a174f67334 Improved detection of changes by form resizing. 2018-03-17 00:08:12 -03:00
FellippeHeitor
417ab5edf2 Remove binaries from development build. 2018-03-16 08:41:21 -03:00
FellippeHeitor
88ed144a66 #11: Unedited forms no longer triger the "save" prompt. 2018-03-15 13:49:15 -03:00
FellippeHeitor
3c37396428 Properly save/read __UI_DefaultButton to/from .frm and .frmbin files. 2018-03-12 11:16:21 -03:00
FellippeHeitor
d9f7e7e416 #12: New SetFrameRate method to increase the default 30FPS rate.
Intended usage is at __UI_BeforeInit event for applications that require higher framerates like applications that use PictureBox controls for drawing.
2018-03-12 10:03:02 -03:00
FellippeHeitor
54cf8e368c #10: Allows setting the default button in a form at design time.
Right-clicking a button now offers the option to "Set as default button".
2018-03-11 21:37:38 -03:00
FellippeHeitor
6433c9f689 Issue #7: Forms can be resized freely while in design mode. 2018-03-10 02:12:42 -03:00
FellippeHeitor
c638f1611f New "Restore image dimensions" option. Issue #6
Binaries updated.
2018-03-09 23:38:21 -03:00
FellippeHeitor
e97357c044 New Redraw property for controls to trigger individual redraws when =True 2018-03-09 23:37:04 -03:00
FellippeHeitor
8bc83f8c41 List of QB64 keywords updated. 2018-03-09 22:37:25 -03:00