|
-
Apr 27th, 2001, 01:34 PM
#1
Get caption of a button
How can I get a caption of a button?
i.e.
msgbox WebBrowser1.Document.Forms(6).submit.value
Thanks in advance!
-
Apr 29th, 2001, 10:59 AM
#2
Lively Member
I don't know exactly what you want, but to display the caption of a command button in a message box, type:
MsgBox Command1.Caption
This is assuming that the button is called Command1
Martin
(UK)
-
Apr 29th, 2001, 11:20 AM
#3
I know that!
I mean in a webbrowser!
I.E. msgbox WebBrowser1.Document.Forms(6).submit.caption ?
-
Apr 29th, 2001, 12:46 PM
#4
Frenzied Member
The caption of any button is it's value so access the value property not caption.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Apr 29th, 2001, 01:10 PM
#5
Thanks, I succeded that one on my own (oh, I'm so proud!).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|