Notifications
Clear all
[Closed] How to make a menu with button pressed?
Aug 20, 2013 11:17 pm
Hi,
Does anyone know how to make a menu with simple button pressed like below?I have a project need to custom menus,maybe few people use this type of menu,I did not find solution after searching forum ,please help,thanks.
rollout botton_menu "menu_button"
(
button menu "menu" width:120 height:20
on menu pressed do
(
--creating a menu
)
)
CreateDialog botton_menu 200 40 style:#(#style_titlebar, #style_border, #style_sysmenu,#style_resizing,#style_minimizebox)
2 Replies
Aug 20, 2013 11:17 pm
#1: search the mxs help for rcmenu
#2: search this forum for rcmenu. i’m sure there are many samples there. here is the one: http://forums.cgsociety.org/showpost.php?p=6221726&postcount=2
1 Reply
Wow,thanks denisT,maybe I used wrong keyword for searching,i did not use rcmenu before,i’ll try