Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a image box on the fly.
Message
De
24/09/1999 16:22:47
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00267048
Message ID:
00268768
Vues:
20
Thank you for your help. I tried you suggestion and if worked without any problem. However, now I need to add code into the click even of the object I just created. It looks like I can use the Define Class but I am unclear as to how to do this.

This is my scenario: I have a form called frmMyForm. I have a table call Items. In the activate of frmMyForm I select the table and in a do loop add a object, Image bassed off of the bass class of Image, called imgItemX (X is a numeric counter). This works! Now in each imgItem I need to add code in the Click event that sets a verable to the X in the imgItemX. example: imgItem5 in the click event gnItemClicked = 5.

I keep getting nesting error if I try to define the class after adding the object.

What would be the best way to handle this?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform