Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP More Modern Look ?? - Continued with example
Message
De
29/08/2012 16:35:36
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01551811
Message ID:
01551868
Vues:
176
>>>>>>>Hi Gang!
>>>>>>>
>>>>>>>Here is a sample JPG of what our app looks like in Vanilla VFP 9 SP2.... compared to a sample provided by Matt Slay earlier... in the lower right of the JPG...
>>>>>>>
>>>>>>>How do you go from the basic Vanilla to the wonderful example provided by Matt ???
>>>>>>>
>>>>>>>Is there some settings in VFP I have overlooked, or does it require the GDI and/or GDI+ ??
>>>>>>>
>>>>>>>Thanks!!!
>>>>>>
>>>>>>Look at the "Themes" property on your Form or Form Class.
>>>>>>
>>>>>>If you have Themes = .F. in your Form, you'll get an older look where the buttons and page tabs are have rectangular corners, whereas Themes = .T. will give you controls that look more like modern ones with rounded corners.
>>>>>>
>>>>>>Also, play with the ColorSource setting on the form. Mine is set to value of 4.
>>>>>>
>>>>>>Also, on each control, look at the Theme and SpecialEffect property. Make sure Themes are enabled there.
>>>>>>
>>>>>>Hopefully you controls are based on custom subclasses of the native controls so that your changes will propogate throughout your app. If not, you'll have a beg headache updating this app.
>>>>>>
>>>>>>Also, you colors are too "hard". You've using "primary" colors for the Red, Blue, Green colors, whereas you need to use softer colors.
>>>>>>
>>>>>>Google around to find some business-like color theme examples and use those consistently thoughout.
>>>>>
>>>>>
>>>>>So far, so good. I have the textboxes and combos on the top looking good.
>>>>>
>>>>>How bout the command buttons on the bottom? I changed the SpecialEffect to Plain and this is what it looked like....
>>>>>
>>>>>Any other settings to change?
>>>>>
>>>>>Thanks bunches !!!
>>>>
>>>>Something still doesn't look right with you form. See this attached image....
>>>>
>>>>Notice how your form window frame has square corners, and you have those old-school looking window control icons.
>>>>Notice how my form window frame has a round corner, and the more modern images for the window control icons. That look is acheiveble with the correct settings in FoxPro. It's not any custom work that I've done, other than setting the right properties.
>>>>
>>>
>>>Wondering if running under Windows XP SP3 is the cause of this?
>>>
>>>I will try running this changed EXE under Windows 7 to see if that is the cause.
>>>
>>>
>>>>You need to study this a little more...
>>>>
>>>>
>>>
>>>Studying, studying..... !!!! Thanks!
>>>
>>>>Also -
>>>>
>>>>I don't even see any border around you buttons? Do you have them with SpecialEffect = "2 Hot Tracking" If so , the button border does not become visible until you hover over it with the mouse.
>>>>
>>>
>>>I will send you a new JPG in a bit after I test the above !
>>>
>>>>For you buttons, here's what I use:
>>>>
>>>>SpecialEffect = "0 - 3D"
>>>>Themes = .T.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>ANd you probably want to turn off
>>
>>
>>Hmm. Do the widow bordes and widow icons from other apps on the machine look this same way (Non-VFP apps)? It might be a system-wide Visal Theme setting that affects this look.
>>
>>
>>.
>
>Here is the latest JPG from my XP machine. The borders and windows control icons look correctly like yours on my Windows 7 PC.
>
>How's this so far? How can I make the command buttons look less 3-D and more like the command buttons in your sample picture (the command buttons in the upper right below the windows control icons).
>
>Thanks!

It must be a Windows dosplay setting. My app looks essentially the same on our WIndows XP machines as it does our Windows 7 machines. You need to explore that. (Windows Display settings. It looks to me like you machine is set to Class mode or something.)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform