|
-
May 6th, 2001, 06:25 AM
#1
Thread Starter
New Member
Creating line
I was wondering is it possible to tell a program to draw a line, I mean that when form1 is empty but in the form_load is a piece of code that draws a line from side to a side of the form. If its possible how about coloring the line?
-
May 6th, 2001, 06:29 AM
#2
It's possible, it's easy. But form_load is not the place to do it.
If you want' the code in the form_load event, you show set the autodraw property of the form to true. Else put this code in the form_paint event.
Code:
me.line (X1, Y1)-(X2, Y2),Color
-
May 6th, 2001, 06:34 AM
#3
Thread Starter
New Member
Thanks AIS_DK that does the trick
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|