Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Property as 2 but taken as a string
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00213940
Message ID:
00213952
Views:
36
>>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'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform