Category Custom user interface, Object ProUIInputpanel

Function ProUIInputpanelAnchorSet


Description
Sets the position of the input panel with respect to a given anchor location. This function is applicable only if the parent of the input panel is a drawing area.
Synopsis
#include <ProUIInputpanel.h>
ProErrorProUIInputpanelAnchorSet(
char* dialog
/* (In)
The name of the dialog that contains the input panel.
*/
char* component
/* (In)
The name of the input panel component.
*/
int x
/* (In)
X value with respect to the upper left corner of the parent.
*/
int y
/* (In)
Y value with respect to the upper left corner of the parent.
*/
ProUIAnchor anchor
/* (In)
Location on the input panel used to set the position.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_GENERAL_ERRORThe function failed.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.

Manual References:

  1. User Interface: Dialogs: Input Panel Operations
  2. User Interface: Dialogs: Input Panel Operations