Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing font in caption
Message
From
03/09/1999 07:41:14
Ilie Tomac
Eagle Investment Systems LLC
Boston, Massachusetts, United States
 
 
To
02/09/1999 08:28:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00260531
Message ID:
00261055
Views:
23
Hi, Vladimir...

There is one method to change font in form's caption. In fact,
this indirect method is not very good one.
Nevertheless, I tell you about it.
You should turn the titlebar of the form off:
TitleBar=0 (Off). Then drop a label on that form, with
"Left" and "Top" (of this label) being equal to 0 and
"Width" being equal to form's width. This label will serve
as title bar of the form. Define its BackColor and ForeColor
(for example, Blue and White). Then put a commandbutton
over the label in the top-right corner of the form and make it
small and set TabStop property to .f. and write code
"ThisForm.Release()" on its Click() event. This button will
simulate close button. Of course, the form is immovable.
But you can force it to be movable by defining MouseDown()
and MouseMove() events of the label serving as titlebar.
As for menus you can manually create menu with desired
font using DEFINE MENU, DEFINE PAD and DEFINE POPUP commands
with FONT clause.
I understand that it is very difficalt and doesn't seem well.
But maybe it can help you to some extent.
Previous
Reply
Map
View

Click here to load this message in the networking platform