08-05-2011 10:04 AM - edited 08-05-2011 10:05 AM
I have some floating controls on my front panel because they are situated over a cluster. When I switch from edit mode to run mode or run to edit, my controls won't go from floating to not floating, or vice versa, until I either mouse over them, move a window over my LabVIEW window, or scroll on my LabVIEW window. I have tried restarting LabVIEW but it has not solved it. Has anyone else seen this and been able to remedie it? It's like my LabVIEW window is not refreshing until some event on it happens. Image below is before and after I scroll
Solved! Go to Solution.
08-05-2011 11:51 AM
Interesting. Obviously you need to force a redraw to work around this cosmetic glitch. Try involking the method "Reinitialize all to default" on the FP at launch.
08-05-2011 12:01 PM
This is frustrating, and you may find that System buttons act differently than Modern, etc.
Group the "floaters" with your cluster, and you should be ok. It's a good practive anyway for when you move stuff.
08-05-2011 01:07 PM
@broken Arrow wrote:
This is frustrating, and you may find that System buttons act differently than Modern, etc.
Group the "floaters" with your cluster, and you should be ok. It's a good practive anyway for when you move stuff.
I had done that, but the problem is I have to use a local variable ( queued state machine with no parallel loops...it's OK!!!) because I need to initialize the controls values at startup. So, if I put the buttons in the cluster, I then cannot use the latch mechanism. I guess I can try with a property node's value property. Will that allow me to still use latch?
08-05-2011 01:10 PM - edited 08-05-2011 01:12 PM
Double you, tee, eff (how's that for avoiding abreviations ). If I move the multicolumn LB so it's not floating, then everything resets properly the first time. Then if I run again, it goes back to the old behavior. So then I move it back so it is floating, the first time it works properly. The next time, it doesn't....weird.
It seems to all be triggered off the MC Listbox switching from either floating to not floating
08-05-2011 01:15 PM - edited 08-05-2011 01:17 PM
imstuck,
I didn't mean put the buttons in the cluster, I meant use the grouping tool to physically group the hovering buttons with the cluster. try it!
08-05-2011 02:19 PM
NICE!