![]() |
|
![]() | ||
|
Subject:
Mac OS X Programming: Dialogs, Controls and Events
Category: Computers Asked by: stevex-ga List Price: $15.00 |
Posted:
28 Aug 2002 12:53 PDT
Expires: 28 Aug 2002 13:54 PDT Question ID: 59561 |
I have a Macintosh / Carbon programming question. I'm writing an application in C++ and I have a dialog, created with Interface Builder. In this dialog I have a number of text edit controls, and the text in these controls is a specific format: A floating point number with two digits after the decimal point. I want to restrict input to these controls so that if the user types invalid characters (anything but a number of a decimal point) the system will beep, but otherwise allow normal editing (so backspace, arrow keys etc still work). The rest of the application uses Carbon Events so I'd like to use that here too.. I understand you can process text input using Apple events, but that's not what I want to do here if I can avoid it. How do I do this? |
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |