Input for Search Box With Grid

More advanced topics discussed.

Moderators: Susan Smith, admin, Gabriel

Post Reply
Larry TIetz

Input for Search Box With Grid

Post by Larry TIetz »

I have a search box associated with a grid that works just fine. Every time a press a key the grid changes to get closer to the "target"

I have an alternate method for entering data. The user can press (mouse click) a hot button. The program reads the button key, and assigns the appropriate character and prints it in the search box. The search grid does nothing. Printing a character in the search box apparently not quite the same as pressing a key.

What is the print fields format that is equivalent to pressing a key, or is there some other sequence that will be the equivalent.

I hope that is somewhat clear.
gtisdale
Posts: 218
Joined: Sun Jun 07, 2009 7:54 am
Location: Concord, Massachusetts
Contact:

Post by gtisdale »

Instead of PRINTing the character to the searchbox try RINPUT FIELDS to the searchbox with a WAIT of 0 or .01 and a TIMEOUT that continues to the next line. This should have the same affect as entering the letter and contiuing. (I have not tried this so let me know if it works)

An alternative would be to use the MSG function to "stuff the keyboard" and have the computer do a virtual key press.

George
Larry TIetz

Post by Larry TIetz »

MSG worked ok, just a bit of a reaction time.

RINPUT no wait wasn't any different from what had been happening.
Post Reply