Ticket #2200 (closed feature: fixed)

Opened 4 years ago

Last modified 4 years ago

add control autoActivate

Reported by: tschaub Owned by:
Priority: minor Milestone: 2.9 Release
Component: Control Version: 2.8
Keywords: Cc:
State: Complete

Description

Some controls activate themselves when added to the map (in draw): Navigation, NavigationHistory, KeyboardDefaults, and Panel. The NavigationHistory control has a non-api property named activateOnDraw. The others provide no way to determine whether or not they are activated when added to a map.

This should be standardized. As with strategies, the name autoActivate makes sense. If true, controls are activated when added to the map. Default is false - except for those specific controls mentioned above.

Attachments

2200.patch Download (5.3 KB) - added by tschaub 4 years ago.
provide an autoActivate property on controls

Change History

Changed 4 years ago by tschaub

provide an autoActivate property on controls

Changed 4 years ago by tschaub

  • state set to Review

Tests pass in FF3 and IE6. Thanks for any review.

Changed 4 years ago by elemoine

  • state changed from Review to Commit

Looks good.

Changed 4 years ago by tschaub

  • status changed from new to closed
  • state changed from Commit to Complete
  • resolution set to fixed

(In [9589]) Adding an autoActivate property for controls. If this is set to true, the control will be activated when it is added to a map. This is true for the Navigation, NavigationHistory, KeyboardDefaults, and Panel controls. False for others. r=elemoine (closes #2200)

Note: See TracTickets for help on using tickets.