Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

NewModifyProp

ModifyProp(), but with selective refresh.

Declaration

Source position: intuition.pas line 3880

procedure NewModifyProp(

  Gadget: PGadget;

  Window: PWindow;

  Requester: PRequester;

  Flags: LongWord;

  HorizPot: LongWord;

  VertPot: LongWord;

  HorizBody: LongWord;

  VertBody: LongWord;

  NumGad: LongInt

);

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

VertPot

  

Value to be stored in the VertPot field of the

HorizBody

  

Value to be stored in the HorizBody field of the

VertBody

  

Value to be stored in the VertBody field of the

NumGad

  

Number of gadgets to be refreshed after propgadget internals have been adjusted. -1 means "to end of list."

Description

Performs the function of ModifyProp(), but refreshes gadgets in the list as specified by the NumGad parameter. With NumGad = -1, this function is identical to ModifyProp().

When NumGad = 1, this function will now perform an incremental update of the proportional gadget knob image, rather than refreshing the entire gadget. This means much less flashing when programmatically scrolling a proportional gadget.

See also

ModifyProp

  

Modify the current parameters of a proportional gadget.


Documentation generated on: 2021-07-30