Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wordwarp
Message
From
18/09/2007 04:34:52
 
 
To
18/09/2007 04:28:07
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:
01255031
Views:
15
thank you ,
i know i can do that via label(wardwarp=.t.) , but i need to know why did not work as thisform.mytext.value =....

anyway thanks again
sorry to bothering

>I still don't understand. For the third time, show some samples of what you have, and what you want!!!! We are good at VFP, but not at mind reading. :-)
>
>NB! Why do you use the word wordwrap? Wordwrap means that if you have a long line, it will automatically be divided and shown on more lines, for example in an editbox. Wordwrap in a textbox is impossible, and completely irrelevant.
>
>>ok,
>>no need for timer.
>>
>>i need to see all charcters as wardwarp at mytext ,
>>
>>m.a="     "+ SUBSTR(cName,i,1) + CHR(13) &&it works
>>but
>>thisform.text1.value=m.a&¬ works
>>thisform.text1.value="     "+ SUBSTR(cName,i,1) + CHR(13) &¬ works
>>
>>thanks.
>>
>>>I don't understand. What do you want to see every two minutes? Show some samples, please.
>>>
>>>>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