Tools Links Login

Stop Typeing in Textboxes but dont diasble them

This Code stops the End-user typing o#into a textbox but still allows them
to scroll it because it is not disabled

Original Author: Andrew Timberlake

API Declarations


Code

in textbox_keypress
keyascii = 0
in textbox_keydown and textbox_keyup
keycode = 0
Its as simple as that.

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 92 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.