Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
Instead of KEYBOARD can't you do oControl.Value = "asddasd" ?
>Hi!
>
>I'm trying to write a test function that looks like:
>
>FOR i=1 TO .ControlCount
> oCtrl=.Controls(i)
> IF lower(oCtrl.baseclass)="combobox" OR lower(oCtrl.baseclass)="textbox"
> oCtrl.SetFocus
> KEYBOARD 'asddasd'
> ENDIF
>ENDFOR
>
>However, the KEYBOARD function never puts anytthing in the field.
>The only way I can get it to work is setting the value/displayvalue but I prefer to simulate keystrokes instead. Anyone know what I can do to get this to work.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only