Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 12 JAN 1998 02:50:31PM Jeff Blinn wrote:

In a situation where we have an edit table displaying multivalued fields (a group), and a user does some entry in the table which causes the group to scroll down vertically - what is the easiest way to cause the edit table to redisplay in its original position (with row 1 displaying at the top) when the focus is lost from the object?

Currently, when this occurs (the user tabs to another field) the edit table display doesn't change - if they scrolled down to the x row, it stays that way.

Thanks,

Jeff


At 12 JAN 1998 03:48PM Greg wrote:

You should look at the "SELPOS" property in the programmer's ref., or the "ACCESSPOS" property. These properties should do what you need. Also, if you want the cell to have focus, you should allow row selection on the edit table.


At 12 JAN 1998 06:42PM Cameron Revelation wrote:

Jeff,

In a situation where we have an edit table displaying multivalued fields (a group), and a user does some entry in the table which causes the group to scroll down vertically - what is the easiest way to cause the edit table to redisplay in its original position (with row 1 displaying at the top) when the focus is lost from the object?

In addition to the SELPOS property, look at the TOPPOS property which was introduced around release 3.3.

<code>
* sets display and focus to first column of first row for edit table TABLE_1
.table_1-]selpos=1:@fm:1
.table_1-]toppos=1:@fm:1

</code>

Cameron Purdy

Revelation Software

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/a3858244d3fc67288525658a006cfec6.txt
  • Last modified: 2024/01/04 21:00
  • by 127.0.0.1