ArrayList
Button
Calendar
CheckBox
ComboBox
Form
Image
ImageButton
ImageList
Label
ListBox
MenuItem
NumUpDown
OpenDialog
Panel
RadioBtn
SaveDialog
Table
TextBox
Timer
ArrayList Top
ArrayList are dynamic arrays which means there size increases as needed.
Accessing the values stored in the ArrayList is done using the Item property.
Use the Add method to add a new item at the end of the list.
Properties and Methods:
Add
Clear
Count
IndexOf
Insert
Item
Remove
RemoveAt
Reverse
Sort
Events:
None.
Button Top
A regular button control. (See ImageButton)
Properties and Methods:
BringToFront
Color
Dispose
Enabled
Focus
FontColor
FontSize
Height
Left
Name
Refresh
Text
Top
Visible
Width
Events:
Click
KeyPress
Calendar Top
This control allows the user to choose a date from an open calendar.
The date will be shown in the format specified by the Format property.
The date value is stored in the Value property and it stored as the number of ticks (see Time keywords for more information.)
Properties and Methods:
BringToFront
Color
DaysString
Dispose
Enabled
FirstDay
Focus
FontColor
FontSize
Format
Height
Left
Name
Refresh
Top
Value@Value-Calendar
Visible
Width
Events:
Close@Close-Calendar
DropDown
ValueChanged
CheckBox Top
CheckBox allows the user to choose from multiple options.
Unlike RadioBtn where only one can be checked, each CheckBox can be checked.
Properties and Methods:
BringToFront
Color
Checked
Dispose
Enabled
Focus
FontColor
FontSize
Height
Left
Name
Refresh
Text
Top
Visible
Width
Events:
Click
ComboBox Top
ComboBox holds lists in which a user can choose one of its items.
ComboBox does not support the Text property and the user cannot write anything inside a ComboBox.
Use the Visual Designer to add items (Properties - Data)
Properties and Methods:
Add
BringToFront
Clear
Color
Count
Dispose
Enabled
Focus
FontColor
FontSize
Height
Insert
Item
Left
Name
Refresh
Remove
RemoveAt
SelectedIndex
Top
Visible
Width
Events:
GotFocus@GotFocus Event
SelectionChanged@SelectedIndexChanged
LostFocus@LostFocus Event
Form Top
Forms are the "parents" of all controls.
The first form that is shown will be the main form.
Program ends when the user closes the main form (or using AppClose).
When closing non main forms the forms actually hide and can be visible again using Form.Show
Form is the only control you can draw on.
Properties and Methods:
CancelClose
Circle
Close
Color
Dispose
DrawImage
DrawString
Enabled
FCircle
FDrawImage
FDrawString
FErase
FGetPixel
FLine
Focus
ForeLayer
FPolygon
GetPixel
Height
Image
Line
LoadPicture
Name
Polygon
Refresh
Show
Text
Width
Events:
Close
KeyPress
MouseDown
MouseMove
MouseUp
Show
Image Top
Image control is used to show an image from a file.
Properties and Methods:
BringToFront
Color
Dispose
Enabled
Focus
Height
Image
Left
LoadPicture
Mode
Name
Refresh
Top
Visible
Width
Events:
Click
ImageButton Top
ImageButton control is a graphical button.
Using the Transparency property the ImageButton could show only an image or an image with background.
When the Transparent property is set to True the control Transparent color will be the color of pixel (0,0) of the image.
Properties and Methods:
BringToFront
Color
Dispose
Enabled
Focus
FontColor
FontSize
Height
Image
Left
Mode
Name
Refresh
Text
Top
Transparent
Visible
Width
Events:
Click
ImageList Top
ImageList is a dynamic array of images.
ImageList stores the images in memory and allows other controls to retrieve the images from memory.
Properties and Methods:
Add@ILAdd
Clear
Count
Height@ILHeight
Insert
Item@ILItem
Pixel
RemoveAt
Width@ILWidth
Event:
None.
Label Top
Labels are used to show a text that the user cannot change.
Properties and Methods:
BringToFront
Color
Dispose
Enabled
Focus
FontColor
FontSize
Height
Left
Name
Refresh
Text
Top
Visible
Width
Events:
None.
ListBox Top
ListBox is a list in which the user can choose one of its items.
You can use the Visual Designer to add items (Properties - Data).
Properties and Methods:
Add
BringToFront
Clear
Color
Count
Dispose
Enabled
Focus
FontColor
FontSize
Height
Insert
Item
Left
Name
Refresh
Remove
RemoveAt
SelectedIndex
Top
Visible
Width
Events:
GotFocus
SelectionChanged
LostFocus
MenuItem Top
MenuItems can be added with the Menu Editor.
The checked property cannot be assigned to main menu items or to menus with child menus.
The click event cannot be raised by menu items with child menus.
Properties and Methods:
Checked
Enabled
Text
Events are:
Click
NumUpDown Top
This control allows the user to enter a number in a specific range by writing with the keyboard, pushing the up and down arrows or using the hardware keys.
Value must be between the Minimum property and Maximum property.
Properties and Methods:
BringToFront
Color
Dispose
Enabled
Focus
Increment
Left
Maximum
Minimum
Name
Refresh
Top
Value
Visible
Width
Events:
ValueChanged
OpenDialog Top
The OpenDialog control allows the user to select a file to open.
The file location is restricted to My Documents or the storage card (operating system limit).
The dialog returns cCancel if the user pressed the cancel button.
Properties and Methods:
File
Filter@Filter-Dialog
Show@Show-Dialog
Events:
None.
Example: (Add an OpenDialog named OpenDialog1 first)
OpenDialog1.Filter = "Image Files|*.bmp;*.jpg"
If OpenDialog1.Show <> cCancel Then
Form1.Image = OpenDialog1.File
End If
This example lets the user choose the image for the form's background.
Panel Top
Panels are used to group other controls.
To add controls to the panel, choose the panel and then add new control.
You can change the parent of a control with the Designer - Menu - Tools - Change Parent.
Properties FontColor, FontSize and Text do not change the Panel appearance.
Properties and Methods:
BringToFront
Color
Dispose
Enabled
Focus
FontColor
FontSize
Height
Left
Name
Refresh
Text
Top
Visible
Width
Events:
MouseDown
MouseMove
MouseUp
RadioBtn Top
RadioBtn allows the user to choose one of many options (unlike CheckBox).
You can group RadioBtns together by putting them in the same Panel.
Properties and Methods:
BringToFront
Color
Checked
Dispose
Enabled
Focus
FontColor
FontSize
Height
Left
Name
Refresh
Text
Top
Visible
Width
Events:
Click
SaveDialog Top
The SaveDialog control allows the user to choose a directory and a file name.
The file location is restricted to My Documents or the storage card (operating system limit).
The dialog returns cCancel if the user pressed the cancel button.
Properties and Methods:
File
Filter@Filter-Dialog
Show@Show-Dialog
Events:
None.
Table Top
Table control has two functions.
It stores a set of records (rows) and allows accessing the data, manipulating the data and saving and loading the data.
Table control is also a grid control and allows showing data in a grid.
You can use the Table control with Visible set to false as a data reference or use it also to show the data.
See Database for more information.
Properties and Methods:
AddCol
AddRow
BringToFront
CaseSensitive
Cell
Clear@ClearTable
ColCount
ColName
ColNumber
Color
ColWidth
Dispose
Enabled
Filter
Focus
FontColor
FontSize
HeaderColor
HeaderFontColor
HeaderVisible
Height
Left
LinesColor
LoadCSV
LoadXML
Name
Refresh
RemoveCol
RemoveRow
RowCount
SaveCSV
SaveXML
SelectCell
SelectedCol
SelectedRow
TableSort
Top
Visible
Width
Events:
SelectionChanged
TextBox Top
TextBox is used mostly to receive user input.
TextBox control can be single line or multiline.
MultiLine text is entered in the Visual Designer at the bottom of the properties screen (MultiLine Text field).
Properties and Methods:
BringToFront
Color
Dispose
Enabled
Focus
FontColor
FontSize
Height
IgnoreKey
Left
MultiLine
Name
Refresh
ScrollToCaret
SelectionStart
SelectionLength
Text
Top
Visible
Width
Events:
GotFocus
KeyPress
LostFocus
Timer Top
Timers are used to generate events every measured time.
When a Timer is created its Enabled property is set to false.
To start the Timer, set its Enabled property to true.
Properties and Methods:
Enabled
Interval
Events:
Tick