README.md

December 5, 2022 ยท View on GitHub

Disable textboxes without graying them out! (NO API)

Description

This article will allow you to enable/disable a textbox using a picture box to control it.

More Info

Submitted On
ByCD
LevelBeginner
User Rating3.4 (31 globes from 9 users)
CompatibilityVB 4.0 (32-bit), VB 5.0, VB 6.0
CategoryVB function enhancement
WorldVisual Basic
Archive File

Source Code

  1. Start Visual Basic.
  2. Then, start a new project.
  3. Next, Add a picturebox control to form and make it flat and the same backcolor as the form backcolor.
    4. After you have added the picture box you will need to add a textbox and put it in the picture box. (NOTE: NOT OVER IT BUT INSIDE IT)
  4. Make the picturebox control disabled to disable typing in the textbox without graying it out, and make it enabled to type in the text box.

If you have read this article, then thanks for reading it.
Carroll Dearstone