Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_SCREEN shows XP style in exe
Message
From
15/03/2019 02:24:39
 
 
To
14/03/2019 14:56:13
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 10
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01667192
Message ID:
01667252
Views:
79
>>I wonder if there is a way to change this behavior:
>>
>>When working in the VFP IDE, the _SCREEN shows the Windows 10 style caption (light coloured title bar, minimize,maximize and close buttons transparent).
>>
>>But when compiling the executable and running the application from the exe, the title bar shows the Windows 7 or XP style: blue background etc.
>>
>>Perhaps I am missing a property?
>
>Do you get the same behavior with a "bare-bones" program (e.g. a simple modal dialog box on FoxPro main window) to see if you get the same effect?
>
>Are you using an application framework? This may have an effect on appearance and behavior.
>
>Make sure that the EXE isn't named such that Windows may mistake it for an installation program (e.g. avoid filenames like install.exe or setup.exe).

That was a great idea. Indeed with this approach (same config.fpw, but then only _SCREEN.Visible = .T. and messagebox) it shows the correct _SCREEN layout.

So now I need to figure out where the difference is in settings or something else. But now I can go step by step adding the settings that lead to the change.
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform