Option Menu Specifics
andrew at rjdfarm.com
Mon Feb 8 11:48:30 CST 2010
I am having difficulty figuring out how to script some specifics into option
My option menu is populated on preOpenCard and everything lists smoothly.
When set to view, this card displays a LandOwner's Name in a disabled text
field. When the cards status is set to update, it shows a list of names
pulled from a table in a mySQL db, in alphabetical order.
However, the current record being worked with was loaded on a previous card
and the information was put into a set of global variables.
gLandOwnerContact (the current record's landowner name).
I want the default selection for the option menu to be the same as
gLandOwnerContact. But when clicked, I still want it to display a full list
of the names.
I am just beginning in Revolution. I have modified column and row behaviors
in DataGrids (to change cards on doubleUp), but never overridden any other
controls functionality. I am thinking this is what is going to take to
implement the above. Can someone point me on the right path or help me hash
out the appropriate logic for this?
Any and all help is greatly appreciated.
RJD Farm LLC
More information about the use-livecode