ThemedTitleBar
Project Manager: Markus Winhard
*
*
The TitleBar of a VFP form displayed ‘In Screen’ or ‘In Top-Level Form’ looks a bit outdated nowadays. At least running in Win8 and compared to Office 2013 or Visual Studio 2013. The goal of this project is to provide a modern drop-in replacement for the default TitleBar, requiring no code changes to existing forms.
Before adding ThemedTitleBar:
After adding ThemedTitleBar:
How to:
- Include ThemedTitleBar.vcx and ThemedTitleBarBase.vcx in your project.
- Drop the ThemedTitleBar class on every form where you want to use it.
Tweaks:
- ThemedTitleBar.lAutoMoveFormControls=.T.: Moves the controls on your form downward to make room for itself. This happens between first Form.Show() and first Form.Activate(). Set to .F. to suppress this behavior.
- Add properties ThemedTitleBarDescription and ThemedTitleBarImage to your form base class. Set them at the form level.
- If you don't like the property names ThemedTitleBarDescription and ThemedTitleBarImage you can change their names in the ThemedTitleBar class. Please see it's properties cDesciptionProperty and cImageProperty.
Full source code history of ThemedTitleBar is hosted in the repository under the SOURCE CODE button above.