4
votes
Vote UpVote

NSWindow tips and tricks

Delphi Haven – When targeting OS X, a FireMonkey form is a native Cocoa window, albeit with a custom-drawn and custom-managed client area. While FMX exposes some functionality of the underlying Objective-C class (NSWindow), there’s still quite a bit it doesn’t. Nonetheless, NSWindow methods can be called easily enough via XE2′s Delphi to Objective-C bridge. This post provides a few examples. Getting the NSWindow of a FMX form The first problem is how to convert a TForm reference to a NSWindow one in the first place (in Delphi, NSWindow is an interface type declared in Macapi.AppKit). As a ...
Favorite? Off-Topic? Chris Rolliston @ 2012-03-08 21:44

Statistics

Visits: 615
Votes: 4
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

François
Rodrigo
stukelly
TOndrej
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)