Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running Paint inside a form?
Message
From
15/02/2001 03:03:44
 
 
To
14/02/2001 21:43:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00476129
Message ID:
00476173
Views:
30
>Hi to all,
>
> I'm thinking if it is possible to run the Paint Program inside a Form? Can VFP handle this? If ever YES, can anybody make a sample for me?
>
>Thanks in advance..
>
>Noel

You can drop a Bitmap Image ActiveX control on a form. Double-clicking on this control at runtime will activate Paint. To return to VFP, you click outside the image in paint (you'll see your whole form in paint) on your form and you'll exit Paint back to your app.

Under the menu Tools/Options.../Control make sure the Bitmap Image ActiveX control is registered.

You can now select the ActiveX controls list in the Form Designer, and drop one of these on your form.

There may also be other ActiveX type controls you can use, 3rd party or otherwise.

I don't believe that the Paint program itself is an automation server.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform