Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DATA DRIVEN CONTROL
Message
De
06/06/1999 22:05:13
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00225111
Message ID:
00226953
Vues:
22
Thanks very much. I took your suggestion.

However, since I don't like to multiply properties needing to be set unneccesarily, I require only one property to be set -- the cControlSource which takes the standard vfp form of "table.field". I use CURSORGETPROP to derive the database. If it is not the default database, I make the it default just long enough to use DBGETPROP and then set default to what it was previously.

I also added one additional property, to let the developer make the label self-sizing in terms of width without affecting the manually set height. (This can of course be turned off, and is overridden if autosize is set on.)

I've sent this as a download, and presumably it will be available in whatever the standard time frame is. It is a small 4 K zip file (ddlabel.zip) with a small vcx library ddlabel containing just the one control. Don't know if I should have provided the export code instead. Since a lot of people have answered a lot of questions for me on this bulletin board, I hope it will be useful to some of them. So far it has saved me a lot typing, and helped me keep my forms consistent with one another and the data.


>Gar,
>
>The Data Environment does open the database for you, but it does not make that database the current one (SET DATABASE TO ...)
<snip>
Thanks

Gar W. Lipow
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform