Another Bug in calendar (more subtle!)

Discussion in 'Bug Reports' started by mjcoon, Jul 31, 2012.

  1. mjcoon

    mjcoon Well-Known Member Licensed User

    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.
     

    Attached Files:

  2. mjcoon

    mjcoon Well-Known Member Licensed User

    I have to retract that assertion: actually doing a Refresh of the calendar controls each time does keep the greying-out in step with the disablement.

    So that is an easy work-around.

    Mike.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice