Thomas,

The create menu bar statement gives the following message "Does not evaluate
to a string" in the MBWindow environment. The reason is simple: you can use
the name or the ID of "a standard MI menu" but only "the name of a custom
menu created through a Create menu...". Replace 1001 by "MyMenu" and it
should work.

Jacques PARIS

e-mail    [EMAIL PROTECTED]
For MapInfo support, see the Paris PC Consult enr. site  at
http://www.total.net/~rparis/gisproducts.htm

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Thomas Brix Lyng
Sent: September 16, 2000 4:53 AM
To: '[EMAIL PROTECTED]'
Subject: MI Create Menu Bar statemant in Runtime

Hi listers

I have a problem with the create menu bar statemant in a runtime version of
MI 5.5.

My code is:

create menu "MyMenu" as
  "Open file" id 1001 calling openfileSub

Create menu bar as
   1001



but nothing happens when I run the program?

Regards

Thomas Brix Lyng
Frederikshavn Munincipal Administration
Denmark
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to