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

148 commits

Author SHA1 Message Date
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
Fellippe Heitor
3d5956f13d
Load images when importing .frm files
Addresses issue #5.
2018-02-21 13:51:37 -03:00
FellippeHeitor
9b140307fa Make Arial default in macOS, if available in the default location.
Updated binaries too.
2018-02-09 12:13:07 -02:00
FellippeHeitor
998e273325 Prevent TrackBar controls from going below .Min and beyond .Max. 2018-01-24 00:32:40 -02:00
FellippeHeitor
389da40004 Bump development version to Beta 6. 2018-01-23 23:03:46 -02:00
FellippeHeitor
106858f4a2 Improved support for ToggleSwitch control. 2018-01-23 23:02:07 -02:00
FellippeHeitor
4185cb9fb6 Labels to have their VAlign property set to __UI_Top at creation. 2018-01-13 19:10:57 -02:00
FellippeHeitor
d9adeb826a Beta 5.
- New: load .frm files for editing.
  Up until beta 4 only .frmbin files could be loaded back into the Editor after creation. With this update, you can import .frm files with your manual customizations and continue editing it with the WYSIWYG editor. Formatting rules are strict and even capitalization and spacing must be maintained as originally output by InForm (a=true is not the same as a = True, for instance and will be ignored).
2018-01-11 02:25:52 -02:00
Fellippe Heitor
5f09dc8219
Create LICENSE.md 2018-01-10 18:36:37 -02:00
FellippeHeitor
fee6be21ee Reorders font selection for UiEditor. 2018-01-09 20:17:01 -02:00
FellippeHeitor
a1231b4467 Updates Windows binaries. 2018-01-09 19:29:38 -02:00
FellippeHeitor
cb6dd5f30e Adds minor change before adding items to a list (removes chr$(13)). Also:
- Reenables error handler; end-users can have their own error handling routines but it should be reenabled with ON ERROR prior to every block that requires it, as InForm itself will enable its own with every internal loop.
2018-01-09 19:29:24 -02:00
FellippeHeitor
56caf2b4a1 Adds vbdos2inform - utility to convert .FRM files from VBDOS 1.00. 2017-12-26 15:55:19 -02:00
FellippeHeitor
74ef430673 Fixes some regressions from previous commit. Also:
- Add missing variable declarations.
- Rename __ExpandControlDrawOrder to match __UI_ standard
- Update binaries.
2017-11-08 12:31:41 -02:00
FellippeHeitor
f238f588a1
Delete InFormmod.ui 2017-11-08 11:50:01 -02:00
Oscar Garrett
11945ad33c Head ape patch 794 (#4)
Adds an array, ControlDrawOrder, synced with calls of _NewControl() but otherwise mirroring Control; also these methods __ExpandControlDrawOrder, GetControlDrawOrder&
2017-11-08 11:49:24 -02:00
FellippeHeitor
290f61dd3c Allows multiple alternative fonts to be specified as "font1?font2?...". 2017-11-03 09:36:33 -02:00
FellippeHeitor
96583790a8 Minor fixes and variable renaming. 2017-07-30 15:10:45 -03:00
FellippeHeitor
13c01c3045 New event: __UI_FormResized. Also:
- Fixed single-line tooltip width issues;
2017-07-02 23:06:12 -03:00
FellippeHeitor
5cd8f67ce9 Fix xp.uitheme's nondeclared variables. 2017-06-27 00:06:33 -03:00
FellippeHeitor
cab9f5b131 Initial development of ToggleSwitch control. 2017-06-08 11:45:45 -03:00
FellippeHeitor
7f065fb239 Show "Starting..." for projects with too many controls. 2017-06-05 02:55:37 -03:00
FellippeHeitor
fbebf10922 Minor data type fix. 2017-06-05 01:48:14 -03:00
FellippeHeitor
34bf8784da Fix tooltip width issue. 2017-06-05 01:45:02 -03:00
FellippeHeitor
741e1ac5bf Update source to indicate "Beta 3". 2017-05-05 22:16:54 -03:00
FellippeHeitor
3b5054ed1c Fix a bug that left newly created controls unnamed. Also:
- Fix a bug when creating a new control past the last REDIM of helper arrays.
2017-05-05 22:13:44 -03:00
FellippeHeitor
72482dfb75 Use Windows's mouse button swap setting. Also:
- Option to save only changes to .frm/.frmbin files, leavin the .bas alone (backup copies still get saved).
2017-05-01 21:02:56 -03:00
FellippeHeitor
7f837f14e2 Update Linux script (line endings). 2017-03-22 09:41:43 -03:00
FellippeHeitor
85c9f97383 New PictureBox methods: BeginDraw and EndDraw. Also:
- Events __UI_TextChanged and __UI_ValueChanged are now also triggered if changes are detected while the display routines are run.
- Minor fixes to ToolTip display routine.
- New TrackBar behavior allows for negative ranges.
- Exposes new __UI_MAP function (borrowed from p5.js).
- Experimental support for multiline textboxes (not yet accessible via the editor).
2017-03-21 22:53:46 -03:00
FellippeHeitor
5a666b0eaf Rewritten Tooltip detection routine.
Thanks to Ron-Burr for reporting.
2017-02-19 12:01:04 -03:00
FellippeHeitor
1376bfc50a Add 'snap to edges' when multiple controls are dragged together. Also:
- Fix dragging controls inside frames
- Change beta version to Beta 2
2017-01-30 20:58:05 -02:00
Fellippe Heitor
2939398180 Masked input implemented. 2017-01-13 09:53:11 -02:00
FellippeHeitor
122f243c6e Preliminary MaskedInput support. 2017-01-12 11:02:31 -02:00
FellippeHeitor
d97960c063 Fix a bug that would save CHR$(34) as a literal in captions. 2017-01-08 19:57:47 -02:00
FellippeHeitor
845afd92ac Fix a bug that crashed a program without focus-enabled controls + TAB. 2017-01-08 03:00:08 -02:00
FellippeHeitor
e94cda2a11 Fix "CopyOfCopyOf..." control naming issue when copying/pasting. Also:
- Bypass display of position/size panel when the selected control is a menubar/menuitem.
2017-01-08 01:44:53 -02:00
FellippeHeitor
109d822c6e TextBoxes can now have a max length set (.Max property). Also:
- Size and position indicators are now placed on top of other overlay graphics, as well as they are shown at the first selected control of a group or dynamically when other selected controls as hovered.

Fix:
- Forms were being created with Width = 0 and Length = 0 which was causing crashes.
- When loading a form from disk some errors were being triggered while trying to _PUTIMAGE invalid canvas handles.
- Freeing fonts when loading a form from disk was causing issues.
- PasswordMask was buggy with _FONT 8 and _FONT 16.
2017-01-07 18:57:45 -02:00
FellippeHeitor
e897752ab8 - "Snap to edges" makes it easy to align controls on the preview. Also:
- Choice of code page encoding from Edit menu (CP-437 default or Windows-1252).
(Conversion to Unicode courtesy of Luke Ceddia.)
- Added minimum error handler for internal methods.
- Show size and position indicator next to selected controls.
- Improved selection rectangle's algorithm.

Fixes:
- Fix display of shift+arrow key resize not updating immediately.
- Fix text selection in single-line textboxes (last character couldn't be selected)
- Fix to SetFont method.
- Fix to __UI_DestroyControl trying to free a font that's in use.
2017-01-06 16:55:12 -02:00