Difference between revisions of "Cocoa Internals/Dialogs"
From Lazarus wiki
Jump to navigationJump to searchm |
m (→See Also) |
||
Line 1: | Line 1: | ||
+ | ==Class Override== | ||
+ | Unlike NSApplication, dialog classes cannot be overwritten in the following manner: | ||
+ | TCocoaColorPanel.sharedPanel | ||
+ | Doing that will cause problems using class methods of the sharedPanel (and likely something else) | ||
+ | |||
==See Also== | ==See Also== | ||
*[[Cocoa Internals]] | *[[Cocoa Internals]] | ||
[[Category:macOS]] | [[Category:macOS]] | ||
[[Category:Cocoa]] | [[Category:Cocoa]] |
Revision as of 07:23, 8 March 2020
Class Override
Unlike NSApplication, dialog classes cannot be overwritten in the following manner:
TCocoaColorPanel.sharedPanel
Doing that will cause problems using class methods of the sharedPanel (and likely something else)