Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2903 closed Bug (No Bug)

GUICtrlSetFont does not mention FontConstants.au3

Reported by: ILLBeBack Owned by:
Milestone: Component: Documentation
Version: Severity: None
Keywords: FontConstants Cc:


The example in the help file for function GUICtrlSetFont does not mention that FontConstants.au3 must be included in order to use the font constants.

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by BrewManNH

  • Resolution set to No Bug
  • Status changed from new to closed

I'm not sure which version of the help file you're looking at, but in it is clearly marked which files are needed to use the constants. In the Weight section, at the bottom of the list of weight constants it says Constants are defined in FontConstants.au3, at the bottom of the attributes section it says Constants are defined in GUIConstantsEx.au3, etc.

In re-reading the track ticket I see that the OP mentioned that it wasn't mentioned in the example script to use the FontConstants.au3 file. In looking over the example script posted in the help file, there are no constants being used in it that would require that constants file so omitting it from the example script is a moot point. Whether it would be better to rewrite the example script to remove the magic numbers or not would be another discussion. This bug report is still not valid.

Last edited 10 years ago by BrewManNH (previous) (diff)

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.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.