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

Highlighted Row in a Table (OpenInsight Specific)

At 23 JUN 1998 12:52:04PM Richard Richter wrote:

I have a DBTable in a form that shows 12 rows at a time. When I tab into an empty data table, row 12 is highlighted instead of row1. How can I correct this?

Richard Richter


At 23 JUN 1998 01:41PM Dave Pociu wrote:

x=set_property( CtrlEntId , "SELPOS" , 1:@FM:1)

Put this either on GOTFOCUS or LOSFOCUS in order to re-position the cursor to the upper-left hand corner of the table.

In my application I have a system-wide LOSTFOCUS event that does this for all edit tables other than ones whose name end in a certain way.


At 23 JUN 1998 02:11PM Richard Richter wrote:

That's fine if there's no data in the table. What if there's 6 of the rows filled, and the other six are empty. You still get Eleven value marks per column, six values with data and six without data.

Richard Richter


At 23 JUN 1998 04:53PM Cameron Revelation wrote:

Richard,

Are you asking how to "trim" the edit table?

Cameron Purdy

Revelation Software


At 23 JUN 1998 07:46PM Richard Richter wrote:

You do have a way with words. That's exactly what I want to do. If the first column of the row is empty then the entire row should be empty.

Thanks,

Richard Richter


At 24 JUN 1998 02:58AM Andrew P McAuley wrote:

As Cam has set this up so beautifully I can't resist…

Would the TRIM parameter of the ETMETHOD function help? (See online help)

[email protected]

Sprezzatura Ltd

World Leaders in all things RevSoft


At 27 JUN 1998 07:41PM Aaron Kaplan wrote:

Even though you might have the answer already, are you stating that when you go into the edittable, the cursor jumps to the last row?

[email protected]

Sprezzatura, Inc.

www.sprezzatura.com_zz.jpg

View this thread on the forum...