Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass an array to a property
Message
De
27/06/2002 09:32:55
 
 
À
27/06/2002 08:54:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00672833
Message ID:
00672852
Vues:
20
Hi Jimmy

The way I do this is to declare the array as part of the definition and then copy it across.

For example:

LOCAL loObject AS oleChart
LOCAL loForm AS Form
LOCAL laMyArray[5]

loForm = CREATEOBJECT( "FORM")
loForm.NewObject( "oleChart", "oleChart")
loObject = loForm.oleChart

ACOPY( laMyArray, loObject.iaArray)

DEFINE CLASS oleChart AS OLEControl
DECLARE iaArray[1]
OLEClass = "MSChart20Lib.MSChart.2"
ENDDEFINE


>How can I pass an array to an property (member of an activeX-control like MSCHart) ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform