+ Reply to Thread
Results 1 to 3 of 3

Thread: Cursor position.

  1. #1
    Guest.Visitor Guest

    Default Cursor position.

    Hello, help me. on my display program, when I hit enter, my cursor alway go to first field on the screen. I want to cursor to stay. Is this possible? If it's possible, please show me a example either ile-program and dsplay file. my e-mail is ken_yagyu@steelcoils.com. Thanks.

  2. #2

    Default Cursor position.

    On Friday, April 09, 1999, 08:11 AM, kazuo wrote: Hello, help me. on my display program, when I hit enter, my cursor alway go to first field on the screen. I want to cursor to stay. Is this possible? If it's possible, please show me a example either ile-program and dsplay file. my e-mail is ken_yagyu@steelcoils.com. Thanks.
    Look at the DSPATR(PC) keyword in DDS. href="//www.zappie.net/java"> src="//www.zappie.net/java/_derived/index.htm_cmp_zero110_vbtn_p.gif" width="140" height="60" border="0" alt="Zappie's Java Home" align="middle">

  3. #3
    Guest.Visitor Guest

    Default Cursor position.

    Define a "CSRLOC" in your DDS record format and then, when in the RPG program, stuff the current cursor location into the row and column fields . That should hold the cursor in the same spot on the screen, no matter where the cursor was. Chris
    A CSRLOC(S1ROW S1COL) A S1ROW 3S 0H A S1COL 3S 0H 
    FDSPF001 CF E WORKSTN F INFDS(DSPINFDS) * display file information data structure D DSPINFDS DS * cursor row and column in binary D @CsrPos 370 371B 0 * get row and column that cursor is on after reading DSPF C @CsrPos Div 256 S1Row C Mvr S1Col

+ Reply to Thread

Similar Threads

  1. Cursor Position
    By Guest.Visitor in forum RPG
    Replies: 3
    Last Post: 03-15-2004, 09:52 AM
  2. Position Cursor seems to be overridden
    By toeknee in forum RPG
    Replies: 3
    Last Post: 03-19-2003, 12:41 AM
  3. Position Cursor Question
    By Guest.Visitor in forum RPG
    Replies: 1
    Last Post: 06-24-2002, 09:47 AM
  4. INFDS Row position of cursor..???
    By Guest.Visitor in forum Programming
    Replies: 8
    Last Post: 08-10-2000, 07:00 AM
  5. Cursor Position/Tab Control
    By Guest.Visitor in forum Programming
    Replies: 2
    Last Post: 11-11-1999, 12:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts