Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Addobject()
Message
De
12/04/2004 17:43:45
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00893864
Message ID:
00894236
Vues:
15
Arto-

>Actually I'm looking this because I ran this with the CB. WHEN you have existing VCX or SCX and you generate a code from it. The VCX or SCX works but PRG doesn't.

This is a different issue than properly setting up your column! When you generate code from the Class Browser, contained objects aren't correctly defined. The code I posted to you was corrected and should have run, however. If you wish to run code you generate with the Class Browser, you too will need to make some adjustments for contained objects.

> Why I'm not chancing the BOUND to .F. is that BOUND property is not touch in the SCX or VCX and the PRG should be and work just than the source it was generated from.

The Bound property needs to be .F. for what you are doing, regardless of whether you are working with visual or programmatic classes. As the Nike ads say, just do it.

>However as I mentioned before with Try...Endtry I can get it to work without PRG properties differs from SCX or VCX.

That is because, I think, you do not catch the error. I can't say for sure. But, I _do_ know that if you want a column to have two different controls bound to two different controlsources the column will have to be unbound.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform