Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Minimizing Form
Message
De
11/04/2003 03:18:52
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
11/04/2003 03:00:16
Rene Lovino
Bigfoot Global Solutions, Inc
Cebu, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00776461
Message ID:
00776466
Vues:
8
>Hi All,
>
>I have created a new form in Visual FoxPro 8.0.
>I want my application to display the primary key value as the caption when I hit the minimize button.
>
>Example:
> on the form Customer Maintenance the primary key is Customer #. When I minimize the window the value of the primary key should be the form caption.
>Assumming the form caption is "Customer Maintenance" and the Customer # has the value of "ACCESS10000000000001". Hitting the minimize button the form caption should change to "ACCESS10000000000001". My application can change the caption but I want to display of the characters instead of truncating the value. As of now it on display the first 6 characters. Is anybody can help me to solve this issue?
>
>This my code on the Resize event on the form:
>
>lcCaption = "Customer Maintenance"
>if Thisform.WindowState = 1
> lcCaption = Thisform.CustomerNo.Value
>endif
>Thisform.Caption = lcCaption
>
>I have already tried to extend the width but I have notice that changing the width on the minimize form will not take effect.
>
>
>Thank you in advance
>
>
>Rene

Rene,
I wouldn't even try to do it. However if you really want, extend the width and set window state to normal (move to minimized position). Should work.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform