0
votes
Vote UpVote

Fixing a TForm.BorderIcons bug in FMX/OS X

Delphi Haven – If you try removing biMaximize from a FireMonkey form’s BorderIcons property, you’ll find the ‘maximise’ (zoom) button on OS X (i.e., the green ‘traffic light’) resolutely staying both visible and enabled. The reason for the bug is the following code in FMX.Platform.Mac.pas, and it exists in both XE2 and XE3: if TBorderIcon.biMaximize in AForm.BorderIcons then Style := Style or NSWindowZoomButton; The problem here is that NSWindowZoomButton is not a valid member of a Cocoa window style ‘set’, a fact the compiler ...
Favorite? Off-Topic? Chris Rolliston @ 2013-01-13 18:37

Statistics

Visits: 599
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)