Professional Documents
Culture Documents
End sub
Ú uouse Double click event ::
r double click event is triggered when user double clicks
mouse button!
rFor example, if we what an event to be triggered when
double clicked a textbox,
End sub
Ú uouse Down Event ::
rThis event is triggered when user presses any mouse button
and remains in the pressed state, i.e. button is not released!
Why so??
r For any object !
that
object can not be dragged anywhere!
r When its automatic, dragging and dropping is allowed!
Ú _eyboard events occurs when input is
giventhrough keyboard.
5) Form unload ::
r Unloading or closing of form removes the form from
memory , but the code of that for remains as it is!
r When user closes the form or uses unload stetment, this
event is triggered.
1) Change ::
r This event is associated with textbox, Label and combo
box.
r This event occurs when user writes some text in the
control.
2) Got Focus ::
r This event is triggered when the object is selected.
r For example , text box is selected either by cliking it or
using text box.
r When an object is selected, we can say it G T F CUS«
3) L ST F CUS ::
r This event is triggered when the control is deselcted.
r For example, once we had selected a command button, so
it G T F CUS, now we selected a text box, fo command
button L ST F CUS and text box G T F CUS!
1) Textbox ::
r Name :
r Back color
r Enabled
r Font
r Forecolor {its color of text in textbox }
r Index { sets index for control array! }
r Locked { determines whether value of text box can be
edited or not ? True / false}
r uax length { it specifies max number of characters that
can be accpeted in text box }
r uultiline { true/ false}
Cont «
rPasswordchar { preferably special char - * $ @ # should be
used }
rTabIndex {sets tab order .}
rTabstop {true means text box will be selected using tab
space, FALSE means tab space cant be used for slecting
text box }
rText
rTooltiptext {whatever we write in it will be diplayed when at
run time mouse is paused at text box .}
risible { true/false }
2) Label ::
r Caption {display text on label }
r As discussed with textbox, nothing new..
3) Command button ::
r Cancel :: { true/false.. When true it can be selected using
ESC key }
r Default :: {true/ false . When true it can be selected using
ENTER key }
r Rest all same as text box properties «
4) Frames ::
r All properties same as text boc, no new property.
5) Checkbox ::
r alue :: { 0 ± unchecked, 1- checked , 2 ± grayed }
r All rest same as text box properties «
6) ption Button ::
r Style { 0 ± standard window style, 1- graphical with costum
picture or color. }
r alue { true or false }
r All rest same as text box properties «
*) Shape ::
r It is used for placing different shapes on the form«
r Shape property decides which shape will be placed«
0- Rectangle
1- Square
2- val
3- circle
4- rounded rectangle
5- Rounded square
r Draw mode specifies how object will be drawn ::
{ it has values ranging from 1 to 13 , where 13- copypen gives
continuous line and 6- invert gives dashed line and so on
«}
Ë) LINE ::
r It draws a line on the screen ..
r Draw mode :: as per shape property
r X1 ± starting X co-ordinate
r Y1- starting Y co-ordinate
r X2 ± ending X co-ordinate
r Y2 ± ending Y- Co- rdinate
ù) Image ::
r Its used to display an image on form ..
G D DAY !!