![]() |
![]() |
#1 |
P90 years forever!
Aug 2002
Yeehaw, FL
11100100001002 Posts |
![]()
I have 2 problems that I cannot find an answer to quickly:
1) When I click on a text field and change the value and then click on the "OK" button, the changed value is ignored. The changed text is only registered if I tab out of the field. What have I done wrong? 2) Is there any way to get the Test/Status NSTextField to not highlight misspelled words like "Mersenne", "Lucas", and "Lehmer"? |
![]() |
![]() |
![]() |
#2 |
"Mark"
Apr 2003
Between here and the
140248 Posts |
![]()
For the button, does this help? http://osdir.com/ml/cocoa-dev/2010-04/msg00457.html
And for spelling, how about this? http://developer.apple.com/mac/libra...isspelledWords |
![]() |
![]() |
![]() |
#3 |
P90 years forever!
Aug 2002
Yeehaw, FL
22×52×73 Posts |
![]() |
![]() |
![]() |
![]() |
#4 |
"Mark"
Apr 2003
Between here and the
616410 Posts |
![]()
I realized after I posted that NSTextField does not inherit from NSText, thus it probably works differently.
Would NSTextView work better for you than NSTextField? It inherits from NSText. Something else I see is that NSTextField contains an NSTextView object. You can find that here: http://developer.apple.com/mac/libra...troAppKit.html, which you have probably already seen. In other words, if you access that NSTextView object of the NSTextField class then you should be able to add words to the ignore list as shown in the other link I provided. |
![]() |
![]() |
![]() |
#5 |
P90 years forever!
Aug 2002
Yeehaw, FL
11100100001002 Posts |
![]()
I was hoping to just turn spell checking off rather than assembling a list of words to ignore.
|
![]() |
![]() |
![]() |
#6 | |
Jun 2005
USA, IL
193 Posts |
![]()
This has a solution for turning it on, so perhaps you can set it to NO to turn it off.
http://stackoverflow.com/questions/2...ld-on-mac-os-x Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any ODBC experts here? | xilman | Programming | 30 | 2011-08-16 06:47 |
Any Qt experts here? | ET_ | Programming | 0 | 2011-08-15 10:52 |
Proxy server / apache experts? | Prime95 | Software | 6 | 2002-10-02 16:24 |