How to avoid that after displaying a new Web-Page on a MB-Display or a CE-Panel a hidden painter (button or other painter) on the new page is shown shortly for one second?
FAQ #100879
You have to use a special comparison condition “<” then “1” (less then value 1) in the option “Hide and Disable Painter” of the painter properties.
The S-Web Editor allows hiding elements depending on the value of the PCD variable.
This is done with the option “Hide and Disable Painter” on the painter properties.
If you do use a comparison condition “=” and for example you want to check if a flag of the PCD has the value 0 or 1 then during runtime the MB-Display or CE-Panel have to read first the value of the PCD flag.
As soon as the MB-Display knows the status of the flag the condition of the comparison is checked and the depending of the result, the painter does hide the painter or not.
The MB-Display or the CE-Panel does show the painter until he knows the status of the flag.
This behavior lead to the situation, that the painter is shown shortly on the MB-Display or the CE-Panel.
To avoid this behavior you have to use the comparison condition
“<” then “1” (less then value 1)
instead of the condition
“=” then “1” (equal then value 1) in the option “Hide and Disable Painter” of the painter properties.
Please note that this behavior occurs only on:
- MB-Display (PCD7.D4xx)
- CE-Panel if the Microbrowser is used. (PCD7.D5xxx)
Categories
Web Editor5
PCD7 / D5xxx (Windows CE)
PCD7 / D4xx (MB Panel)
Last update: 29.05.2015 18:07
First release: 08.02.2008 15:45
Views: 4562