CompuServe Messages

#Visual Basic Look

    03-Oct-91 07:51:41
Sb: #Visual Basic Look
Fm: Alexis Hadjisoteriou 72160,2505
To: ALL
More and more Windows applications writen with or without VB have a 'sunken' 3-D effect, e.g Dupe v1.3, Norton Desktop, Contacts Manager etc. In Visual Basic I can achieve the 'look' using the LINE command, e.g Sub Form_Click () form1.line (100,101)-(201,101), &H808080 form1.line (99,101) – (99,200),&H808080 form1.line (100,201)-(202,201),&HFFFFFF form1.line (201,102)-(201,201), &HFFFFFF etc …. This has the effect of drawing a nice box with that 'sunken' 3-D effect. What I am having difficulties in doing is to then put objects like text boxes, list boxes etc. on top of this 'sunken' area. Has anybody done this There is 1 Reply.