Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make it look better ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00186566
Message ID:
00186899
Vues:
17
Igor,

>VFP 5.0 has very powerfull forms, yet in this partricular case I want to accomplish task without forms.

Honestly, that's a silly constraint to put on yourself.

Create a form, put a single Label or Textbox that is the same width as the form with it's alignment set to center. Let the Form.Init() accept as a parameter the message and then:

lparameter pcText
this.Label1.Caption = pcText

to call it:

do form Messenger with "The text to display"

This gives you a nice reuseable component.

You can also use the builtin MessageBox() function to accomplish the task.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform