That's how I would do it too.  Of course, the user has to actually click on a 
row to get the itemindex.  You can also force a click in the first row by doing 
a PROPERTY ... MAKECLICK 0

Karen

 

 

 

-----Original Message-----
From: Dan Goldberg <[email protected]>
To: rbase-l <[email protected]>
Sent: Tue, Jul 12, 2016 12:44 pm
Subject: RE: [RBASE-L] - DB Lookup List box get row number



I tried that but the variable does not have any value.
 
Dan Goldberg
 

From: [email protected] [mailto:[email protected]]On Behalf Of 
Albert
Sent: Tuesday, July 12, 2016 10:34 AM
To: [email protected]
Subject: Re: [RBASE-L] - DB Lookup List box get row number

 
GETPROPERTY <Component ID> ITEMINDEX 'varname'
Albert
 

On 2016-07-12 11:20 AM, Dan Goldberg wrote:

Using 9.5…
 
I have a form with a DB Lookup List Box and I want to put a button to scroll up 
a page at a time.
 
If I can capture the row number it is currently selected I can use the 
property..makeclick to increment up or down say 10 rows at a time.
 
Does anyone know how to capture the row number that the user is on? I have been 
looking in the getproperty commands but yet to find one that works.
 
TIA
 
Dan Goldberg
 
 
--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
[email protected].
For more options, visit https://groups.google.com/d/optout.

 
--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
[email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to