Unit 'Intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

ModifyProp

Modify the current parameters of a proportional gadget.

Declaration

Source position: intuition.pas line 3213

procedure ModifyProp(

  Gadget: PGadget;

  Window: PWindow;

  Requester: PRequester;

  Flags: LongWord;

  HorizPot: LongWord;

  VertPot: LongWord;

  HorizBody: LongWord;

  VertBody: LongWord

);

Arguments

Gadget

  

A pointer to a proportional gadget

Window

  

A pointer to the window containing the gadget or the window containing the requester containing the gadget.

Requester

  

A pointer to a requester (may be nil if this isn't a requester gadget)

Flags

  

Value to be stored in the Flags field of the TPropInfo

HorizPot

  

Value to be stored in the HorizPot field of the TPropInfo

VertPot

  

Value to be stored in the VertPot field of the TPropInfo

HorizBody

  

Value to be stored in the HorizBody field of the TPropInfo

VertBody

  

Value to be stored in the VertBody field of the TPropInfo

Description

Modifies the parameters of the specified proportional gadget. The gadget's internal state is then recalculated and the imagery is redisplayed in the window or requester that contains the gadget.

The requester variable can point to a requester structure. If the gadget has the GTYP_REQGADGET flag set, the gadget is in a requester and the window pointer must point to the window of the requester. If this is not the gadget of a requester, the requester argument may be nil.

Note: this function causes all gadgets from the proportional gadget to the end of the gadget list to be refreshed, for reasons of compatibility. For more refined display updating, use NewModifyProp().

ModifyProp() refreshing consists of redrawing gadgets completely. NewModifyProp() has changed this behavior.

See also

NewModifyProp

  

ModifyProp(), but with selective refresh.


Documentation generated on: 2021-07-30