Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keyboard command
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00881620
Message ID:
00882052
Views:
40
Ok, wait window is waiting. Then consider another example:

Let us suppose I have a multiselect listbox on the form and I want to select all and then make a topindex, say to 15:
with thisform.List1
			.setfocus
			.Selected(1) = .t.
			KEYBOARD '{SHIFT+END}{SHIFT+HOME}'

			.TopItemid=15
....
Whether it is not obvious that .TopItemid=15 should go AFTER all items are selected with the keyboard? But it is not, it goes first! (Yes, I know there is another way to select all; it is here just to play with the keyboard command).
So how to force here the .TopItemid=15 go after keyboard command?

>
>Hi, Yuri.
>
>When WAIT WINDOW command is executed VFP looks for keyboard input or Mouse event to end the command. There're already "hello" in the keyboard buffer. VFP reads "h" and ends WAIT WINDOW command.

>>Perhaps I do not understand it. As in VFP Help for the keyboard comamdn
>>
>>"The characters remain in the buffer until Visual FoxPro looks for keyboard input.". So when does VFP look for input?
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform