[Pas2js] onevent question
Michael Van Canneyt
michael at freepascal.org
Mon Sep 7 18:40:00 CEST 2020
On Mon, 7 Sep 2020, Mgr. Janusz Chmiel wrote:
> 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?
Yes, after you did Refresh of your object.
Michael.
More information about the Pas2js
mailing list