- More modern-looking selection rectangle.
- Improved horizontal/vertical distribution of controls.
- New ResetList method.
- Vertical alignment for labels.
- Beginning of Undo/Redo procedures.
- Hotkey indicators reviewed.
- Add an Open "dialog" to the editor: a hidden frame with file browsing capabilities to load a form. Code taken from ide_methods.bas (QB64)
- Add a New option to File menu.
- Remove custom icon from the preview so that QB64's default icon is shown unless an icon file is specified.
- Detect if a control name matches QB64's keywords (not allowed).
- Make control IDs more user friendly by encapsulating them in an easily recognizable variable.
- Trigger __UI_TextChanged with backspace and delete as well.
- Indicate in the title bar that a form was edited (*).
- Only show confirmation at exit if form was edited.
- If the preview app is launched by the user, a new messagebox informs that the main app must be launched.
- $SCREENHIDE until the form is defined.
- Set _ICON even if no icon was set, so that at least the QB64 is brought in.
- Minimizing the editor will also minimize the preview (Windows only).
- Fix position of menu separators.
- Make hotkeys always visible in Design Mode.
- Add a call to __UI_MakeHardwareImage for frames (fixes a bug that wouldn't show resize handles for frames or its contained controls).
- Show "Add new" in the menu bar and in menu panels if in Design Mode.
- New Align menu, for when the preview window is too small to display the contextual menu.
- The Align menu is automatically opened when the user right clicks the Preview Window, if it's too small.
- Less calls to __UI_GetID inside event procedures.
- A message box now asks user if the current form should be saved upon exiting.
- Display the project's name in the Title bar.
- Display the container's font if a control with the same font is selected.
- Properly enable/disable options when menu bar/menu items are selected.
- First property shown is now Caption, as the new AutoNameControl feature will automatically rename based on captions.
- New event: __UI_TextChanged (for textboxes).
- Color Mixer textboxes are now editable (they were editable before but they didn't trigger a change in the sliders' values).
- $RESIZE is saved within the .frm file, if CanResize is enabled.
- Padding is now properly saved for controls that have it set.
- Communicate to the preview app that a context menu doesn't fit the current window.
- Receive from the preview app Align commands.
- Add option to Align centers, vertically and horizontally, to Design Mode.
- Bypass screen redraw if Window is minimized.
- Properly recalculate menu bar's height.
- Properly recalculate tooltip's height.
- Properly recalculate menu panel's height.
- Properly align text inside controls.
- Allow hotkeys to invoke contextual menu items in Design Mode.
- Fix centering of controls inside frames.
- Restore and keep aspect ratio of picture boxes when resizing by the corners.
- Bypass contained controls when selecting with drag-to-select.
- Auto-set Stretch property for new PictureBox controls.
- Accept "new menu bar" and "new menu item" commands.
- Automatically adapt menu bar when form colors are changed.
- Automatically adapt menu bar when form font is changed.
- Fix font height for _FONT 8 and _FONT 16.
- Control names can now have only up to 40 characters to prepare for "Control.Property" syntax.
- Default font set to SegoeUI (editor and preview).
- Improved design mode context menu (Distribute Vertically/Horizontally).
- When designated .TTF font can't be found, new default is _FONT 8.
- Improved ControlName search to avoid duplicated names (__UI_NewControl).
- Trim controls' captions if CHR$(0) is found.
- Segoe UI is now used as default font for new forms.
- Fix: preview window now properly reloads if inadvertenly closed.
- Internal contextual menus are not saved any longer.
- Design mode now has a contextual menu for alignment and clipboard operations.
- Fix: Menu bar items can't be invoked by hovering if a context menu is active.
- Selection rectangle for Design Mode.
- New Event: __UI_BeforeInit
- Fix: Crash after last control is deleted in Design Mode - limits the use of hardware images.
- Single line textboxes can now use non-fixedwidth fonts.
- ESC unselects all controls (design mode)
- Pasting the same control over and over positions the new instance in a different spot.
- New controls are created after all controls in the array; empty slots will occur, but it fixes incorrect creation of new controls.
- New listbox method: __UI_GetListBoxItem$
- Fix: selecting a listbox item by typing its name now properly triggers __UI_ValueChanged event.
- 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).
- Fix the bug the didn't allow controls placed in frames to be selectable when they had been created before the frame.
- Add "\#" automatically to ProgressBar's caption, so Show Percentage will work.
- Allow preview to be detached from the editor window.
- Checked items in menus.
- Show message while compiling the Preview component.
- New controls are placed inside the selected frame.
- Fixed selecting text when textbox is inside a frame.
- Fix detection of Preview window and the relaunch routine.
- Make frames always be redrawn in DesignMode.
- Context menu for textboxes will be embeded automatically, though the user may replace it with a custom control.
- Fix MessageBox incorrectly mixing title and message.
- MessageBox uses main form's title if no title is provided.
- New event __UI_ValueChanged.
- Focus outline (dotted line around control) is only shown if keyboard input is received.
- Adds NotoMono-Regular.ttf (licensed under the SIL Open Font License)
- Fix save routine to properly save the .Stretch property of controls.
- Fine adjustments to ProgressBar drawing.
- Find adjustments to ListBox/Scrollbar drawing.
Create a new button and it'll be automatically named Button1. Also:
- All existing controls are properly destroyed when loading a saved form.
- Fix hovering to select that stopped working for dropdown lists.
- List or Dropdown list controls have their __UI_Caption set based on the selected item, if any.
- Fix focus outline (dotted line indicator) when _FONT 16 is used.
- Adds a microdelay before showing a MessageBox so the interface can be properly redrawn.
- Fixes __UI_NewControl so that no control can be created without a name or type indication.
- Destroy menu panels before activating menu items, so that the event will be fired only after menu is closed.
- Fix save form routine so that no temporary menu panels are saved.
Can be used to display a picture on a form. Also:
- Theme images can now be embeded in the code, removing the need for external image files (check the icon that shows when the image assigned to the picture box cannot be found).
- Menu items now respond properly to hotkeys.
- Improved menu hover behavior.
- More parameters can be passed to __UI_NewControl (Top, Left)