Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writeexpression() messes up grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01335095
Message ID:
01335229
Vues:
14
Hi David,

>So you can't reproduce the problem? Hmmm..

Maybe I'm trying to reproduce something different than you do... The only effect with lines is that if I set all columns to visible there's one ghost line that only disappears after setting the last column back to visible. This line is also only visible at design time.

> I am using writexpression(), **I think**, because from what I've read, that is the 'proper' way to assign values to properties, at design time.

It depends on what kind of values you need to assign. WriteExpression is the programmatic way of clicking the "fx" button in the properties window. It allows you to specify an entire expression that is evaluated the first time a class or form is loaded. If all you want to do is to assign a static value, you can directly assign it to the reference in the class designer.

The only exception for both cases are array properties. Those can only be initialized in code that you can create with the WriteMethod() method.
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform