Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Intermediate
Aug 21, 1997

Use a Picture Control to Create a Beveled Panel

Occasionally, you may want to use on your form a beveled panel that allows you to designate a background bitmap. Rather than use a third-party control, you can use the Picture control provided as a core DLL function (non-OCX) in all versions of Visual Basic 4. Place a Picture control on your form, and set the Appearance property to "1 - 3D" and the BorderStyle property to "1 - Fixed Single." This creates the bevel effect. Now set the Picture property to the desired image. You may now place controls directly on the picture control. Remember to set the "Background Style" property to "0 - Transparent" for all controls where you would prefer the background image to be displayed.
Marc Mercuri
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date