Dear all, does anyone have experience with HTML5 controls recently?
CODESYS 3.5.20.30 / Visualization 4.6.0.0
I'd like to create a simple lightweight text editor, with proper multiline handling, cut & paste, scrolling, etc. And it seems to work fine, just have problems with strings longer than 80 bytes....
Declaring a variable
sText1:STRING(8000)
and referencing it in the HTML5 Controls corresponding value property works perfectly one way:
the code receive the data as a string (See log1)...
(Note TypeID 1000...)
Also sending back the data (seems to work (See log2)
except it doesn't change the value of the bound variable. Probably the issue is with using SendSimpleValue method...
Naturally, I could do a workaround, but maybe there is a more standard way to implement this...
Dear all, does anyone have experience with HTML5 controls recently?
CODESYS 3.5.20.30 / Visualization 4.6.0.0
I'd like to create a simple lightweight text editor, with proper multiline handling, cut & paste, scrolling, etc. And it seems to work fine, just have problems with strings longer than 80 bytes....
Declaring a variable
and referencing it in the HTML5 Controls corresponding value property works perfectly one way:
the code receive the data as a string (See log1)...
(Note TypeID 1000...)
Also sending back the data (seems to work (See log2)
except it doesn't change the value of the bound variable. Probably the issue is with using SendSimpleValue method...
Naturally, I could do a workaround, but maybe there is a more standard way to implement this...
Please let me know if you have any suggestions.
Last edit: Strucc.c 2024-10-23