08-18-2021 07:31 AM - edited 08-18-2021 08:05 AM
I know this question sounds maybe somewhat basic. I cannot type anything in the string box that I have on the panel.
In the code there is only one line that calls the string box from the panel which is:
GetCtrlVal(sPanels.P_Hauptmenue,P_MAIN_Orderdata,cOrderdata);
Here are the settings of the box:
There is only this string box where we can put text in, but after compiling and starting the program nothing can be written in the box.
Thanks a lot in advance!
Solved! Go to Solution.
08-18-2021 09:08 AM
I just found the problem. it was this line:
SetCtrlAttribute (sPanels.P_Hauptmenue, P_MAIN_Orderdata, ATTR_MAX_ENTRY_LENGTH, scOrderdata);
the ATTR_MAX_ENTRY_LENGTH (which is -1) made the typing of text in the string impossible.