Have you tried:
select line GetMeniItem("theMenuString") of me
This may work.
All the Best
Dave
Dave,
That is something I already implemented, right after Scott Rossi's
suggestion...
But the problem is that menuHistory doesn't work for buttons with
the menu type "Pop Up" :-((
Ton
On 1-nov-05, at 17:06, David Burgun wrote:
Hi,
All you have to do is this:
function GetMenuItem theMenuItemName
put lineOffset(theMenuItemName,the text of button "popUp") into my myMenuItem
return myMenuItem
Then use it like this:
set the menuHistory of button "popUp" to GetMenuItem("TheMenuString")
All the Best
Dave
Scott,
MenuHistory is indeed is the function I need, but this doesn't
work for buttons of type "popup".
Furthermore it is very strange that you would have to supply a
number instead of the text selected...
I'm displaying data from a database, when a user clicks on a
record he gets the data displayed and some of the data can be
changed using pop-up menu's. So when a user clicks, I would first
have to find the item in the list and set the menuhistory every
time the user selects another record... Would be much easier when
I could popup the menu with the text in a field...
If it would work for a regular pop-up menu :-(
Thanks anyway,
Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com
On 1-nov-05, at 15:57, Scott Rossi wrote:
Recently, Ton Kuypers wrote:
In the "old days", when I didn't know better, I was using SuperCard.
I seem to recall there was a possibility to popup menu's with a basic
value...
What I mean is the user selected item 27 from a menu and the next
time he opened the menu, the menu showed item 27 of the menu at the
mouseposition.
I think the command was popup menu "XXX" at the topleft of me with
fld "menuresult" (or something like that...)
In Revolution this works for a button of type "Option" but I need to
use a regular pop-up button.
Anybody any suggestions?
If I understand what you're asking, I believe you want the menuHistory
property.
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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