Page 1 of 1
Vertical menu
Posted: Fri Apr 04, 2008 10:39 pm
by Silvio
Dear friends,
have U an idea or a test program to create a vertical menu.
i must insert it in a small part of a dialog.
thanks
Posted: Sat Apr 05, 2008 8:59 am
by Antonio Linares
Silvio,
You can use a listbox, or a tree, or a browse.
There are many options
Posted: Sat Apr 05, 2008 7:06 pm
by Silvio
can i use the part of menu pulldown as i must show only one menu often the menu title?
sample
if i write
menu
menuitem "test"
menuitem "test"
endmenu
this write the menu in orizontal on a line
can i use these line for create the menu in vertical
where i must modify and wich class?
Posted: Sat Apr 05, 2008 7:18 pm
by Antonio Linares
Silvio,
You can create a pulldown menu with just one menuitem, that has a submenu.
Posted: Sat Apr 05, 2008 8:01 pm
by Silvio
ok but i want only the submenu
Posted: Sat Apr 05, 2008 8:05 pm
by Antonio Linares
You may use the system menu, modified with your own options.
If you want a non Windows standard behavior, then you have to code a new class for it. If you use a listbox, a tree, or a browse, you will save the work to create such class.