Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make it look better ?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00186566
Message ID:
00186899
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform