FROM : Wagner Truppel
DATE : Tue Aug 01 19:50:53 2006
Hi there...
I apologize if this has been asked before (I did search the archives,
with little or not luck), but how do I programatically access
standard IB inspectors from within a palette?
Suppose I have a palette for a custom control which is itself a
combination of standard controls. For example, it could have a button
as one of its "sub" controls. Another example is an NSTabView, which
is really just an NSBox with a bunch of NSButtons lined up on the
box's side.
When the user of my palette selects the button still in design mode,
the standard NSButton inspector should appear in the inspector
window. But how do I get that to happen, rather than getting the
behavior that the button would have in an actual application (ie, an
actual click)?
Note that, in this example, the custom control is not a subclass of
NSButton but simply uses it (and possibly other controls) to
accomplish its goal. So this is a different problem than one I posted
earlier about accessing the superclass behavior.
Thanks for any help.
Wagner
DATE : Tue Aug 01 19:50:53 2006
Hi there...
I apologize if this has been asked before (I did search the archives,
with little or not luck), but how do I programatically access
standard IB inspectors from within a palette?
Suppose I have a palette for a custom control which is itself a
combination of standard controls. For example, it could have a button
as one of its "sub" controls. Another example is an NSTabView, which
is really just an NSBox with a bunch of NSButtons lined up on the
box's side.
When the user of my palette selects the button still in design mode,
the standard NSButton inspector should appear in the inspector
window. But how do I get that to happen, rather than getting the
behavior that the button would have in an actual application (ie, an
actual click)?
Note that, in this example, the custom control is not a subclass of
NSButton but simply uses it (and possibly other controls) to
accomplish its goal. So this is a different problem than one I posted
earlier about accessing the superclass behavior.
Thanks for any help.
Wagner
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

