how do i create a dotted line rather than a solid one. I would be grateful for any help Thanks
Change the BorderStyle property of the Line
--------------------- IconTextBox Custom Control DropDown ListView Custom Control
Actually, its the DrawStyle property. Paste this code into a new project and click on the form VB Code: Private Sub Form_Click() Dim I As Integer ScaleHeight = 8 ' Divide Height by 8 For I=0 to 6 DrawStyle = I ' Change Style Line (0,I+1) - (ScaleWidth, I+1) ' Draw new line Next I End Sub
Private Sub Form_Click() Dim I As Integer ScaleHeight = 8 ' Divide Height by 8 For I=0 to 6 DrawStyle = I ' Change Style Line (0,I+1) - (ScaleWidth, I+1) ' Draw new line Next I End Sub
I was refering to the line control, not the Line drawing function. He didnt specify how he drew the line
Forum Rules