Page 1 of 1
VLF_How to change the position of the cursor
Posted: Mon May 08, 2017 7:49 pm
by sohashi
Hi
Please tell me about cursor movement of VLF.
Press the ENTER key on the filter with the cursor.
Is there a way to move the cursor automatically to the specified part of the command handler when pressed?
I appreciate your kind advice.
Best Regards,
Shumpei
Re: VLF_How to change the position of the cursor
Posted: Tue May 09, 2017 9:11 am
by MarkD
Are you developing a Windows or Web browser application?
Could you also elaborate a little on what happens when Enter is pressed in the filter and about how and when the associated command handler appears?
Re: VLF_How to change the position of the cursor
Posted: Tue May 09, 2017 11:31 am
by sohashi
Hi Mark
Search the character with the filter.
At that time press the enter key.
The details of the search results are displayed in the command handler.
There are multiple input fields.
I want the cursor to move to the top field.
Filter and command handler Are it possible to control the cursor for different areas?
Best Regards,
Shumpei
Re: VLF_How to change the position of the cursor
Posted: Tue May 09, 2017 11:58 am
by MarkD
Are you developing a Windows (VLF-WIN) or Web (VLF-ONE) browser application?
If you are doing Web browser .............
In your command handler's uExecute method, or in the method that displays the details, try using the SetFocus method on the field on the screen
eg: #ProductName.SetFocus
Re: VLF_How to change the position of the cursor
Posted: Wed May 10, 2017 6:01 pm
by sohashi
Hi Mark
Thank you.
I am sorry for a simple problem.
The problem was solved.
By the way is there a way to move the pointer the same way?
Best Regards,
Shumpei