Back

June 1999 Tips & Tricks

VB 6:  I put a frame on a form and put some text boxes on the frame. When I double clicked the label control and moved the label to the frame, you could not see the label nor the caption property of the label. This seemed odd.
After selecting the label control in the properties window, then experimenting to no avail with the "send to back," "send to front" command, I fired up the
MSDN CD (Microsoft Developer's Network, Microsoft's tech support offering available both on CD and as TechNet on the Microsoft web site at www.microsoft.com/technet/default.htm). I used key words "send to back" and "front" but found no assistance on the problem.

Then I tried a different approach. I clicked the label control on the tool palette, instead of double clicking the control, then dragged the label control across the frame to the appropriate size. This time I could see both the label and the caption of the label on the frame.

Hope this tip saves you Visual Basic developers some time.


Copyright 1999, 2000, 2001 Diablo Valley PC Users Group. All rights reserved.