|Jul 15, 2008, 11:55 PM||#1|
Making an "unclickable" button
I am currently working on a button (a UIButton type provided in Interface builder), which will turns to be "unclickable" after clicked for the first time. I expect the button to change color, informing the user that the button cannot be clicked anymore.
Is there a way to do it? I have gone through the UIButton header file and can't seem to find a way to make that happen...
In addition, I wanted to change the text too. The UIButton provides a variable called *_titleView. But it seems it is not the one that changes the text.
Last edited by Moon013; Jul 16, 2008 at 12:11 AM.
|Jul 20, 2008, 09:33 PM||#3|
I had written that line of code and is being put into a function which is triggered only when the button is clicked. So by right, when clicked, function triggered, the button should be made unclickable, but still it doesn't work...
Last edited by Moon013; Jul 20, 2008 at 11:16 PM.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Making an image a button||hoosierfan24||iPhone/iPad Programming||2||Sep 15, 2009 09:56 PM|
|Why Apple Makes a One Buttoned Mouse||wrldwzrd89||Macintosh Computers||15||Feb 1, 2005 08:08 PM|
|How to make the thumb button on mouse go "back"||micsaund||General Mac Discussion||6||Oct 7, 2004 11:48 AM|
|Why wont Apple make a 2 button Mouse?||MacSA||General Mac Discussion||64||Oct 7, 2004 09:49 AM|
|Will Apple make an iPod with a Microphone and record button?||GeneR||Macintosh Computers||7||Jan 23, 2003 12:58 PM|
All times are GMT -5. The time now is 06:01 PM.