Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class on Main Window
Message
De
29/05/1998 16:56:21
Ryan Hirschey
Federal Reserve Bank of New York
New York City, New York, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00103242
Message ID:
00103244
Vues:
19
>I'm trying to programatically put a class on the window screen.
>
>Can anyone get me started??
>
>Bob

Try _screen.AddObject(cName, cClass [, cOLEClass] [, aInit1, aInit2 ...])

Arguments

cName Specifies the name used to reference the new object.

cClass Specifies the class of the object to add.

cOLEClass Specifies the OLE class of the object to add.

aInit1, aInit2 Specifies parameters passed to the Init event of the new object.

Remarks

Calling the AddObject method triggers the Init event of the object being added. When a form is added to a form set, the Load event occurs before the Init event.

When you use AddObject to add an object to a container, the object’s Visible property is set to false (.F.) so you can set the properties of the object without any awkward visual effects as the object’s appearance changes.
Ryan Hirschey
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform