Not a Member Yet,
Click here to Register

ID: 246
Viewed: 3481
Added: Jul 22, 2002
Version:
Snippet uploaded by: Mark
Written By: Anonymous
Demo: Sorry, no demo



User Rated at: 0 Stars
Rate This:

Thank you for your vote. Please wait...

It appears you already voted for this snippet

It appears your vote value was empty

Draws an 'etched' line upon the specified form starting at the X,Y location passed in and of the specified length. Coordinates are in the current ScaleMode of the passed in form.

Highlight all by clicking in box
<!---Declaration--->
No declarations

Highlight All
<!---Code--->
'*************************************************************************
'* Function: EtchedLine(frmEtch As Form, ByVal intX1 As Integer, ByVal intY1 As Integer, ByVal intLength As Integer)
'*
'*
'* Parameters: [frmEtch] - form to draw the line upon
'* [intX1] - starting horizontal of line
'* [intY1] - starting vertical of line
'* [intLength] - length of the line
'*
'*************************************************************************
'* Notes:
'*
'*************************************************************************
'* Returns:
'*************************************************************************
Sub EtchedLine(frmEtch As Form, ByVal intX1 As Integer, ByVal intY1 As Integer, ByVal intLength As Integer)
Const lWHITE& = vb3DHighlight
Const lGRAY& = vb3DShadow

frmEtch.Line (intX1, intY1)-(intX1 + intLength, intY1), lGRAY
frmEtch.Line (frmEtch.CurrentX + 5, intY1 + 20)-(intX1 - 5, intY1 + 20), lWHITE
End Sub;


No Comments to show

Please completely fill out the form below if you want to review this snippet. All reviews are subject to validation.


Replying to a Comment...


Adding your comment. Please wait...

Thanks for adding your comment!. After further review it will be added.

There was a problem adding your comment. Please try again.

Please complete all the fields in the form before sending.

© 2002 - 2024 snippetlibrary.com All Rights Reserved. Conditions
Do NOT follow this link or you will be banned from the site!