devxlogo

Showing as 3D

Showing as 3D

Question:
I need a 3D bound text box control so I can avoid having to place standard text boxes in 3D panels for a chiseled effect. I have been unable to find one in the VB 3.0 Professional Edition.Are you aware of any freeware, shareware and/or commercial VBXs that contain such a control?

Answer:
Here’s a solution to do this that does not require any additional controls:

  1. Create a 3D Panel, and set the background color to white in the panel. Make sure the BevelInner is set to “Inset”. That should give you something that looks like a 3D text box, but you cannot type in it yet.
  2. Create a text box. Change the border style to none. Cut the text box and paste it into the panel. (You might want to put some text in it so you can see it. All you need to do then is size the text box and the panel so that the text box does not overrun the bevels of the panel.
This makes it look just right, and it uses the controls you already have.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist