vb6 What is Me.Caption
Hi, starting out in vb and working through some exercises and am confronted with a line of code
OldCaption = Me.Caption
The question is what is Me."xxxxxxxxx" and what applications can it be used for.
Many thanks in advance...Andy
--------------------------------------------------------------------------------------------------------------------------------
What is Me?
Me is the form itself. It is just a shorthand of using the form name. So Me.Caption and Formname.Caption is the same.
OldCaption = Me.Caption
Above code simply saves the caption of the form to a variable named OldCaption.
hongjun
'Knowledge > Visual Basic 6+' 카테고리의 다른 글
[VB6] Replace Function - Visual Basic 6.0 (0) | 2018.04.02 |
---|---|
Visual Basic 문법 (0) | 2018.03.27 |
For...Next Statement (Visual Basic) (0) | 2018.03.13 |
Sub 프로시저와 Function 프로시저 (0) | 2018.03.13 |
[Visual Basic] VB 단축키 Application/Visual Basic (0) | 2018.03.12 |