Modify

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 TicketCleanup, 13 years ago

Version: 3.3.9.19

Automatic ticket cleanup.

in reply to:  description comment:2 by FireFox, 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.

comment:3 by mlipok, 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 mlipok, 13 years ago

sorry I mean

Are these two examples produce the same result?
TrayCreateMenu('Text', -1, 0)
TrayCreateMenu('Text')

in reply to:  3 comment:5 by FireFox, 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.

Last edited 13 years ago by FireFox (previous) (diff)

comment:6 by FireFox, 13 years ago

Milestone: 3.3.9.20
Owner: set to FireFox
Resolution: Completed
Status: newclosed

Added by revision [8789] in version: 3.3.9.20

Modify Ticket

Action
as closed The owner will remain FireFox.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.