Skip to content

A student in Viet Nam ? Have a question ?

INs Techs

Asked Jun 26, 2006, 1:44 AM EDT1 answer
Share
LinkedInX
Hi , Everybody in this Forum .
My English is rather poor . Maybe I have some misspell . Please,Don't be sad ..
I want to make a Control (similar MenuScript in the ToolBox ) . And then I add this Control to the Toolbox . When I run (F5) I want this control to add some MenuItem that I define from a text file .
For Example : I have a text file . Menu.txt and save it on C:\\Menu.txt .
-----------------------------------C:\\Menu.txt-------------------------------------
MnuFile:&File
...mnuNew:&New
...mnuOpen:&Open
MnuEdit:&Edit
...mnuCut:&cut
...mnuPaste:&Paste .etc....
When I add a Control which I made ,It'll be Display Menu similar to my text file.
------------------------------------------
My English is bad (not best),I hope Everybody will understant it . If Anyone don't understant , please mail to me : [email protected] or Y|M : Mr_Ha_HCM . 
 Please , give me a solution .
 Thanks for any answer .

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    I don't think text file is a good solution because it's hard to read for control which has struct as menu, I think you should use xml file so you can read and load on your menu easily and for approach I think a stack is ok. Hope this help!.
    0