[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Filtering editable-text-dialog-item's
- To: info-mcl@cambridge.apple.com
- Subject: Filtering editable-text-dialog-item's
- From: Thad.Humphries@p0.f716.n109.z1.FidoNet.Org (Thad Humphries)
- Date: 18 Sep 91 12:18:58
I'm new to MCL and am trying to figure out how to filter an editable-text-dialog-item such that a user can only enter a number. I've tried creating a numbers-only-item class based on editable-text-dialog-item with a view-key-event-handler that will check char and remove it if it isn't a part of a number but I can get anything to work. Suggestions?