Wow! That was easy. Thank You!
Jim
On Jun 17, 2011, at 9:21 AM, Alexander Reichstadt wrote:
> Try controlTextDidChange
>
> Am 17.06.2011 um 16:11 schrieb JAMES ROGERS:
>
>> I have an app with six (6) text fields. I need to know when the text in any
>> of the text fie
I have an app with six (6) text fields. I need to know when the text in any of
the text fields has changed so I can process them as a group.
AppDelegate .h
@interface WK2CFGMacAppDelegate : NSObject {
outlets
}
actions
- (void) textDidChange:(NSNotification *)aNotification;
AppDelegate.
K&R says to declare and initialize an array in C:
int myArray[2] = {1,2};
If the above is entered into the .h file of a cocoa project, the compile will
fail with the following:
/Users/jimrogers_w4atk/Development/workspace/ArrayTest/ArrayTestAppDelegate.h:14:0
/Users/jimrogers
IB Inspector indicates the item is enabled. But when I build and run the app,
it is greyed out.
I am new to cocoa development and have no idea where to look other than IB.
JIM ROGERS
jimrogers_w4...@me.com
http://web.me.com/jimrogers_w4atk
___
Cocoa-
Joanna,
No problem. I should have phrased it better.
After many exchanges the simplest and best solution for this particular
application came from Andy, just disable the button.
I am a retired Senior Systems Analyst and certainly can be guilty of tossing a
few stones at glass houses.
Picking up
Thanks to Nick and Pascal the issue is closed, successfully.
Jim
JIM ROGERS, W4ATK
w4...@bellsouth.net
http://web.me.com/jimrogers_w4atk
K3/100 P3
K2/10
JIM ROGERS
jimrogers_w4...@me.com
http://web.me.com/jimrogers_w4atk
___
Cocoa-dev mailing list
I am a cocoa developer, albeit a new one. So I have every right to post this
question on this site. Thank you very much, but clicking on the application in
the dock does not work in my case. That would be a rather obvious answer and
one of the many things I tried. Based on some of the web guru
I understand this is not the way to close an application, but once someone does
use the red dot, is there a way to get the program out of the background and
back on the screen?
JIM ROGERS
jimrogers_w4...@me.com
http://web.me.com/jimrogers_w4atk
___
Mike, thanks for your response. I looked at -substringWithRange but could not
discern how exactly I would apply it. I will take another look.
Thanks, Jim
On Apr 17, 2011, at 3:22 PM, Mike Abdullah wrote:
> Why not use -substringWithRange: ?
>
> On 17 Apr 2011, at 21:09, JAMES ROG
Quincey Morris wrote:
> On Apr 17, 2011, at 13:09, JAMES ROGERS wrote:
>
>> char sndBuffer[65];
>> int j;
>>
>> characterIndex++; // is always sitting at the last character sent so
>> advance to the next character in string.
>> for (j = 0; j < 65; j
I know there must be a better way but this was all I could come up with as a
rookie cocoa programmer to get a substring out of a very long NSString from a
textView growing as the operator types in the message content. The receive
buffer in the chip I am talking to will only take 80 characters b
I am feeling really stupid. I have a simple textField set up in IB, nothing
else, just a window with a textField. I have connected the textField to the
outlet.
In appdelegate,h
IBOutlet NSTextField *textField;
in appdelegate.m
[textField setIntegerValue:10]
Nothing is display
Everything works but I am getting the following:
Warning: Class "WinKeyer2AppDelegate" does not implement the
'NSTextViewDelegate' protocol."
code snippet:
- (void) awakeFromNib{
[<*textView> setDelegate:self];
}
- (void) textDidChange:(NSNotification *)aNotification {
< process
13 matches
Mail list logo