Modify

#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, on Aug 26, 2013 at 3:00:02 AM

Version: 3.3.9.19

Automatic ticket cleanup.

in reply to:  description comment:2 by FireFox, on Aug 26, 2013 at 10:23:53 AM

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, on Aug 26, 2013 at 11:44:05 AM

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, on Aug 26, 2013 at 11:55:45 AM

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, on Aug 26, 2013 at 2:01:57 PM

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 on Aug 26, 2013 at 2:02:52 PM by FireFox (previous) (diff)

comment:6 by FireFox, on Aug 26, 2013 at 2:03:45 PM

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.