Tips for complete newbies
Newbee stuff! Leave some comments!
Original Author: MèTåmö®Þhî¢ Töölz
Code
Text Box - This control displays text that the user can edit. The TextBox control is a mini text editor, and its most important property is the Text property, which can set the text on the control or read the text that the user enters.
LABEL - This control displays text on a Form that the user can't edit. Lables commonly identify other controls and can be transparent, so the text appears to be placed directly on the Form. You set the label's text with then Caption property.
CHECK BOX - The checkbox presents one or more choices that the user can select. The CheckBox control's main property is Value, and it is o if the checkbox is clear, and 1 if the checkbox is checked.
OPTION BUTTON - Option buttons, or radio buttons, appear in groups, and the user can chose only one of them. The Option button's main property is checked, and it is True if the control is checked, and False otherwise.
List Box - This control contains a list from which the user can chose one or more. Unlike a group of checkboxes or option buttons, the ListBox control can contain many lines, and the user can scroll the list to locate an item. The selected item in a ListBox control is given by the Text property. Another important property of the ListBox control is the Sorted property, which determines whether the items in the list will be sorted or not.
Combo Box - The Combo Box control is similar to a list Box control, but in contains a text edit field. The user can either choose an item from the list or enter a new string in the edit field. The item selected from the list(or entered in the edit field) is given by the control's Text property.
Picture Box - The Picture Box control is used to display images, and images are set with the Picture Property.
Image Box - The image control is similar to the Picture Box control in that it can display images, but it supports only a few features of the Picture Box control and requires fewer resources.
Shape Control - The shape control is used to draw graphical elements, such as boxes and circles, on the surface of a form.
Line Control - Similar to the Shape control, the Line control is used to draw lines on a Form.
Drive ListBox - Displays the drives on the system in a drop-down list for which the usercan select.
Drive ListBox - Displays the drives on the system in a drop-down list for which the usercan select.
Directory ListBox - Displays a list of folders in the current drive and lets the user move up or down in the hierarchy of the folders.
File ListBox - Displays a list of all files in the current folder.
Timer - You can use the timer control to perform tasks at regular intervals. The main property of the Timer control is Interval, which determines how often the Timer notifies your application.
DATA - This control provides point-and-click access to data stored in databases. It has many properties and methods.
OLE - The OLE Container control is a window you can place on your Form to host documents from other applications, such as Microsoft Word and Microsoft Excel. Through this control, you can access the functionality of other programes, as long as they support OLE
Text1.Text = Text1.Text & Date
It will add date to textbox.
Text1.Text = Text1.Text & Time
It will add time to textbox.
Text1.Text = Text1.Text & "http://www.slackerzone.com"
Will add text to textbox.
Form2.Show
Will show form2.
List1.Additem (Text1)
Will add text1 to the list
List1.Additem ("http://www.slackerzone.com")
It will add http://www.slackerzone.com to the list.
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.