make the cursor at an item [message #575717] |
Fri, 25 January 2013 15:59 |
|
goldray
Messages: 108 Registered: December 2012
|
Senior Member |
|
|
Hi,
I have a button "clear" , I want when the button is clicked the items will be cleared and the cursor is at the first item, here is the code:
:emp.id:=null;
:emp.ename:=null;
:emp.sal:=null;
go_item('emp.id');
=>but the problem that the item changes color, but the cursor remains at the button "clear"
NOTE:
I used the "when-new-item-instance" trigger to change the color of text items
|
|
|
|
|
Re: make the cursor at an item [message #575853 is a reply to message #575717] |
Mon, 28 January 2013 08:40 |
joy_division
Messages: 4963 Registered: February 2005 Location: East Coast USA
|
Senior Member |
|
|
goldray wrote on Fri, 25 January 2013 16:59=>but the problem that the item changes color, but the cursor remains at the button "clear"
I used a block based, the button "clear" to block appatient "EMP", it is a form (not tabular) and the form contains 2 blocks.
I'm having a hard time following what you are saying, but what if you set the keyboard navigable and mouse navigable property to NO for the button?
[Updated on: Mon, 28 January 2013 08:41] Report message to a moderator
|
|
|