Jump to content
Sign in to follow this  
youknowwho4eva

Menu Item Separator

Recommended Posts

youknowwho4eva

How would you add a menu item separator? Click on a menu and see the horizontal lines? that's what I'm going for. And how about the shortcut key listings? I'm sure I can set up the shortcut keys and all, but how do you get them listed next to the command and all pretty right justified?


Giggity

Share this post


Link to post
Share on other sites
rasim

youknowwho4eva

From help

GUICtrlCreateMenuItem()

If the Text parameter is a "" then a separator line is created. GUICtrlSetState can be used as for other controls. See example.

For menu cusomizing see here ;)

Share this post


Link to post
Share on other sites
youknowwho4eva

Hm, I didn't see that in there, thank you rasim. I'll have to look at that thread some, I just glanced at it and it looks impressive.


Giggity

Share this post


Link to post
Share on other sites
youknowwho4eva

Thanks Zedna, I must have scanned over that part when I was trying to find the solution. @rasim, I looked at that thread, and I'm not understanding how he created the Side Menu Text. Is it as difficult as it looks in his script? If so I'll skip that part till a later update.


Giggity

Share this post


Link to post
Share on other sites
TalivanIBM

I have discovered now, only you have to set in the GuiCtrlCreateMenuItem the text wit @TAB

Ex

GuiCtrlCreateMenuItem("Hello" & @TAB & "F1", $menu)

and you will get the text F6 in the right of the menu

Cool and easy.............

Edited by TalivanIBM

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.