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

412 commits

Author SHA1 Message Date
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
FellippeHeitor
2ac3bf1e3b Fix minor undo bug.
Pictureboxes were being restored with HasBorder active even when this property was not set.
2016-12-20 19:37:55 -02:00
FellippeHeitor
8599933440 Ctrl+left/right arrow keys to jump to word beginnings. 2016-12-20 18:58:05 -02:00
FellippeHeitor
54644fd8c0 Double-clicking the text on textboxes will select words, not characters. 2016-12-20 15:32:38 -02:00
FellippeHeitor
71032ce487 Restore "auto reopen preview window" behavior that was lost. Also:
- Make detection of edits to Property textbox (editor) more accurate.
2016-12-20 05:08:55 -02:00
FellippeHeitor
50a82c7958 Make the cursor blink again in textboxes. Also:
- Adjust PropertyValue control's width to show ok/no/wait indicators.
2016-12-20 02:31:59 -02:00
FellippeHeitor
820723e979 Fix the code for selecting text in a single-line textbox with the mouse. 2016-12-20 00:32:20 -02:00
FellippeHeitor
6db4a4be0e Merge branch 'master' of https://github.com/FellippeHeitor/UI 2016-12-19 22:29:12 -02:00
FellippeHeitor
41ec821a75 Clipboard actions to trigger TextChanged event. 2016-12-19 22:27:05 -02:00
FellippeHeitor
583c26bc00 Update README.md
Add link to the wiki page.
2016-12-19 12:38:51 -02:00
FellippeHeitor
61fb770d16 Add setup scripts for macOS and Linux 2016-12-18 17:19:38 -02:00
FellippeHeitor
fc28ae9ca2 Create README.md 2016-12-18 13:37:50 -02:00
FellippeHeitor
e548322aaf Restructure. 2016-12-18 10:01:34 -02:00
FellippeHeitor
a43283f897 Restructure. 2016-12-18 04:24:47 -02:00
FellippeHeitor
04a8009583 Restructure. 2016-12-18 04:19:46 -02:00
FellippeHeitor
abd7cf1ded Restructure. 2016-12-17 22:05:37 -02:00
FellippeHeitor
5340cf063c Restructure. 2016-12-17 21:46:33 -02:00
FellippeHeitor
ed85fde107 Begin restructure of files for distribution. 2016-12-17 21:44:49 -02:00
FellippeHeitor
4554f7cc07 New buttons come with a temporary caption filled. Also:
Buttons without caption remain that way (previously the drawing enging automatically printed the control's name).
2016-12-17 18:19:06 -02:00
FellippeHeitor
7c3e3fc779 Set theme jekyll-theme-minimal 2016-12-17 18:07:31 -02:00