Jump to content

Recommended Posts

Posted

Hi all ,

I'm new with autoit so i have a question .

I created a GUI with a menu but how can i make a dropdown menu ?

example : i have 1 menu called properties and i would to click on it so i get a submenu .

How can i get that ?

Posted (edited)

Please check basic examples (i.e. C:\Program Files\AutoIt3\Examples\GUI\SampleControls.au3) before posting your questions to see if people already spend time and energy on answering your questions - also the help file (C:\Program Files\AutoIt3\AutoIt3.chm) should be consulted & forums should be searched (many people asked the exact same question you just did). Hope this helps, god speed with your programming :whistle:

Hi all ,

I'm new with autoit so i have a question .

I created a GUI with a menu but how can i make a dropdown menu ?

example : i have 1 menu called properties and i would to click on it so i get a submenu .

How can i get that ?

Edit: small typo

Edited by Sunaj
Posted

Search the help file for GUICtrlCreateMenu. I assume this is what your looking for. If not please post some code so we can see what you are actually trying to do.

Good luck

Posted (edited)

Hi all ,

I'm new with autoit so i have a question .

I created a GUI with a menu but how can i make a dropdown menu ?

example : i have 1 menu called properties and i would to click on it so i get a submenu .

How can i get that ?

Bare-bones:

$properties = GUICtrlCreateMenu("Properties")
$p_sub1 = GUICtrlCreateMenuItem("Sub Menu 1", $properties)

I hope that is what you were looking for.

Edited by Somniis
Posted

Search the help file for GUICtrlCreateMenu. I assume this is what your looking for. If not please post some code so we can see what you are actually trying to do.

Good luck

thank you very much it works :whistle: srry guys that i didn't read the tuts

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...