[Pas2js] onevent question
Mgr. Janusz Chmiel
janusz.chmiel at volny.cz
Mon Sep 7 16:50:37 CEST 2020
OK. Here is my important part of The code.
var
o1: TTextInputWidget;
after begin word
There is long code but. Can be condition block after refreshing all objects
such as
FMyPage.Refresh;
If yes, here is conditional block
if o1.value ='Ofélie' then window.alert('Správně, Ofélie.');
But condition block do not react and I have correctly typed
Ofélie
word on The firstly created editable input box.
So is it possible to detect value on run-time if TTextInputWidget object is
used?
Or I would had to use other variable data type such as TJSHTMLInputElement
I have my long code with 36 successfully created input boxes with labels but
now, when I Enter values on some of it, condition blocks do not work.
More information about the Pas2js
mailing list