For whatever reason, this is indeed confusing to the user.
You right click on an item and it is highlighted, but not selected.

I use this code to assure that the listview really is selecting the item 
highlighted.

--Right Click changes ITEMINDEX but not the actual selected item
GETPROPERTY lvTripDetails ITEMINDEX 'vTmp'  -- -1 = no items
IF vTmp <> '-1' THEN -- have itemindex, make selected match
  PROPERTY lvTripDetails MAKECLICK .vTmp
ENDIF

-- Now do right click stuff, if any



Dennis McGrath
Software Developer
QMI Security Solutions
1661 Glenlake Ave
Itasca IL 60143
630-980-8461
[email protected]
________________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Wills, Steve
Sent: Sunday, May 08, 2011 9:25 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Question About Variable Lookup List Box & Difference 
Between Left-Click||Right-Click

Using a Variable Lookup List Box in a form, I think I've observed a slight but 
potentially important difference between (Left)Click and Right-Click when 
invoking an EEP.
 
It seems that Right-Click does not assign the ID value designated in Lookup 
Settings for the Variable Lookup List Box.  This was observed in my own form as 
well as in MutuallyExclusive from RRBYW17.
 
In simple terms, I am trying to do something VERY similar to that Mutually 
Exclusive example RBTI/R:azzak/Et Al have shared with us.  I just want to use 
Right-Click instead of (Left-)Click because I think it's a better fit for what 
I was trying to do.
 
Has anyone else seen this?
 
I'm not saying this is a bug or anything.  Perhaps it must work like this and I 
just don't know why.  If it's just one of those tiny, almost-hidden behaviors, 
just waiting for a goofball like me to discover it, well, I sure would like to 
use Right-Click ...
 
Thanks,
Steve in Memphis 


Reply via email to