Products Downloads


French version


 

Note: This object is only managed by the Cloud generator.

The ACCORDION MENU object allows to present a menu in the form of accordion. The content of each pane of this accordion is a tree view.


The accordion is made up of node elements (elements with sub-elements or child elements) or leaf elements (elements with no child elements).

Each element is defined by a text that represents it visually in the tree structure or in the accordion pane. Additionally, you can associate an image with each element; the image will appear to the left of the text. Lastly, you can associate data with each element, in the form of an Adelia variable or a DS.


This object also lets you perform drag and drop operations.

Palette iconLayout managerWindowsCloud

Not available

* DECLARATION 

num_bin_4 acc_elementid 
num_bin_4 acc_root_elementid
num_bin_2 acc_returncode 

* INITIALIZATION   

call_method accordion add_element _acc_root _acc_pos_last  'menu 1' acc_root_elementid acc_returncode
call_method accordion add_element acc_root_elementid _acc_pos_last  'submenu 1' acc_elementid acc_returncode
call_method accordion add_element acc_root_elementid _acc_pos_last  'submenu 2' acc_elementid acc_returncode
call_method accordion add_element _acc_root _acc_pos_last  'menu 2' acc_elementid acc_returncode
call_method accordion add_element acc_root_elementid _acc_pos_last  'submenu 3' acc_elementid acc_returncode
call_method accordion add_element acc_root_elementid _acc_pos_last  'submenu 4' acc_elementid acc_returncode
call_method accordion add_element _acc_root _acc_pos_last  'menu 3' acc_elementid acc_returncode

↑ Top of page