Kbase P158936: UltraGrid not painting properly when .w displayed over .NET form then moved away
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  19/03/2010 |
|
Status: Unverified
SYMPTOM(s):
UltraGrid not painting properly
ABL .w window is displayed over the .NET form
When ABL .w window is moved the .NET form fails to repaint properly
FACT(s) (Environment):
OpenEdge 10.2B
Windows
CAUSE:
The .w issues a CREATE WIDGET-POOL statement and then instantiates the .NET Form. In the .NET Form a dynamic query is created as the bindingSource for the UltraGrid. The dynamic query gets stored in the .w's widget pool (because it was the last unnamed widget pool created). When the .w goes away so does everything in its widget pool which means that the dynamic query goes away and is automatically detached from the bindingSource. At this point, the bindingSource has no data.
FIX:
Add a USE WIDGET-POOL phrase to the CLASS statement for the .NET Form.