Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Odd Bug with Grids and Dialogs Collapse All
Subject Author Date
Bill Olson Mar 11, 2014 - 4:34 AM

This is probably not anything anyone will run into in code they want to release, but it may happen in development.


I modified a dialog to add a grid along with some other controls.  While I was working on another area of the dialog, I left the grid uninitialized.  When the dialog came up, any controls that had an AddAnchor in the OnInitDialog were not drawn.  Resizing the dialog would bring everything back.  Controls that didn’t have an AddAnchor drew just fine.


When I initialized the new grid with just a cell that said "TBD", everything drew OK.

 


It may have some weird interaction with something else I am doing.  I didn’t try to create a stripped down project with just that code.


Just putting it out there in case anyone runs into it in the future.   It’s a minor bug in the grand scheme of things, but it did cause me to waste a couple of hours chasing it.


Bill


 


 


 

Art Wilkes May 7, 2014 - 9:14 AM

Prof-UIS Support Group
Thanks for the report.
If it shows up again we will investigate.
We will also try to get a test case where this can be checked.
Do you have a sample program that would exhibit this behavior. If so could you send it to us.

Prof-UIS Support