Home » Developer & Programmer » Forms » pls urgent cursor trnsfters from one item to another item
pls urgent cursor trnsfters from one item to another item [message #131587] Mon, 08 August 2005 08:08 Go to next message
jampana_anil
Messages: 8
Registered: August 2005
Junior Member
Hi,
In a block there are 4 text items,1 button.After entering valid values in the first 2 fields the cursor should move to button.Which trigger should i write?what is the code?To which textfield i should write trigger to move cursor to button.

t1 t2 t3 t4 Button

Re: pls urgent cursor trnsfters from one item to another item [message #131607 is a reply to message #131587] Mon, 08 August 2005 10:24 Go to previous messageGo to next message
saadatahmad
Messages: 452
Registered: March 2005
Location: Germany/Paderborn
Senior Member

Hi,
Create a control Block and place your Button on that block.
Your button must be the first item on your control block.
Write a trigger Key-Next-Item on you second text item.
Code:
GO_BLOCK('CONTROL');

You'r done.

Cheers

[Updated on: Mon, 08 August 2005 10:25]

Report message to a moderator

Re: pls urgent cursor trnsfters from one item to another item [message #131661 is a reply to message #131587] Mon, 08 August 2005 19:32 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Alternative to "saadatahmad's" answer.

If you want multiple buttons, put button on main block as item number 5, make it both keyboard and mouse navigable, and make the fields t3 and t4 NOT keyboard navigable. Forms will jump for you automatically.

David
Previous Topic: SELECT FROM MIDDLE OF A TABLE
Next Topic: Accessing Oracle from Mainframes
Goto Forum:
  


Current Time: Thu Sep 19 23:38:27 CDT 2024