Vybe Main page
Forms & Controls
Vybe supports a variety of UI controls for building desktop-style applications. These controls are compatible with the VB6/VB.NET form model.
Supported Controls
| Control Type |
Description |
Default Prefix |
| Button |
Standard push button. |
btn |
| Label |
Displays static text. |
lbl |
| TextBox |
For user text input. |
txt |
| CheckBox |
Binary toggle option. |
chk |
| RadioButton |
Mutually exclusive option. |
opt |
| ComboBox |
Combined textbox and list. |
cbo |
| ListBox |
Displays a list of items. |
lst |
| Frame |
Grouping container for controls. |
fra |
| PictureBox |
Displays images. |
pic |
| RichTextBox |
Advanced text editor (supports HTML). |
rtf |
| WebBrowser |
Embedded web content viewer. |
web |
| TreeView |
Hierarchical data display. |
tvw |
| ListView |
Tabular or icon-based data display. |
lvw |
| DataGridView |
Data grid for editing tabular data. |
dgv |
| Panel |
Generic container for layout. |
pnl |
Common Properties
| Property |
Type |
Description |
| Name |
String |
The unique identifier for the control. |
| Caption |
String |
The text displayed on the control (e.g., Button, Label). |
| Text |
String |
The content text (e.g., TextBox, RichTextBox). |
| Enabled |
Boolean |
Whether the control responds to user input. |
| Visible |
Boolean |
Whether the control is shown on screen. |
| BackColor |
String |
The background color (hex or named). |
| ForeColor |
String |
The text/foreground color. |
| Font |
String |
Font descriptor (e.g., "Segoe UI, 12px"). |
| Left / Top |
Integer |
Position relative to parent. |
| Width / Height |
Integer |
Control dimensions. |
Control-Specific Properties
List & Selection (ComboBox, ListBox)
- List: Array of strings containing the display items.
- ListValues: Array of strings containing hidden values for items.
- ListIndex: Integer index of the currently selected item.
RichTextBox
- HTML: String containing HTML-formatted content.
- ReadOnly: Boolean to prevent user editing.
- ScrollBars: Control over scrollbar visibility.
Event System
| Event |
Parameters |
Description |
| Click |
(none) |
Fired when the control is clicked. |
| DblClick |
(none) |
Fired on double-click. |
| Change |
(none) |
Fired when text or value changes. |
| Load |
(none) |
Fired when a form is loaded (Form-only). |
| Unload |
(none) |
Fired when a form is closed (Form-only). |
| KeyPress |
KeyAscii As Integer |
Fired when a key is pressed. |
| KeyDown |
Code, Shift |
Fired when a key is pushed down. |
| MouseDown |
Button, Shift, X, Y |
Fired when mouse button is pressed. |
| MouseMove |
Button, Shift, X, Y |
Fired when mouse moves over control. |
| GotFocus |
(none) |
Fired when control becomes active. |
| LostFocus |
(none) |
Fired when control loses activity. |