Page 1 of 1

change the value of an already defined textbox

Posted: Fri Oct 09, 2020 4:32 pm
by ROBROS
Hi friends,
I have defined a date textbox with value nil, works. Another textbox is defined with value nil too.After having entered the date for the date textbox I want the value for the second textbox to be the cDoW(date from the date textbox). Is there a way, or must I define the second textbox after I have entered the date for the date textbox.
TIA
Robert

Re: change the value of an already defined textbox

Posted: Fri Oct 09, 2020 5:14 pm
by mol
you can use ONLOSTFOCUS event of first textbox
put there:
SetProperty("Form","SecondBox", "Value", cDoW(this.Value))

Re: change the value of an already defined textbox

Posted: Fri Oct 09, 2020 6:25 pm
by ROBROS
Thank you mol, works fine, again a new method. Another question: Where can I find such information?

Robert

Re: change the value of an already defined textbox

Posted: Sat Oct 10, 2020 6:07 am
by mol
Documentation and samples :-)