Wednesday, May 21, 2008

Disable the Numeric control entry field

In run time restrict the user from typing something into the entry field of the numeric control (or) String control is easily done by the following trick.
Select a "flat box" from decorations->Flat box, resize/move it to exactly cover the Numeric control user entry field and paint it transparent . Group it the flat box & Numeric control and also select “Skip this control when tabbing" option in the key navigation dialog of the control to avoid the tabbing access of the control.

No comments: