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

381 commits

Author SHA1 Message Date
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
FellippeHeitor
76841b8c32 PictureBox now takes Align and VAlign property. 2016-12-30 20:02:44 -02:00
FellippeHeitor
53ac940ba9 Fix an issue when loading external image files with relative paths. 2016-12-30 13:33:37 -02:00
FellippeHeitor
e13468676c Update affected binary. 2016-12-28 12:53:28 -02:00
FellippeHeitor
4f9b902aa0 Fix a bug in the launch of the preview component for Windows systems. 2016-12-28 12:51:36 -02:00
FellippeHeitor
e1c1ba703f Update binaries. 2016-12-27 11:45:06 -02:00
FellippeHeitor
6232e3938b Properly set the Editor's font in macOS/Linux. Also:
- Make "Keep attached" setting unavailable if not in Windows.
2016-12-27 01:57:13 -02:00
FellippeHeitor
09a0fda4a1 Restructure: Keep data files inside InForm subfolder. Also:
Unclutter QB64's main folder, keeping only falcon.h and UiEditor.exe.

- Move UiEditorPreview binary to InForm subfolder as well.
- Minor bug fixes to Open dialog (UiEditor).
2016-12-27 01:40:22 -02:00
FellippeHeitor
dc95038bd7 Shift+Resize will resize around the center (top, left, right and bottom). 2016-12-24 00:38:06 -02:00
FellippeHeitor
c7516a78f6 Fix align centers horizontally/vertically. 2016-12-23 22:03:29 -02:00
FellippeHeitor
c2f6073b62 Keyboard edits (including copy/paste) also save an undo image now. 2016-12-23 12:53:53 -02:00
FellippeHeitor
bd497e730e Create an InForm.ini file with Editor settings. 2016-12-23 12:39:04 -02:00
FellippeHeitor
118d720f94 Fix an issue related to the icon property (forms).
An invalid icon file was allowed but the property couldn't be cleared. That's fixed now.
2016-12-23 11:58:44 -02:00
FellippeHeitor
2d87a35d72 Backup existing files at save time. 2016-12-22 17:54:16 -02:00
FellippeHeitor
dafa3e8e10 SetCaption now takes an ID instead of a control name. 2016-12-22 09:46:51 -02:00
FellippeHeitor
3312afde74 Add Windows binaries to the distribution. 2016-12-22 00:00:15 -02:00
FellippeHeitor
47780c0789 TextBox's PasswordField property is now accessible. Also:
- Switch the Back Style property from a listbox to a checkbox.
- Fix incorrect saving of Text property for text fields.
2016-12-20 21:21:08 -02:00
FellippeHeitor
366c6f6ee5 Properly set values for CheckBoxes, Radio Buttons and Menu Items. 2016-12-20 20:16:33 -02:00