General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only