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
I have a small form with 2 x textboxes and 1 x editboxes
I want text2 to display the number of characters in the editbox
So, in the interactivechange i have the statement
thisform.text2.value=len(alltrim(mExpression))&& the variable in Edit1
thisform.refresh
Nothing seems to work with this co
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 cur
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
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
DEFINE CLASS MemoBox AS EditBox
PROCEDURE InteractiveChange
trcask603=LEN(ALLTRIM(this.value))
* Your original code below; it throws a Syntax error because
* you have an uneven number of double quotes and/or a missing
* plus (+) sign.
*this
when I run your code, it is fine.
In my instance, the form is a SCX/SCT and it does not work
I'll try it with the refresh()
On Thu, Jun 6, 2013 at 2:19 PM, Ken Dibble wrote:
>
> My apologies
>>
>> The interactive change event is indeed related to a EDIT/memo event
>
It is not sure that the variable is updated in the interactive change
event. So you can try to write
thisform.text2.value=len(alltrim(This.value))
The second problem is : interactive change event is fired only when a
caracter is typed. So you must initialize text2 in the init of the form
(for
Try thisform.text2.refresh() instead.
Sytze de Boer wrote:
> I have a small form with 2 x textboxes and 1 x editboxes
> I want text2 to display the number of characters in the editbox
>
> So, in the interactivechange i have the statement
> thisform.text2.value=len(alltrim(mExpression))&& the
9 matches
Mail list logo