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'
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.
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.
The ImageLibEx objects are a superset of those in the ImageLib library which I think, but I'm not sure, that you get in the trial version. Look in the help.