Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing value in Destroy()
Message
From
18/01/1999 20:13:22
 
 
To
18/01/1999 19:44:50
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00177015
Message ID:
00177430
Views:
48
>I have seen a similar approach: The shadowtext is displayed only when the control has the focus (and no value was already entered, obviously) and this text is selected by default. This way, when the user types something, the shadow text is cleared automatically.
>
>I like more your approach, but it seems more difficult to implement.
>
Vlad,

I would make this distinction between shadowtext (or prompttext) and defaulttext. Prompttext suggests the value to be entered and is the program's best estimate of the correct value. Shadowtext suggests the kind or type of value to be entered -- similar to a tooltip.

If the user entered "68501" in postal code texbox, the city text box my default to "Lincoln". The shadowtext would say "City".

Both certainly have their place, and I use defaulttext more frequently than shadowtext.

regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Reply
Map
View

Click here to load this message in the networking platform