SL_SetReqObjAttrA


NAME
SL_SetReqObjAttrA -- sets the specified attribute of a requester object.
SL_SetReqObjAttr -- varargs stub.

SYNOPSIS
SL_SetReqObjAttrA(reqhandle, ctrlid, attrtaglist);
A0 D0 A1

void SL_SetReqObjAttrA(REQHANDLE, UWORD, struct TagItem *);

SL_SetReqObjAttr(reqhandle, ctrlid, attrtag, ....);

void SL_SetReqObjAttr(REQHANDLE, UWORD, Tag, ...);

FUNCTION
Sets the specified attributes of the object.

INPUTS
reqhandle - as returned by SL_CreateRequester or SL_CreateSubRequester.
ctrlid - the obj to get the attribute from.
attrtag - the attribute to get.

TAGS

These apply to all objects:

CTRLATTR_Label (SLCHAR *) - The controls label.

CTRLATTR_Width (UWORD) - The width of the control including it's label.

CTRLATTR_Height (UWORD) - The height of the control including it's label.

CTRLATTR_Left (UWORD) - The left coord of the control relative to the window's
drawing area.

CTRLATTR_Top (UWORD) - The top coord of the control relative to the windows's
drawing area.

CTRLATTR_LabelPos (UWORD) - one of the OLAB_xx defines. See softlogik_obj.h.

CTRLATTR_Id (UWORD) - The id of the control. The control is referenced by this
number.

CTRLATTR_Disabled (SLFLAG) - TRUE to "disable" or "gray-out" the control, FALSE
to make the control available for user interaction.

CTRLATTR_Hidden (SLFLAG) - TRUE to hide the control from the user, FALSE to make
the control visible to the user.

CTRLATTR_HighLabel (SLFLAG) - Makes the controls label appear in the highlight
pen instead of the text pen. This only applies to controls that
have a text label.

These are specialized tags that apply to at least one control:

CTRLATTR_TextArray (SLCHAR **) - an array of SLCHAR * which are the data to use.
For example this may be used to set the entries in a popup or
listview control.

CTRLATTR_ImageArray (ICONHANDLE *) - an array of ICONHANDLE's which are the
data to use. For example this may be used to set the entries
in a popup or listview control.

CTRLATTR_Current (UWORD) - The current item in an control. For example this
may be the currently selected item in a popup, listview, radio, cycle, or the current level in a slider control.

CTRLATTR_Total (UWORD) - The total number of items in a list oriented control.
(popup, listview, cycle, radio).

CTRLATTR_TopItem

CTRLATTR_Visible

CTRLATTR_NumChars

CTRLATTR_String (SLCHAR *) -

CTRLATTR_Number (LONG) -

CTRLATTR_Border

CTRLATTR_Justification

CTRLATTR_Orientation

CTRLATTR_Style

CTRLATTR_Max

CTRLATTR_Min

CTRLATTR_Format

CTRLATTR_FormatPos

CTRLATTR_CallBack

CTRLATTR_State (ULONG) -

CTRLATTR_Checked (ULONG) -

CTRLATTR_Pressed (SLFLAG) -

CTRLATTR_UserList

CTRLATTR_DrawWidth

CTRLATTR_DrawHeight

CTRLATTR_DrawLeft

CTRLATTR_DrawTop

CTRLATTR_FontName

CTRLATTR_FontSize

CTRLATTR_ObjectArray

CTRLATTR_ObjectList

CTRLATTR_FirstObject

CTRLATTR_Icon

CTRLATTR_MixedState

CTRLATTR_Flags

CTRLATTR_NumbersOnly (SLFLAG) -

CTRLATTR_ReadOnly (SLFLAG) -

CTRLATTR_DoubleClick (SLFLAG) -

CTRLATTR_AppSelect (SLFLAG) -

CTRLATTR_IconLabel (SLFLAG) -

CTRLATTR_Toggle (SLFLAG) -

CTRLATTR_NewLook (SLFLAG) -

CTRLATTR_Default (SLFLAG) -

CTRLATTR_DoNotShowSelected (SLFLAG) -

CTRLATTR_HighData (SLFLAG) -

NOTE
Not all tags apply to all controls.

SEE ALSO
SL_CreateRequester, SL_FreeRequester, SL_DoRequester, SL_StartRequester, SL_EndRequester, SL_GetReqObjAttr, SL_IsRequesterOpen.

 

SL_SetReqObjAttrA  Command Section By Type  url:SL_SetReqObjAttrA
  created:2008-03-01 23:36:26   last updated:2008-03-01 23:36:26
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_SetReqObjAttrA
There are no user contributed comments for this page.