Navigation: Ultimate Suite for PowerBuilder Help > Tab Control > Functions >

of_setparentwindow

Send comments on this topic.

 

Description:

Sets a reference to a window that will be used for the tab controls navigation popup menu.

Syntax:

of_setparentwindow (window aw_window)

Argument

Description

aw_window

Pass a reference to a window object.

Return Value:

Always returns 1.

Usage:

The tab control try's to dynamically find a parent window which is used to determine the location of the navigation popmenu. Sometimes it finds a window that is not the top level window so the popmenu can display in an incorrect position. Use the of_SetParentWindow function to explicitly set the window object used for the popmenu. In most cases this will be to top level frame window.


Copyright © 2021 Werysoft Inc.