Ask a Question related to Mac Programming, Design and Development.
-
Eric VERGNAUD #1
Visibility of Cocoa objects
Hi there,
I'm just switching to cocoa, so maybe I'm missing something easy there.
I'm looking for a way to show/hide a NSControl or a NSView. I've ran into
the setTransparent method of NSCell, but it does not remove the view from
the hierarchy, it's still there and active.
What I'm looking for is the equivalent of SetControlVisibility and
HIViewSetVisible.
Hope I'm just blind.
Thanks
Eric
Eric VERGNAUD Guest
-
Settingn form objects visibility / requirement
Two questions/issues. See code below for reference. 1) When using the onclick event to set the cfinput 'enddate' to visible=false only the... -
Shared Objects, visibility preperty
I have a slide show working through the FlashCom. The common idea is that when I move an object in one browser then in all the other browsers... -
Bit shifts in Cocoa
Does anyone know how to do bit shifts in Cocoa? I have declared an integer and I want to shift it one bit to the right (same as dividing by 2). ... -
Q About Cocoa & CF Prefs..
In article <no-EA814A.20172229072003@netnews.upenn.edu>, Mark Haase <no@spam.please> wrote: Not only that, if the same preference file is... -
Cocoa Filemaker
"Edward Smith" <esmith@thegoodstuff.se> wrote in message news:BB44ABA1.4676%esmith@thegoodstuff.se... I presume so. There was a statement from... -
matt neuburg #2
Re: Visibility of Cocoa objects
In <BB87DFD3.11EB8%eric.vergnaud@wanadoo.fr> Eric VERGNAUD wrote:
You have two choices. (1) Wait for Panther. (2) Rip the control right> Hi there,
>
> I'm just switching to cocoa, so maybe I'm missing something easy there.
>
> I'm looking for a way to show/hide a NSControl or a NSView. I've ran
> into the setTransparent method of NSCell, but it does not remove the
> view from the hierarchy, it's still there and active.
>
> What I'm looking for is the equivalent of SetControlVisibility and
> HIViewSetVisible.
>
> Hope I'm just blind.
out of the window with removeFromSuperview. Remember to retain it first
or you'll lose it. m.
--
matt neuburg, phd = [email]matt@tidbits.com[/email], [url]http://www.tidbits.com/matt[/url]
REALbasic: The Definitive Guide! 2nd edition!
[url]http://www.amazon.com/exec/obidos/ASIN/0596001770/somethingsbymatt[/url]
Subscribe to TidBITS. It's free and smart.
matt neuburg Guest
-
Eric VERGNAUD #3
Re: Visibility of Cocoa objects
dans l'article [email]20030912115656858-0700@news.la.sbcglobal.net[/email], matt neuburg à
[email]matt@tidbits.com[/email] a écrit le 12/09/03 20:55*:
Thanks. So I'm not blind. But now I wonder why this wasn't implemented in> In <BB87DFD3.11EB8%eric.vergnaud@wanadoo.fr> Eric VERGNAUD wrote:>>> Hi there,
>>
>> I'm just switching to cocoa, so maybe I'm missing something easy there.
>>
>> I'm looking for a way to show/hide a NSControl or a NSView. I've ran
>> into the setTransparent method of NSCell, but it does not remove the
>> view from the hierarchy, it's still there and active.
>>
>> What I'm looking for is the equivalent of SetControlVisibility and
>> HIViewSetVisible.
>>
>> Hope I'm just blind.
> You have two choices. (1) Wait for Panther. (2) Rip the control right
> out of the window with removeFromSuperview. Remember to retain it first
> or you'll lose it. m.
Cocoa from the beginning...
Eric
Eric VERGNAUD Guest
-
Miro Jurisic #4
Re: Visibility of Cocoa objects
In article <20030912115656858-0700@news.la.sbcglobal.net>,
matt neuburg <matt@tidbits.com> wrote:
What's the Panther way?> In <BB87DFD3.11EB8%eric.vergnaud@wanadoo.fr> Eric VERGNAUD wrote:>> > I'm looking for a way to show/hide a NSControl or a NSView. I've ran
> > into the setTransparent method of NSCell, but it does not remove the
> > view from the hierarchy, it's still there and active.
> >
> You have two choices. (1) Wait for Panther.
meeroh
--
If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>
Miro Jurisic Guest
-
matt neuburg #5
Re: Visibility of Cocoa objects
In <macdev-905D66.16442512092003@senator-bedfellow.mit.edu> Miro Jurisic
wrote:You know I can't tell you that. m.> In article <20030912115656858-0700@news.la.sbcglobal.net>,
> matt neuburg <matt@tidbits.com> wrote:
>>>> In <BB87DFD3.11EB8%eric.vergnaud@wanadoo.fr> Eric VERGNAUD wrote:>>>> > I'm looking for a way to show/hide a NSControl or a NSView. I've
>> > ran into the setTransparent method of NSCell, but it does not
>> > remove the view from the hierarchy, it's still there and active.
>> >
>> You have two choices. (1) Wait for Panther.
> What's the Panther way?
--
matt neuburg, phd = [email]matt@tidbits.com[/email], [url]http://www.tidbits.com/matt[/url]
REALbasic: The Definitive Guide! 2nd edition!
[url]http://www.amazon.com/exec/obidos/ASIN/0596001770/somethingsbymatt[/url]
Subscribe to TidBITS. It's free and smart.
matt neuburg Guest
-
Miro Jurisic #6
Re: Visibility of Cocoa objects
In article <20030913092749837-0700@news.la.sbcglobal.net>,
matt neuburg <matt@tidbits.com> wrote:
Whatever, dude. I don't see how giving me a method name would break the NDA but> In <macdev-905D66.16442512092003@senator-bedfellow.mit.edu> Miro Jurisic
> wrote:>> > In article <20030912115656858-0700@news.la.sbcglobal.net>,
> > matt neuburg <matt@tidbits.com> wrote:
> >> >> >> In <BB87DFD3.11EB8%eric.vergnaud@wanadoo.fr> Eric VERGNAUD wrote:
> >> > I'm looking for a way to show/hide a NSControl or a NSView. I've
> >> > ran into the setTransparent method of NSCell, but it does not
> >> > remove the view from the hierarchy, it's still there and active.
> >> >
> >>
> >> You have two choices. (1) Wait for Panther.
> > What's the Panther way?
> You know I can't tell you that. m.
telling me that the method exists wouldn't. OTOH, it's not worth my time to
argue with you about this, I can find plenty of people who can just tell me the
answer.
meeroh
--
If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>
Miro Jurisic Guest
-
matt neuburg #7
Re: Visibility of Cocoa objects
In <macdev-91894E.12483313092003@senator-bedfellow.mit.edu> Miro Jurisic
wrote:I didn't say any method exists. m.> In article <20030913092749837-0700@news.la.sbcglobal.net>,
> matt neuburg <matt@tidbits.com> wrote:
>>>> In <macdev-905D66.16442512092003@senator-bedfellow.mit.edu> Miro
>> Jurisic wrote:>>>> > In article <20030912115656858-0700@news.la.sbcglobal.net>,
>> > matt neuburg <matt@tidbits.com> wrote:
>> >
>> >> In <BB87DFD3.11EB8%eric.vergnaud@wanadoo.fr> Eric VERGNAUD wrote:
>> >> > I'm looking for a way to show/hide a NSControl or a NSView. I've
>> >> > ran into the setTransparent method of NSCell, but it does not
>> >> > remove the view from the hierarchy, it's still there and active.
>> >> >
>> >>
>> >> You have two choices. (1) Wait for Panther.
>> >
>> > What's the Panther way?
>> You know I can't tell you that. m.
> I don't see how giving me a method name would break
> the NDA but telling me that the method exists wouldn't.
--
matt neuburg, phd = [email]matt@tidbits.com[/email], [url]http://www.tidbits.com/matt[/url]
REALbasic: The Definitive Guide! 2nd edition!
[url]http://www.amazon.com/exec/obidos/ASIN/0596001770/somethingsbymatt[/url]
Subscribe to TidBITS. It's free and smart.
matt neuburg Guest



Reply With Quote

