skip to main content

Controls Reference : TREE-VIEW : Properties : Hidden-Data

Hidden-Data
This property allows you to set or retrieve the hidden value of the item identified by the Item property. The hidden value is never shown to the user, its purpose is to give the programmer an easy way to store and retrieve information related to an item.
 
Example - Modify a tree-view and set the hidden-data to a tree-view to a program name to be called
procedure division.
  modify screen-1-tv-1
         parent = null
         item-to-add "Option 1"
         giving tv-item-hdl
         bitmap-number 1
         parent = tv-item-hdl
         item-to-add "Sub-option 1.1"
         giving tv-item-hdl2
         bitmap-number 2
         parent = tv-item-hdl
         item-to-add "Sub-option 1.2"
         giving tv-item-hdl3
         bitmap-number 2
         parent = null
         item-to-add "Option 2"
         giving tv-item-hdl0
         bitmap-number 1
         parent = tv-item-hdl0
         item-to-add "Sub-option 2.1"
         giving tv-item-hdl4
         bitmap-number 2
         ensure-visible = tv-item-hdl4
         parent = null
         item-to-add "Option 3"
         giving tv-item-hdl1
         bitmap-number 1
         hidden-data "PROG003"

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left