On May 27, 2009, at 10:20 AM, Yves COPPE wrote:
I want to use a "contextual" menu
I used therefore the follwing script in my popup Btn to know the
data of the clickedLine
put the dgHilitedLines of group "DataGrid 1" into theLine
put the dgDataOfLine[theLine] of group "DataGrid 1" into theDataA
BUT
If I control-click a line,
it gives me the previous hilitedLine. In fact I have to first click
the line to make it "hilited" and then click again with controlKey
to have the correct theDataA
Can you help me ?
Take a look at this lesson I just added called "How Do I Show a
Contextual Menu?"
<https://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid/lessons/2962-How-Do-I-Show-a-Contextual-Menu-
>
You need to call dgMouseDown before showing the popup button so that
the data grid can make the proper line selection.
Regards,
--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com - www.screensteps.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution