CGridCtrl:GetWndTitle


The GetWndTitle method returns the title of the window or pane containing the grid control attached to the CGridCtrl object.

Syntax

strTitle = CGridCtrl:GetWndTitle()

bullet.gif    On success, the window title is returned as strTitle.

bullet.gif    On failure, nil is returned.

Example

Suppose a CImageView object is attached to a desktop image window containing a grid docking pane. The following script returns the title of the grid docking pane:

G = attachlist_panegridview( V )

-- attach a grid control from an image window pane

strTitle = G:GetWndTitle()

-- return the docking pane title

Printf("title = %s\n", strTitle)

-- list the title.

Related Topics

CGridCtrl class

 


Mira Pro x64 Script User's Guide, v.8.77 Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.