Separators in menus

Post any examples or modules that you want to share here
Post Reply
az-terisk
Posts: 29
Joined: Sun Dec 25, 2016 1:00 pm

Separators in menus

Post by az-terisk »

Hi gang !

How can i add separators in the menus, please ? Like Adam Szabo's Viper main menu : https://image.noelshack.com/fichiers/2020/32/5/1596834020-capture.png

Thanks !
adamszabo
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: Separators in menus

Post by adamszabo »

That is possible in the alpha versions only
az-terisk
Posts: 29
Joined: Sun Dec 25, 2016 1:00 pm

Re: Separators in menus

Post by az-terisk »

adamszabo wrote:That is possible in the alpha versions only


Hello Adam, i'm an user of Alpha version ! :)
adamszabo
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: Separators in menus

Post by adamszabo »

Then you can write this string in the dropdown list to create a line between item 3 and 4: "Item1, Item2, Item3, -----, Item4" and you will get the separator. Just watch out because the separator still counts as a value, but you cannot click on it. So like this:

Item1 will output 0
Item2 will output 1
Item3 will output 2
(the separator will output 3 but you cannot select it)
Item4 will output 4
Last edited by adamszabo on Sun Aug 09, 2020 7:41 pm, edited 1 time in total.
az-terisk
Posts: 29
Joined: Sun Dec 25, 2016 1:00 pm

Re: Separators in menus

Post by az-terisk »

Many thanks to you Adam, i will made it ! :)
Post Reply