Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP More Modern Look ?? - Continued with example
Message
De
29/08/2012 13:52:52
 
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:
01551849
Vues:
196
>>>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.

You need to study this a little more...


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.

For you buttons, here's what I use:

SpecialEffect = "0 - 3D"
Themes = .T.






ANd you probably want to turn off
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform