Took it into my head to write a days-between-dates calculator (code attached).
It has two calendar controls, either of which may be disabled at user choice. A marker radio button sets which should be disabled. On the desktop the control text gets greyed-out as well to show disablement.
But on the device the greying-out does not happen immediately; it is delayed until the other calendar control (which would not be disabled) is opened and set to the same value.
The code shows that I have tried various ways to correct this by doing refresh of calendars or of the form; neither works.
Another odd behaviour of calendar controls...
Mike.
It has two calendar controls, either of which may be disabled at user choice. A marker radio button sets which should be disabled. On the desktop the control text gets greyed-out as well to show disablement.
But on the device the greying-out does not happen immediately; it is delayed until the other calendar control (which would not be disabled) is opened and set to the same value.
The code shows that I have tried various ways to correct this by doing refresh of calendars or of the form; neither works.
Another odd behaviour of calendar controls...
Mike.