rick@pbi.COM (Richard M. Goldstein) (02/04/91)
My idea was to make a function that checked the date entered by the user as the user typed it in, so I defined a text field (Data: _______) and an event routine and this is what DevGuide gave me (my own indentation!): How do I for tell the notifier to ignore the last keystroke because the user entered a letter when a number was expected? Normal XView programming would allow me to _return_ PANEL_NONE to tell the notifier to discard the input!!! Leif Andrew the answer is simple: don't forward the event to "panel_default_handle_event()" if it is one you want ignored. i do this all the time to implement float-textitems. ***wouldn't it be nice to make actual xview exensions out of these?*** rick %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % Richard M. Goldstein % % % % Perfect Byte, Inc. Phone: (402)554-1122 % % 7121 Cass St. Fax: (402)554-1938 % % Omaha, NE 68132 email: rick@pbi.com % % % % "If I knew what I was doing, % % d'ya think I'd be in Omaha?" % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%