Iwant to Draw A rectangle

aru

Member
hi
iwant to draw a rectangle what are the methods i got a method by using basicfor ppc help in this program there are some objects

The program is

Sub App_Start
Form1.Show
drawer.New1("Form1",false)
rect1.New1(20,20,40,80)
pen1.New1 (cBlue)
drawer.DrawRectangle(pen1.Value,rect1.Value)
drawer.Refresh2(rect1.Value)
End Sub

where can i get this objects named 'drawer ','rect1','pen1'

please help me
Aru:sign0085:
 

Cableguy

Expert
Licensed User
Longtime User
If you only need to draw a rectangle on a form, you can use form.line...
define the diagonal points as x1y1 and x2y2, and then define it as a box....You can even define it as a filled box if you want.
 

klaus

Expert
Licensed User
Longtime User
The objects you are referring to are in the ImageExLib libraries.
In these libraries you have almost whatever you need for graphics but they are available only to users who have bought B4PPC.

Without the library you can use cableguy's suggestion.

Best regards.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…