| || |
How to check a text box is focused
How to check a text box is focused or not?
In winrunner we use “edit_check_info(“Object”,enabled, 0 or 1)” statement, similar to is there any statement in Testpartner.
Re: How to check a text box is focused
A similar statement to check the focus property is like this:
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">If VBEditBox(sControlName).Focus Then
MsgBox ("Text box has got the focus"
MsgBox ("Text box has not got the focus"
</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">
[ 03-23-2006, 02:37 AM: Message edited by: Bobbo ]