My apologies

The interactive change event is indeed related to a EDIT/memo event
and it should then display the number of characters
The ENTER key is a reference to start a NEW LINE

I have this working elsewhere without any issues, but in that instance, I
do not ever want to start a new line because it relates to a SMS/Txt
message.




On Thu, Jun 6, 2013 at 1:23 PM, Ken Dibble <[email protected]> wrote:

>
>  I'm having a problem with editing a memo file
>>
>> My code says
>>    trcask603=LEN(ALLTRIM(this.**value))
>>    thisform.label9.Caption="**Description of project
>> ("+ALLTRIM(STR(trcask603))+" size)"
>> lines)"
>>    thisform.label9.Refresh
>>
>> For some reason, this then does not allow me to press the ENTER key
>> The cursor stays in the same position instead of dropping down a line
>>
>> Ant ideas from anyone ?
>>
>
> You mention a "memo file" but all your code shows is the contents of a
> Value property of some control. There are several controls that this might
> be, but in any of them,
>
> LEN(ALLTRIM(THIS.Value))
>
> will be the number of characters--not "lines" as mentioned in your
> caption--in that control.
>
> I'm not sure what you're trying to do with the ENTER key. You mention a
> label control, but the ENTER key can't interact with a label.
>
> Assuming the control is an editbox, then you may be wanting to investigate
> the SelStart, SelLength, and SelText properties of editboxes.
>
> If you provide some more explanation of what you're doing, maybe we can
> help further.
>
> Ken Dibble
> www.stic-cil.org
>
>
> ______________________________**_________________
> Post Messages to: [email protected]
> Subscription Maintenance: 
> http://mail.leafe.com/mailman/**listinfo/profox<http://mail.leafe.com/mailman/listinfo/profox>
> OT-free version of this list: http://mail.leafe.com/mailman/**
> listinfo/profoxtech <http://mail.leafe.com/mailman/listinfo/profoxtech>
> Searchable Archive: 
> http://leafe.com/archives/**search/profox<http://leafe.com/archives/search/profox>
> This message: http://leafe.com/archives/**byMID/profox/5.2.1.1.1.**
> 20130605211649.0217f008@POP-**Server.stny.rr.com<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.
>
> Report [OT] Abuse: http://leafe.com/reportAbuse/**
> 5.2.1.1.1.20130605211649.**[email protected].**com<http://leafe.com/reportAbuse/[email protected]>
>



-- 
Kind regards
Sytze de Boer
Kiss Software


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAG1nNy-FPi4MwtZmdbwy7ax=hn74sgdwrzgn3yc7gnjfy26...@mail.gmail.com
** 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