Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running Paint inside a form?
Message
De
15/02/2001 03:03:44
 
 
À
14/02/2001 21:43:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00476129
Message ID:
00476173
Vues:
29
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform