Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_SCREEN shows XP style in exe
Message
 
 
À
14/03/2019 14:56:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 10
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01667192
Message ID:
01667252
Vues:
80
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform