Hi guys i realy want your help.
I would like to know how to create a drop down list using my button
like its a costumize dropdown.
instead of using the menu.
i want to create a costumize button which i can roll over or click and a drop down button will shows up.
thank you.
Hello Jerone
To create a drop down in the button Label you can use a table as the menu
- Add the button
- Add table
- Customize the table’s design (i.e one column, ...)
- Fill the table with items (connect to a dataset, fill it using code)
To make it show when u hover over the button or click on it, make the table hidden on load, and use the mouseIn(), onClick() button events to show it :
export function button1_click(event, $w) {
//Add your code for this event here:
$w(“#table”).show();
}
export function button1_mouseIn(event, $w) {
//Add your code for this event here:
$w(“#table”).show();
}
Good luck!
Massa