Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing font in caption
Message
De
03/09/1999 07:41:14
Ilie Tomac
Eagle Investment Systems LLC
Boston, Massachusetts, États-Unis
 
 
À
02/09/1999 08:28:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00260531
Message ID:
00261055
Vues:
24
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform