Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Property as 2 but taken as a string
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00213940
Message ID:
00213977
Vues:
35
>>>Put ="2" in the property sheet.
>>>
>>>>I would like to have a form property setup at design time as 2 and interpreted as a Character. Is this possible? How do I setup a property to be a chracter string and set the initial values to 2 or 3 or 12 or 15?
>>
>>I tried '2', and the code:
>>
>>.AddListItem( THISFORM.cPageADL, lnNextItem,2)
>>
>>Where cPageADL is the property with '2' and it added '2' to the list. It brought in the single quotes with it. Would double quotes be interpreted differently?
>
>Bret,
>
>Single or double quotes don't matter. The key is putting the equals sign before the quoted value:
>
>='2'

Thanks I knew there had to be some way of doing it.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform