.. or try this:
Declare Sub Main
Declare Sub Restore
Sub Main
create menu "MyMenu" ID 1 as
"Restore" calling Restore
Create menu bar as ID 1
End Sub
Sub Restore
Create menu bar as Default
End Sub
Regards
Poul Skyum
Upgrade-GIS
Denmark
> -----Oprindelig meddelelse-----
> Fra: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]P� vegne af Thomas Brix Lyng
> Sendt: 16. september 2000 10:53
> Til: '[EMAIL PROTECTED]'
> Emne: 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]