Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Cetin Basoz
  Where is Cetin Basoz?
 Izmir
 Turkey
 Cetin Basoz
 To: Biju Thomas
  Where is Biju Thomas?
 Kochi
 India
 Biju Thomas
 Tags
Subject: RE: Draw on a form during run time
Thread ID: 155124 Message ID: 155132 # Views: 3 # Ratings: 0
Version: Visual FoxPro 8 Category: General VFP Topics
Date: Tuesday, December 25, 2007 3:19:33 PM         
   


> >
> > Yes you can use line,box... methods.
> >
> > Cetin Basoz
>
> Thanks Cetin Basoz
> That's good in case of a Form. Imagine, during run time we have placed a mark on a picture placed on an image control. How can we save the mark along with the picture and retrieve the same at the exact position.
> With Regards,
> Biju Thomas

Use something like paint.
Another alternative is to make a little trick (I have done this in VFP5 days, maybe now you can use GDI+ instead):
Instead of saving lines, save vertex coordinates and redraw when needed over the picture.

Cetin Basoz

ENTIRE THREAD

Draw on a form during run time Posted by Biju Thomas @ 12/25/2007 12:44:21 PM
RE: Draw on a form during run time Posted by Cetin Basoz @ 12/25/2007 1:18:02 PM
RE: Draw on a form during run time Posted by Biju Thomas @ 12/25/2007 1:46:48 PM
RE: Draw on a form during run time Posted by Cetin Basoz @ 12/25/2007 3:19:33 PM
RE: Draw on a form during run time Posted by Biju Thomas @ 12/26/2007 3:15:58 AM
RE: Draw on a form during run time Posted by tushar @ 12/25/2007 5:24:02 PM