Oh crap, my secret is out!

On Wednesday, October 14, 2020 at 9:27:25 AM UTC-4 A. Razzak Memon wrote:

> Dan,
>
> Michael Byerley must be reading my mind when I was preparing this 
> demo for you. :)
>
> Technically, you can use the GETPROPERTY ITEMINDEX to find the 
> current position of selected row in the Variable Lookup ListView and 
> then use the MAKECLICK 'n' to select the row (Up or Down).
>
> Here's how ...
>
> 01. Focus on the Variable Lookup List View and select the first row 
> as On After Start EEP.
> -- Example
> -- On After Start EEP
> PROPERTY LV_Customers SET_FOCUS 'TRUE'
> PROPERTY LV_Customers MAKECLICK '0'
> RETURN
>
> 02. Define two Buttons on the form, such as [ Up ] and [ Down ] with 
> the On Click EEPs as follows:
> Button [ Up ] - On Click EEP
> -- Example
> GETPROPERTY LV_Customers ITEMINDEX 'vItemIndex'
> SET VAR vMakeClick = (INT(.vItemIndex)-1)
> PROPERTY LV_Customers MAKECLICK .vMakeClick
> RETURN
>
> Button [ Down ] - On Click EEP
> -- Example
> GETPROPERTY LV_Customers ITEMINDEX 'vItemIndex'
> SET VAR vMakeClick = (INT(.vItemIndex)+1)
> PROPERTY LV_Customers MAKECLICK .vMakeClick
> RETURN
>
> That's all there is to it!
>
> Load the attached form in the sample RRBYW20 database that 
> illustrates the use of such cool feature.
>
> Database.: RRBYW20
> Form Name: VarLookupListView_Select_Up_Down
>
> Have fun!
>
> Very Best R:egards,
>
> Razzak
>
>
> At 04:14 PM 10/13/2020, Dan Goldberg wrote:
>
> >I want to put buttons to navigate up and down rows in a variable 
> >lookup list view. I checked the properties and so not seen one.
> >
> >Has anybody done this?
> >
> >TIA
> >
> >Dan Goldberg
>
>
>
>

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
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 rbase-l+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/f0efeea7-3fbc-4b26-b21a-27727d45b3d1n%40googlegroups.com.

Reply via email to