Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wordwarp
Message
From
18/09/2007 04:02:43
 
 
To
18/09/2007 03:52:32
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01255011
Message ID:
01255023
Views:
18
via this code i can see it all
? " ",SUBSTR(cName,i,1) + CHR(13)

i need to display every 2 minutes(timer), some words at mytext as wordwarp words.

>SUBSTR(cName,i,1) will give you only the first character. Maybe it's better if you give some samples, what do you have and what do you want to see?
>
>>hi,
>>i see only the first charcter at mytext,
>>
>>
>>>The comma is valid after ?, but not in a textbox. Try
>>>
THISFORM.TEXT1.Value= "     "+SUBSTR(cName,i,1) + CHR(13)
>>>NB! It's a good habit to never use a chr(13) alone, I suggest that you always use chr(13)+chr(10). A chr(13) alone will work fine on a screen, but if you add a chr(13) alone in a file, some editors will show the line before the chr(13) and the line after, on top of each other. Chr(10) will add a line feed, which is what you really want.
>>>
>>>>hi all,
>>>>
>>>>any idea for...syntax error
>>>>THISFORM.TEXT1.Value= " ",SUBSTR(cName,i,1) + CHR(13)&&syntax error
>>>>
>>>>
>>>>cName = "H E L L O"
>>>>FOR i=1 to Len(cName)
>>>>	? "     ",SUBSTR(cName,i,1) + CHR(13)
>>>>      **THISFORM.TEXT1.Value= "     ",SUBSTR(cName,i,1) + CHR(13)&&syntax error
>>>>ENDFOR
>>>>
>>>>thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform