VLF_How to change the position of the cursor

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
sohashi
Posts: 24
Joined: Thu Dec 01, 2016 1:21 pm

VLF_How to change the position of the cursor

Post 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
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: VLF_How to change the position of the cursor

Post 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?
sohashi
Posts: 24
Joined: Thu Dec 01, 2016 1:21 pm

Re: VLF_How to change the position of the cursor

Post 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
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: VLF_How to change the position of the cursor

Post 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
sohashi
Posts: 24
Joined: Thu Dec 01, 2016 1:21 pm

Re: VLF_How to change the position of the cursor

Post 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
Post Reply