PDA

Click to See Complete Forum and Search --> : Ctrl C


wlho
Apr 9th, 2001, 03:33 AM
i'm creating an new activeX, i hit a problem.
i'm creating an ActiveX using the MSForm.Textbox, n the textbox can only key in numeric. i can detect the character n not allow the character key into the textbox. but the problem iz if the user use CTRL V to paste the character into the textbox, it can. so, now i 1 to check the data tat user wanna to paste into the textbox first b'for the data goes into the textbox. if the data iz all character, then i'm not allowed it happen. if the data iz all numeric then i let it go...... how to do tat??? iz there anybody know???

simonm
Apr 11th, 2001, 09:37 AM
Using the Text Property Let procedure (of your user control) to check the text being entered (pasted or typed) and validate it there?