Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Value_assign method
Message
De
08/10/2020 12:38:17
 
 
À
08/10/2020 10:18:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01676509
Message ID:
01676512
Vues:
34
>I have used Assign and Access indirectly with the value field. I created a new property on my textbox class for numeric values (Amount) with the Access and Assign methods. These would set or query the Value for a numeric. The Assign would format the display Value property based on number of decimals, comma separator, and monetary symbol. The Access method would strip the formatting and return a numeric value from the Value property. This has worked without any problems.

I've used it heavily too. It's a great way to intercept things.

Have you ever tried it with a view set to not send updates? We're using the MereMortals 8.1 class, and it caused us headaches everywhere. I wound up removing the value_assign() from our ctextbox class, and creating a new kctextbox, which was a copy of it, and then added value_assign there. Hoops. Jumping. :-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform