Version

TargetUrlTriggerMode Property

Defines when TargetUrl navigation takes place for toggle buttons.
Syntax
'Declaration
 
Public Property TargetUrlTriggerMode As TargetUrlTriggerMode
public TargetUrlTriggerMode TargetUrlTriggerMode {get; set;}

Property Value

An indication of when toggle buttons should navigate to their TargetUrl.
Remarks

When TargetURL is set to a URL to take an end user to when that user presses a button, and the TargetFrame is set such that the new URL will appear in a frame or new window (i.e., the WebToolbar is not replaced meaning the user can still see the button's selected state), an application may want to customize which state transition (on the selection, or on the deselection) a toggle button navigates.

Toggle buttons are TBarButton instances with their ToggleButton property set to True. Unlike momentary buttons, which present no selected state when the user releases their mouse button, a toggle button may appear either selected (down) or unselected (up).

Set this property if you want to change the behavior of a toggle button to navigate to it's TargetURL as it becomes selected, or for any mouse button click. For backwards compatibility with existing WebToolbar applications, the default behavior is OnToggleSelectOff.

Momentary buttons can disregard the behavior defined by this property. Any mouse click on these buttons triggers navigation to the TargetURL property immediately.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also