Official Content

The Navigation external object enables you to manipulate the status of the panel’s targets in CallOptions Target and CallOptions Target for Web.

Progressexternalobject-Location_201861111397_1_png image_201861111404_1_png

Properties

It does not have any.

Methods

ShowTarget method

The area shown corresponds to the Target specified by the parameter is shown. The behavior depends on the Mode property of the Navigation Style set up in the class of the Form.

  • When the Navigation Style Mode is Slide, the area shown is the one corresponding to the Target moving the Content Target.
  • When the Navigation Style Mode is Static, no changes occur because the area corresponding to the Target is always visible when an object is loaded on it.
  • When the Navigation Style Mode is Custom, the set-up specified in the "Hidden Class" property of the theme class associated with the Target’s area is no longer applied.
Return value  None
Parameters TagetName:Character(40)
 

HideTarget method

The area corresponding to the Target specified by the parameter is hidden. Applies the same rules for Mode property and Navigation Style as ShowTarget method.

Return value  None
Parameters TagetName:Character(40)
 

ExpandTarget method

The area corresponding to the Target specified by the parameter is expanded. The behavior depends on the Mode property of the Navigation Style set up in the Form class.

  • When the Navigation Style Mode is Slide, the situation is equivalent to invoking the ShowTarget method. If the target was collapsed, it acquires the dimensions specified in the Top Target HeightRight Target WidthBottom Target Height or Left Target Width property, depending on the target specified.
  • When the Navigation Style Mode is Static, there are no changes because the area corresponding to the Target is always visible when an object is loaded on it.
  • When the Navigation Style Mode is Custom, the situation is equivalent to invoking the ShowTarget method, and the set up specified in the "Collapsed Class" property of the theme class associated with the Target area is no longer applied.
Return value  None
Parameters TagetName:Character(40)
 

CollapseTarget method

The area corresponding to the Target specified by the parameter is collapsed. Applies the same rules for Mode property and Navigation Style as ExpandTarget method.

Return value  None
Parameters TagetName:Character(40)
 

Events

TargetShown event 

Fired after a Target was shown using the ShowTarget method.

Input  TargetName:Character(40)
Output  -
 

TagetHidden event

Fired after a Target was hidden using the HideTarget method, or when a Target is hidden automatically.

Input  TargetName:Character(40)
Output  -
 

TargetExapanded event

Fired after a Target was expanded using the ExpandTarget method.

Input  TargetName:Character(40)
Output  -
 

TargetCollapsed event

Fired after a Target was collapsed using the CollapseTarget method.

Input  TargetName:Character(40)
Output  -
 

Notes

  • Expand/Collapse methods are available only for the Web environment
  • Navigation events are only available for the Web environment.
  • Hide/Show methods in the Smart Devices generator are available for "Right" target (Android/iOS) and "Bottom" (iOS-only).

Scope

Objects Web Panel, Work With for Web pattern, Panel for Smart DevicesWork With for Smart Devices 
Platforms Web(.NET,Java), SmartDevices(Android,iOS)

Availability

This external object is available as from GeneXus 15.

See also





Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant