What controls are you using? Most have some way of setting the control to read only mode.