Click to See Complete Forum and Search --> : 3D.


October 14th, 1999, 10:48 AM
Is it so hard drawing 3D usercontrols?? Anyone got a simple code??

wayne
October 16th, 1999, 07:05 PM
It's best to make the button as an activeX button that way it can be used on any program you write.
Start with a lable and set it's allignment property to center. Using four line contrils place them around the label to form a rectangle. Set the border width to 2. On the left and top ones set their colors to white. You should now have what appears as a 3D button.Set the label mouse down event to change the 2 white lines to black and the two black lines to white. Then reset the colors on the mouse up event.
Hope this helps.

October 18th, 1999, 02:14 AM
Thanks, but I've found an easiest way: there's a control in microsoft forms 2.0, owning special effects properties!!