>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.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.