PlanetSquires Forums

Support Forums => PlanetSquires Software => Topic started by: Petrus Vorster on January 17, 2023, 03:47:50 AM

Title: Windows7 odd results
Post by: Petrus Vorster on January 17, 2023, 03:47:50 AM
Good Day Everyone

Windows7 is giving me real weird results compared to Win10.
I made a little project that uses PANELS & Anchoring extensively.

It works perfectly on windows10, but the same project messes up the anchoring in Windows7 completely.
Forms does not resize correctly (TOP and LEFT anchor is fine, but it seems HEIGHT and WIDTH remains the same as design time and not in run time.

The problem is the Company only has vintage computers, some still on XP. I have to get it working on Windows7.

I have tried the normal CHILDFORM anchor (the check boxes) and tried to Set the form using SETBOUNDS, and on Windows7 the very same project that works on Windows10 gives the same odd results.

Any ideas would be great.

Regards,

Peter
Title: Re: Windows7 odd results
Post by: Petrus Vorster on January 17, 2023, 04:37:15 AM
Ok, this gets weirder by the minute, but I have some solution.

If i use the same project files and compile on Windows7, then i get all this weird anchoring and resizing issues.
If I compile at home on Windows10 and bring the EXE back to work, then it runs perfectly on Windows7.

I suppose then its work from home then....
Then there is no need to dig into the Win7 issues if the exe runs fine.

Regards,

Peter
Title: Re: Windows7 odd results
Post by: Bumblebee on January 17, 2023, 08:41:47 AM
Are you using the default xml manifest?
Title: Re: Windows7 odd results
Post by: Petrus Vorster on January 17, 2023, 09:15:06 AM
Hi

Yes, everything default as I downloaded it from Github.

Regards,

Peter
Title: Re: Windows7 odd results
Post by: Bumblebee on January 18, 2023, 09:22:36 AM
You could try deleting this section from the xml, and see if that resolves the issue under Windows 7.

      <dependency>
         <dependentAssembly>
            <assemblyIdentity
               type="win32"
               name="Microsoft.Windows.Common-Controls"
               version="6.0.0.0"
               processorArchitecture="*"
               publicKeyToken="6595b64144ccf1df"
               language="*" />
         </dependentAssembly>
      </dependency>

This was a long time ago, when I had Win 7 on my old laptop. Deleting that section resolved some visual issues on the finished application.
Title: Re: Windows7 odd results
Post by: Petrus Vorster on January 18, 2023, 09:36:54 AM
Thanks Mate

I figured a way out eventually.
A few things I tried on Windows 7 worked, but I have absolutely no idea why. ;D

Thank you for trying.

Regards, Peter