*in click event with thisform.olecontrol1.object .enabled=!.enabled endwiththe key is "object" otherwise cannot change the dtPicker state.
*in interactiveChange() event thisform.olecontrol1.object.enabled=iif(this.value=1,.t.,.f.)the visual indication of a disabled control is that it is grayed and dont react to events (user or by code).