Page 56 - Open Soource Technologies 304.indd
P. 56
Event Driven Programming
3 I-Beam vbIbeam
4 Icon vbIconPointer
5 Size vbSizePointer
6 Size NE SW vbSizeNESW
7 Size NS vbSizeNS
8 Size NW SE vbSizeNWSE
9 Size W E vbSizeWE
10 Up Arrow vbUpArrow
11 Hourglass vbHourglass
12 No Drop vbNoDrop
13 Arrow and hourglass vbArrowHourglass
14 Arrow and Question vbArrowQuestion
15 Size All vbSizeAll
99 Custom vbCustom
Picture
Sets the picture, which is displayed in the background of the Command Button. If the picture is
smaller than the Command Button, it will appear in the centre and the Command Button’s
caption will appear underneath. The Style property needs to be set to 1 - Graphical for this
property to work.
Style
This needs to be set to 1 - Graphical if you want to use the graphical properties of the Command
Button (apart from Fonts).
TabIndex
Sets the order in which the controls will get focus when the tab key is pressed. The control that
has 0 as its TabIndex will have focus when the Form is loaded.
TabStop
If you set this to False, the Command Button will not get focus when the tab key is pressed.
Tag
This property can be set to a string if you need to store any extra information related to the
Command Button.
ToolTipText
When this property is set, the text will popup over the Command Button when the user hovers
the mouse pointer over it. This can be useful if you cannot fit all the text you need to in the Caption.
50 LOVELY PROFESSIONAL UNIVERSITY