Opened 11 years ago
Closed 11 years ago
#2428 closed Feature Request (Completed)
TrayCreateMenu - syntax - default values
Reported by: | mlipok | Owned by: | FireFox |
---|---|---|---|
Milestone: | 3.3.9.20 | Component: | Documentation |
Version: | Severity: | None | |
Keywords: | Cc: |
Description
in TrayCreateMenu
in syntax there is:
TrayCreateMenu ( "sub/menutext" [, menuID [, menuentry]] )
Is there are default parameters = -1 and = 0
Do they should not be found in the description of the syntax.
Attachments (0)
Change History (6)
comment:1 Changed 11 years ago by TicketCleanup
- Version 3.3.9.19 deleted
comment:2 in reply to: ↑ description Changed 11 years ago by FireFox
Replying to mlipok:
Can you be more specific?
I see descriptive parameters:
menuID [optional] If defined, allows you to create a submenu in the referenced menu. If equal -1 it refers to first level menu.
menuentry [optional] Allows you to define the entry number to be created. The entries are numbered starting at 0.
comment:3 follow-up: ↓ 5 Changed 11 years ago by mlipok
Example is better than a thousand words
So I ask you: why syntax is not described in this way?
TrayCreateMenu ( "sub/menutext" [, menuID = -1 [, menuentry = 0 ]] )
Are these two examples produce the same result?
TrayCreateMenu('Text', -1, 1)
TrayCreateMenu('Text')
This is important.
but basically I have a question related to the problem, but this time to Jos
Do changes in the description of the syntax, introduced in the documentation will have an impact on, the text displayed in Scite4AutoIt I mean calltips guide.
comment:4 Changed 11 years ago by mlipok
sorry I mean
Are these two examples produce the same result?
TrayCreateMenu('Text', -1, 0)
TrayCreateMenu('Text')
comment:5 in reply to: ↑ 3 Changed 11 years ago by FireFox
Replying to mlipok:
Do changes in the description of the syntax, introduced in the documentation will have an impact on, the text displayed in Scite4AutoIt I mean calltips guide.
The descriptions are updated for each autoit release (like the documentation if changed), it's not related to Scite4AutoIt.
comment:6 Changed 11 years ago by FireFox
- Milestone set to 3.3.9.20
- Owner set to FireFox
- Resolution set to Completed
- Status changed from new to closed
Added by revision [8789] in version: 3.3.9.20
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Automatic ticket cleanup.