LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

panel redraws when changing ATTR_SIZABLE state

I have found a bug (or at least undocumented behavior).  I have a panel that I programmatically change the resizing attribute (ATTR_SIZABLE) at various times (user login).  

 

When my software does this

 

SetPanelAttribute(panel,ATTR_SIZABLE,state);

 ... the panel redraws.  By "redraws", I mean it appears as if there was some hidden HidePanel / DisplayPanel happening in rapid succession.  It's a very annoying and disorienting effect for my user.  

 

If I comment out that one line, the redrawing doesn't happen as I would expect and intend.

 

At the moment, I have no work-around.

0 Kudos
Message 1 of 4
(4,388 Views)

Hah ! I was tracking down that 'panel blink' problem last week and thought it was something like that. Since it was a minor problem I didn't exactly find what the problem was, but that's it, I confirm.

Message 2 of 4
(4,356 Views)

Anyone know how to submit an official bug report?

0 Kudos
Message 3 of 4
(2,051 Views)

Hi ElectroLund,

 

You can report a bug by going to https://sine.ni.com/srm/app/getassistance, signing into your NI account, and clicking the link near the bottom of the page that says "Report a Bug"

Applications Engineering
National Instruments
Message 4 of 4
(2,035 Views)