Category Custom user interface, Object ProUISpinbox

Function ProUISpinboxAnchorSet


Description
Sets the position of the spinbox with respect to a given anchor location. This function is applicable only if the parent of the spinbox is a drawing area.
Synopsis
#include <ProUISpinbox.h>
ProErrorProUISpinboxAnchorSet(
char* dialog
/* (In)
The name of the dialog that contains the spinbox.
*/
char* component
/* (In)
The name of the spinbox 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 spinbox 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: Spinbox Operations
  2. User Interface: Dialogs: Spinbox Operations