How to display Tool Tips for a Radio Buttons ?
How to display Tool Tips for a Radio Buttons ?
- Subject: How to display Tool Tips for a Radio Buttons ?
- From: <email@hidden>
- Date: Thu, 31 May 2007 18:15:12 +0530
- Thread-topic: How to display Tool Tips for a Radio Buttons ?
Hi All,
I have a group of Radio buttons.
As per my understanding we can display the tool tip for a of Radio
buttons like:
NSMatrix myRadioControl;
[ myRadioControl setToolTip :@"Hello Tool Tip"];
This works fine.
But I need to display different Tool Tips for every individual radio
button present in my Group of radio buttons.
I tried the following approach....
NSMatrix myRadioControl;
[ [ myRadioControl cellAtRow:0 column:0 ]setToolTip:@"Hello Tool Tip"];
But this too doesn't work and I don't get the tool tips for individual
radio buttons :(
Then I tried a different approach as shown below:
NSCell * myCell;
NSMatrix myRadioControl;
myCell = [ myRadioControl makeCellAtRow: 0 column:0 ];
[ myRadioControl setToolTip:@"Hello Tool Tip" forCell: myCell];
This too doesn't work.But when I check
NSString *myString = [ myRadioControl toolTipForCell: myCell ];
I get the proper tool tip set.
Yet in the application the Tool Tips are not displayed.
Are these approaches wrong?
How do I display individual Tool Tips for all the Radio buttons in one
Group of NSMatrix?
Looking for some pointers.
Thanks in Advance
Amrit.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden