Opened 13 years ago
Closed 13 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 by , 13 years ago
| Version: | 3.3.9.19 |
|---|
comment:2 by , 13 years ago
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.
follow-up: 5 comment:3 by , 13 years ago
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 by , 13 years ago
sorry I mean
Are these two examples produce the same result?
TrayCreateMenu('Text', -1, 0)
TrayCreateMenu('Text')
comment:5 by , 13 years ago
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 by , 13 years ago
| Milestone: | → 3.3.9.20 |
|---|---|
| Owner: | set to |
| Resolution: | → Completed |
| Status: | new → closed |
Added by revision [8789] in version: 3.3.9.20

Automatic ticket cleanup.