|
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
Rainer
Joined: 13 Mar 2006 Posts: 43
|
Posted: Wed Oct 25, 2006 5:15 am Post subject: Different file selection commands in one "%mn" men |
|
|
Is there a way to have different file selection commands for two menu items in the same "%mn" structure ?
E.g.
integer :: wint
integer, external :: load_file_type_a, load_file_type_b
wint = winio@('%mn[Load files[Load file type a, Load file type b]]', load_file_type_a, load_file_type b)
Where to fit in the "%fs" and "%ft" commands here ? I can't insert them into the "%mn" command to apply separately to file types a and b. But if I write them both before the above line, the second one will just replace the first one and then apply to both menu items.
Thanks
Rainer |
|
Back to top |
|
|
Rainer
Joined: 13 Mar 2006 Posts: 43
|
Posted: Wed Oct 25, 2006 7:51 am Post subject: Different file selection commands in one "%mn" men |
|
|
Never mind, I figured it out.
For reference to other users:
You can continue an (otherwise closed) menu by leaving away the headline in the continuation command, like
wint = winio@('%mn[Load files[Load file type a]]&', load_file_type_a)
wint = winio@('%mn[[Load file type b]]&', load_file_type_b)
Note the missing headline label in the second line !
This way you can fit in the needed "%fs" and "%ft" commands between these lines, as the two "%mn" are now separate commands, yet constitute only one submenu.
Rainer |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|