Both of these are good suggestions depending on what you want. The first will make it impossible for a user to even type a non-numeric character into the edit box. The other will let you know if they have used non-numeric characters after they have entered the data.
Actually, there are no components on the child. I pass the handle to the window to a set of Cadd routines that allow me to draw within it. The work around I have come up with is to set a timer so that after a few seconds have passed I open and close a dialog box which is never seen but doing so...
I have an MDI application with a page control that has edit boxes and spin edits on several of the tabs. I use the FormKeyDown method of the childwin unit to handle keyboard inputs but when the user clicks in an edit box on a tab on the page control, it never gives the focus back to childwin so...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.