To all profox contributors (including lurkers)
YOU ROCK

On Fri, Jul 31, 2009 at 10:22 AM, Rafael Copquin<[email protected]> wrote:
> Have you tried this?:
>
> create a cursor like this:
>
> create cursor mycursor(mytext M)
>
> put an edit box in your form and use mycursor.mytext as its controlsource.
>
> Write directly into it.
>
> Or, if you want to show a prewritten message into it, you could do the
> following:
>
> create a variable (ie: cText) and stuff into it a message with chr(13) at
> the end of each line, until you reach the 255 characters limit
>
> then do this
>
>  insert into mycursor values(cText)
>
> clean the variable (cText = '')
>
> put more stuff into it
>
> then insert it again and repeat the process until you completed all your
> message
> Do all of the above in the init event of the form
>
> Then simply show the form with do form myform
>
> Another option is to write your message, however large, into a txt file on
> disc.
>
> Then create the above cursor and append memo from file yourfile.txt into it,
> and show it into the edit box as explained above.
>
> You also do this in the init event of your form.
>
> It should work as you want.
>
> Rafael Copquin
>
>
>
>
> ----- Original Message -----
> From: "Sytze de Boer" <[email protected]>
> To: <[email protected]>
> Sent: Thursday, July 30, 2009 4:24 PM
> Subject: Re: VFP9 messages
>
>
> Some of you gurus can't relate to simpletons like myself.
> Let me explain
>
> Whatever I've tried so far, my variable is trunctated to 255 chars
> So it doesn't work inside a text box or an wrapped label
> I can't figure how to do text endtext inside a form
>
> I know it's something fundamental I'm missing this morning.
> Is this called brain fade or the signs of something far more alarming.
> Alzsomething
>
> S
>
>
> On Fri, Jul 31, 2009 at 8:18 AM, Stephen Russell<[email protected]>
> wrote:
>> On Thu, Jul 30, 2009 at 2:55 PM, Sytze de Boer<[email protected]>
>> wrote:
>>> Sorry about this VFP question ....
>>> What's the best way to display a message inside a form which is larger
>>> than 255 chars
>>> e.g. an error message
>> -------------------------------------
>>
>> Email it?
>>
>> What can't you present in under chr(140)? hehehehehe
>>
>> Why not pop a modal form up in their face?
>>
>> --
>> Stephen Russell
>> Sr. Production Systems Programmer
>> SQL Server DBA
>> Web and Winform Development
>> Independent Contractor
>> Memphis TN
>>
>> 901.246-0159
>>
>>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to