Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
redraw/redrawLabels not working
System
I have noticed that if I have code such as the following:
IWDatacapture.gotoPage( 1 );
IWDatacapture.getItem( "/field" ).setFocus();
IWDatacapture.getItem( "/field" ).setValid( false );
IWDatacapture.setHighlightMode( true );
IWDatacapture.redrawLabels();
Whether the last line is redraw or redrawLabels, sometimes the form does not redraw correctly. If I use the following instead, it seems to work.
setTimeout( "IWDatacapture.redrawLabels();", 200 );
I am not sure what the cause is but I thought someone else might find this useful.
Find more posts tagged with
Comments
There are no comments yet