LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I fix unpredictable window minimization behavior in executable?

Solved!
Go to solution

Hi everyone,

 

I'm having a problem with window size in executable versions of my program. I've tested my executable in XP (which doesn't have the development environment) and win7(which has the development environment), and for me the front panel displays correctly. It preserves the size and dimensions I specified in the vi, and maximizes as you would expect.

 

When my employer tests the program on his own win7 and xp systems, however, he gets some odd behavior. The front panel displays much smaller than specified, so he has to use scrollbars to see all of the features. When he tries to maximize, the grey background maximizes, but the front panel doesn't. That is, the scrollbars stay in the exact same place, and he doesn't see any more of the front panel than when the vi first loads, so he still has to scroll to see all of the features.

 

I thought this was just a weird build bug, but it turns out that this has been a problem the whole time I've been sending him builds (a few months), so just rebuilding is not going to help. I also can't replicate the error, which makes it really hard for me to fix it.

 

Any ideas?

Thanks,

Alex

0 Kudos
Message 1 of 4
(2,470 Views)

What options do you have checked under the VI Properties...Window Size? What monitor resolution are you running versus your customer?

 

And you mean maximization behaviour as opposed to what you put in the Subject line, right?

0 Kudos
Message 2 of 4
(2,464 Views)

Yes, that's correct--I meant to write maximization. It's been a long day. 

 

My win7 has1366x768 resolution, and my xp has 1280X800 (reminder: the .exe behaves correctly on both of these computers). I'm not sure what my employer's resolutions are.

 

I don't have any boxes checked.

 

Since the resolutions AND aspect ratios of both working setups are different, I'm inclined to think this isn't the issue--but I will post my employer's resolutions when I can.

 

-Alex

 

 

 

0 Kudos
Message 3 of 4
(2,456 Views)
Solution
Accepted by topic author Alex1.618

Turns we just had a miscommunication--there actually isn't a problem!

 

Thanks and sorry about that,

 

Alex

0 Kudos
Message 4 of 4
(2,434 Views)