|
-
Apr 9th, 2001, 03:33 AM
#1
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???
-
Apr 11th, 2001, 09:37 AM
#2
Fanatic Member
What about
Using the Text Property Let procedure (of your user control) to check the text being entered (pasted or typed) and validate it there?
Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|