[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'Intuition' (#aros)


Modify the current parameters of a proportional gadget.


Source position: intuition.pas line 3213

procedure ModifyProp(

  Gadget: PGadget;

  Window: PWindow;

  Requester: PRequester;

  Flags: LongWord;

  HorizPot: LongWord;

  VertPot: LongWord;

  HorizBody: LongWord;

  VertBody: LongWord





A pointer to a proportional gadget



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



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



Value to be stored in the Flags field of the TPropInfo



Value to be stored in the HorizPot field of the TPropInfo



Value to be stored in the VertPot field of the TPropInfo



Value to be stored in the HorizBody field of the TPropInfo



Value to be stored in the VertBody field of the TPropInfo


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



ModifyProp(), but with selective refresh.

Documentation generated on: 2017-01-10