Jump to content


Photo
- - - - -

Cursor Movement


6 replies to this topic

#1 snell

snell

    Member

  • Members
  • PipPip
  • 10 posts
  • Gender:Male

Posted 15 February 2006 - 07:28 PM

Hi,
help me in navigation thru paging scetion


fielda: ok:
--------------------------------------------------
field1 filed2 field3 fileld 4



user enter value in 'fielda' and after enter , cursor should go to data in field4. When F3 , it should
go to field 'OK'.

I am using attributes as


field1 DAO ---- first key field of file in paging scetion
field2 DAO ----- second key field of paging section
field3 DAO --- third key field of paging section
field4 AO - filed to be changed.



as of now , every time cursor first goes to field1, then upon right arrow it goes to filed4.
whenevr tab or enter is pressed , cursor should go to the next row of same column

What parametrs does attributes should have
Thanks,
Snell

#2 Steven Torrance

Steven Torrance

    Advanced

  • Members
  • PipPipPip
  • 52 posts
  • Gender:Male
  • Location:Edinburgh, United Kingdom

Posted 16 February 2006 - 08:53 AM

Hi snell

If you use @SPSEQ = 1 in the default logic of your paging screen the cursor will first go to field4 on your paging screen.

HTH

#3 snell

snell

    Member

  • Members
  • PipPip
  • 10 posts
  • Gender:Male

Posted 16 February 2006 - 11:19 AM

Steve, i will check this and get back .
Thanks,
Snell

#4 snell

snell

    Member

  • Members
  • PipPip
  • 10 posts
  • Gender:Male

Posted 16 February 2006 - 01:16 PM

Steve , it is working. Now when F3 is pressed, control should go back to field 'OK' from field4.
How this can be achiieved.
Thanks,
Snell

#5 Steven Torrance

Steven Torrance

    Advanced

  • Members
  • PipPipPip
  • 52 posts
  • Gender:Male
  • Location:Edinburgh, United Kingdom

Posted 16 February 2006 - 01:32 PM

Hi

I'm a Superlayer person and the way I'd do it in SL is to declare my fields as follows

fielda
\PS\
field1
field2
field3
field4
\PE\
ok

That should work in the way you suggest (although I think you may need to press F3 twice to get back to OK?)

In Native (I think - someone is sure to correct me if I have made a mistake!)
Declare your fields in the order
fielda
field1
field2
field3
field4
ok

LS01 has start fid# 01 and end fld# 06
LS02 has start fid# 02 and end fid# 05 (LS is declared as paging screen)

#6 snell

snell

    Member

  • Members
  • PipPip
  • 10 posts
  • Gender:Male

Posted 16 February 2006 - 03:19 PM

Yes steve, what u said is true. It seems i have to live with 2 F3's.

Thanks for your help.
Thanks,
Snell

#7 Guest_Guest_Mike_*

Guest_Guest_Mike_*
  • Guests

Posted 18 February 2006 - 12:23 PM

Hi,

On the Before Field Logic of field1 check for @FNKEY = 10 and perform an LSEXIT (or possibly EODEXIT()).

You may have to set @FNKEY = 0 in the paging LS's Default Logic.



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users