Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Putting different text in a textbox in a form
Message
De
01/04/1999 05:28:32
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
31/03/1999 00:45:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00203752
Message ID:
00204156
Vues:
19
>I've created a form for prompting different error messages. The form contains a Textbox for different error messages which I want to put for the user.
>
>How should I run the form and then put the Value of the Error Messages with my choice? Is it possible? For example err..
>
>errform.txtErrmsg.value = "Record not found."
Hi Gan,
Joseph and Kenneth already have good suggestions about using textbox and labels. I have another suggestion too :)
I would suggest using messagebox(). Because unlike additional forms, messagebox() doesn't cause the form's some events (ie: activate event) fire on return :) Reentrant firing events might be other invitation to errors in some cases (ie: lostfocus of activecontrol fires, your form kicks in, gotfocus of control fires on return, or valid event causes another error in between). To my experience, calling messagebox() is harmless compared to calling a new form :)
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform