SEE_TREEVIEW_SELECTION@

Platform

Win32, x64

Purpose

To ensure that the current %tv (Tree Control) item is visible.

Syntax

SUBROUTINE SEE_TREEVIW_SELECTION@( POINT )
INTEGER POINT

Description

This routine ensures that the treeview (defined by %tv (Tree Control) in Tree-view) is opened showing the current selection. The argument is the current selection integer (not the array of descriptions). This function may be of most use if called via a call-back attached to %sc (OnShow Callback), thus providing a once only update.

Note that you should ensure that all the appropriate nodes in the hierarchy are marked as expanded ('E') in order to make the selected item visible.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited