Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vartype()
Message
De
29/07/2002 18:24:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
29/07/2002 18:10:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00683724
Message ID:
00683748
Vues:
30
>>>Hi All,
>>>Is it possible to change the type of a text box programmatically?
>>>Thanks,
>>
>>Just assign something to the Value property.
>>
>>For instance, if you need a date: This.Value = {}
>>
>>HTH, Hilmar.
>
>Hilmar,
>Yeah, that's what I did, I was just thinking there may have been something I hadn't heard of. Sometimes I do things and then find out that there is a better way and wish I had known about it.

Well, I know of no special property to specify the type of a variable, or of a property. Properties where several types are allowed (including .Value) just have to to be assigned a field, constant, etc., of the desired type.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform