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

337 commits

Author SHA1 Message Date
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
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
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
41ec821a75 Clipboard actions to trigger TextChanged event. 2016-12-19 22:27:05 -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
d9fc27385c New icon. Also:
- Default Editor font in Linux set to NotoMono (included).
2016-12-16 11:11:50 -02:00
FellippeHeitor
2053818e30 Embed editor images in code. Also:
- Set proper focus when Open and Z-Ordering panels are shown.
- Typing on the File Name textbox (open panel) searches for items in the File list.
2016-12-16 11:02:49 -02:00
FellippeHeitor
b9bebbee59 Overall: Replaces QB64's _PRINTSTRING with *uprint* aka falcon.h. Also:
- Adds padding (left/right) to labels.
- Adds multiline support for textboxes.
- Improves wordwrapping for labels - bypasses the function if the same text passed has already been processed for the same width and _font conditions.
- Restores internal textfield contextual menu.
- Textfield contextual menu limits options based on clipboard/selection status.
- Creates a new helpercanvas automatically upon creating a new picturebox control.
- New ReplaceText function which enables \n for adding items to a listbox at design time.

UiEditor.bas:
- Indicator on textbox shows if current input value has been accepted by the Preview renderer.
- Improves saving of nested controls.
- New "icon" property for the main form.

UiEditorPreview.bas:
- Loads the icon specified in the editor and shows it in real time (.ico files encoded as bmps and pngs accepted).
2016-11-02 01:03:46 -02:00
FellippeHeitor
4188be2a76 File loading/saving routines implemented. Also:
- New list box method: __UI_ReplaceListBoxItem.
- Menu items can have icons.
2016-10-22 10:09:59 -02:00
FellippeHeitor
e3a27a54ae UI.BAS split into InForm.ui and xp.uitheme. Also:
New UiEditor and UiEditorPreview.
2016-10-19 02:16:49 -02:00