Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RePositioning a messagebox
Message
De
24/06/2008 20:13:57
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
24/06/2008 12:18:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MySQL
Divers
Thread ID:
01325946
Message ID:
01326534
Vues:
29
>>With messagebox(), you don't have that control, and you depend on the way windows desktop is set up. If it's two desktops stitched together (like I have now - left one horizontal, right one vertical), no problem, but once upon a time it was one big desktop (forcing same resolution on monitors) and maximizing Fox would stretch it across, which meant that my dialog was had developed a split personality - some buttons on the left, some on the right, and an odd one in the middle splayed across the plastic.
>>
>>If you can't change the way desktops are set up, download my dialog - it's positioned centered on active form or _screen.
>
>Nice one Dragan thanks... just by today I got some time to make some adjustments... as adding an icon on the left side of the message...
>
>to become a little similar with messagebox...
>
>well.. I'm facing now a little problem with portuguese language special chart as: áéíúóçõã... all this charts are not being represent as exactly they are... I'm getting other charts..

Just make sure you compile it in your codepage, and that the font you use has that codepage. Check g_fontname - set it to anything that'd work for you. For a while I was using _screen.fontname, but then went for the system font.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform