>Not shure what you want to say here. Can you be more specific?
Yes. The menu file is in the form: "Command=Open" and "Command=New". I
need some way of Passing "New" or "Open" to my program once the user has
selected the menu item.
One way you can do it is to assign each menuitems Tag property a unique
value. MenuItemOpen.Tag = 0 and MenuItemNew.Tag = 1 fi.
Then you can use the following in your OnClick handler:
case TMenuItem(Sender).Tag of
0: //clicked open
1: //clicked new
else
//clicked unknown
end;
Anyway, you get the picture.
HTH Darius
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives