diff --git a/Button.md b/Button.md index 09ba86f..e3dfa4d 100644 --- a/Button.md +++ b/Button.md @@ -1,7 +1,7 @@ Buttons can be clicked to trigger actions.
- +
### [[Events]] diff --git a/Checkbox.md b/Checkbox.md index 8badf87..8e189e1 100644 --- a/Checkbox.md +++ b/Checkbox.md @@ -1,7 +1,7 @@ Checkboxes allow users to choose settings that are binary in nature (true/false, yes/no, enabled/disabled).
- +
The user is presented with a box that is either empty or checked followed by a label indicating the setting that is being edited. diff --git a/Color-properties.md b/Color-properties.md index e3744e3..cdefd2b 100644 --- a/Color-properties.md +++ b/Color-properties.md @@ -1,7 +1,7 @@ The color properties hold _UNSIGNED LONG values representing the _RGB32 color that will be used to print a control's [[caption]] or [[text]]. You can also pass color values using hexadecimal values (using the prefix &H) directly.
- +
## Foreground and background diff --git a/Disabled.md b/Disabled.md index 9ad27cf..c83eebd 100644 --- a/Disabled.md +++ b/Disabled.md @@ -1,5 +1,5 @@ The Disabled property indicates whether a control can be manipulated by the user.
- +
\ No newline at end of file diff --git a/Font.md b/Font.md index 6b47fe4..b7a87bd 100644 --- a/Font.md +++ b/Font.md @@ -20,7 +20,7 @@ Examples: To specify a font at design time, select it from the list or specify the font file and separate the desired size with a comma. To type a font file name that's not on the list, right click the "Font" label and untick "Show system fonts list":
- +
Use a question mark (?) to specify multiple fonts. This is useful when you wish to specify replacement fonts in case the desired font isn't found or can't be loaded. diff --git a/Frame.md b/Frame.md index edd9739..4461b13 100644 --- a/Frame.md +++ b/Frame.md @@ -1,7 +1,7 @@ A Frame control serves as a container for other controls. At design time, drag controls into a frame and they will be automatically grouped.
- +
### [[Events]] diff --git a/Home.md b/Home.md index a736a99..8fe5fce 100644 --- a/Home.md +++ b/Home.md @@ -1,5 +1,5 @@
- + # Welcome to **InForm**'s wiki!
@@ -13,14 +13,14 @@ This wiki is a work in progress. InForm Designer's interface consists of a toolbox with all the controls you can add to your form, a list properties that are dynamically updated according to the currently selected control and a color mixer, which you use to send color data to the preview. The preview is loaded side-by-side with the editor and allows you to see in real time how your form is going to look after compiled.
- +
# Controls The following controls are available as of Beta 8. Click their names below to read more about each one:
- +
* [[Button]] diff --git a/Label.md b/Label.md index 339c6a3..0268443 100644 --- a/Label.md +++ b/Label.md @@ -1,7 +1,7 @@ Labels are used to display information to the user.
- +
At design time, labels are automatically resized when you change their captions or fonts. If you set the WordWrap property to [[True|Constants]], you can enter multiple lines by adding a line break with the escape code **\n** in the Editor. At runtime you use CHR$(10) as a line break character (or even with **\n** if you use the [[SetCaption]] method). diff --git a/List.md b/List.md index 0a692f3..d1f668b 100644 --- a/List.md +++ b/List.md @@ -1,7 +1,7 @@ **Lists** present the user with selectable items. **Dropdown-lists** do the same but when they don't have focus, they only show the selected item, so that you have to click the down arrow button to see the rest of the list.
- +
You add items using the AddItem method. At design time you do so by changing the List Items property. To add multiple items, separate them using a new line escape sequence (\n). diff --git a/Menus.md b/Menus.md index a14f9a3..b25b5e0 100644 --- a/Menus.md +++ b/Menus.md @@ -1,7 +1,7 @@ MenuBar and MenuItem controls provide an easy way to add a menu system to your program.
- +
To add a new MenuBar item, either go to Insert menu and choose "Menu Bar" or right-click your form and choose "Add menu bar control". After the menu bar has been created, you can continue adding new items directly on the preview, by clicking the empty space next to the last menu bar item. @@ -18,7 +18,7 @@ Menus fonts and colors are based on the main form, so they will change according * Menu items can be grouped and have bullets (like RadioButton controls). Set the MarkerStyle to Bullet (from CheckMark) and set the value to true. ** If a menu item contains an image icon, it'll not be shown when the item is "checked", so these are mutually exclusive properties.
- +
* The last menu item can be aligned to the right on the menu bar. Just select it and choose "Right" in the "Text align" drop-down list. diff --git a/NumericTextbox.md b/NumericTextbox.md index 8eaacfa..4c1cfc9 100644 --- a/NumericTextbox.md +++ b/NumericTextbox.md @@ -1,7 +1,7 @@ NumericTextBox controls are used to receive input from the user, but it's limited to numbers only.
- +
There are two modes to NumericTextBox controls, with or without bounds. At design time, you right-click a NumericTextBox control and choose "Allow min/max bounds" and specify the minimum and maximum values allowed, and InForm takes care of validating user input. At design time, a NumericTextBox control is created without bounds set, but when you enable bound checking, limits will be preset to INTEGER limits (-32768 to 32767). diff --git a/Picture-box.md b/Picture-box.md index a709005..9ae4a5d 100644 --- a/Picture-box.md +++ b/Picture-box.md @@ -1,7 +1,7 @@ A PictureBox control can be used to display a static image file on a form. Alternatively, you can use a PictureBox control as a drawing surface.
- +
A PictureBox control will mantain a loaded image's aspect ratio if resized by the corner handles. diff --git a/PictureBox-Drawing.md b/PictureBox-Drawing.md index eb97d6c..1120d55 100644 --- a/PictureBox-Drawing.md +++ b/PictureBox-Drawing.md @@ -10,7 +10,7 @@ A good place to add code that updates a PictureBox's software drawing is the [[B Code showcasing the technique: -* **Fireworks** http://www.qb64.org/inform/demo/Fireworks2Inform.zip +* **Fireworks** http://inform.qb64.org/demo/Fireworks2Inform.zip #### See also: [[Picture box]] \ No newline at end of file diff --git a/Progress-bar.md b/Progress-bar.md index b35d792..0b88ffe 100644 --- a/Progress-bar.md +++ b/Progress-bar.md @@ -1,7 +1,7 @@ A ProgressBar control presents the user with a visual indication of the progress of an on-going task. Set its [[Min]] and [[Max]] properties and then update its [[Value]] property at runtime.
- +
If you set its ShowPercentage property to True, you can have the control's Caption property show in the bar's area. You embed the actual percentage by using the placeholder **\\#**. diff --git a/Radio-button.md b/Radio-button.md index 1f513bb..f5475ca 100644 --- a/Radio-button.md +++ b/Radio-button.md @@ -1,7 +1,7 @@ Radio buttons allow users to choose an option in a group.
- +
The user is presented with a circle that is either empty or checked followed by a label indicating the setting that is being edited. diff --git a/Textbox.md b/Textbox.md index f019dce..39f193c 100644 --- a/Textbox.md +++ b/Textbox.md @@ -1,7 +1,7 @@ TextBox controls are used to receive text input from the user.
- +
With the [[PasswordField]] property you can hide the text typed by the user using Unicode character ● (UTF-8 e2978f). diff --git a/Toggle-switch.md b/Toggle-switch.md index 37cb5c2..a32e767 100644 --- a/Toggle-switch.md +++ b/Toggle-switch.md @@ -1,7 +1,7 @@ A Toggle switch control is ideal for settings that have an immediate effect or result.
- +
Read a Toggle switch control's current state with the .Value property (returns [[True|Constants#Boolean]] or [[False|Constants#Boolean]]): diff --git a/Tool-tip.md b/Tool-tip.md index 94ae997..08d7a87 100644 --- a/Tool-tip.md +++ b/Tool-tip.md @@ -1,5 +1,5 @@
- +
Tool tips are shown when the user hovers a control for longer than the preset time span and are used to give brief explanations of controls' assignments. They are accessible via an array of variable width STRINGs, using the control's ID: diff --git a/Track-bar.md b/Track-bar.md index bd5cf7b..aa11dbd 100644 --- a/Track-bar.md +++ b/Track-bar.md @@ -1,7 +1,7 @@ A TrackBar control presents the user with a draggable slider used to set a value between the preset [[Min]] and [[Max]] values. Returns the Value property.
- +
By setting the Interval property, you determine the number of ticks that will be displayed along the track. If you want an intermediate set of ticks, use the MinInterval property.