Re: How to get Button Caption??
Re: How to get Button Caption??
- Subject: Re: How to get Button Caption??
- From: Jim Rankin <email@hidden>
- Date: Fri, 12 Apr 2002 03:53:09 -0400
I think you want this method on NSButton:
public String title()
Returns the title displayed on the receiver when it's in its normal
state (this title is always displayed if the button doesn't use its
alternate contents for highlighting or displaying the alternate state).
Returns the empty string if the button doesn't display a title. By
default, a button's title is "Button".
Good luck!
Jim Rankin
WebObjects/EOF/Cocoa/AppleScript Studio developer for hire
On Friday, April 12, 2002, at 12:18 AM, praveena tandon wrote:
>
Hai all,
>
I am developing an application in cocoa-java in
>
which i want to get the caption of the pushbutton and
>
put it in the textedit field.But i can't able to find
>
any functions like getLabel.
>
If anyone has any idea how to do it please help me.
>
Thanks
>
praveena
>
Yahoo! Tax Center - online filing with TurboTax
>
http://taxes.yahoo.com/
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.