Page 1 of 1

SetProgressbarRange()

Posted: Sun Oct 26, 2003 7:41 pm
by V2
Code updated For 5.20+

Changing the progressbar minimum/maximum:

Code: Select all

Procedure SetProgressbarRange(Gadget.l, Minimum.l, Maximum.l)
  ;? SetProgressbarRange(#progressbar, 0, 100)
  PBM_SETRANGE32 = $400 + 6
  SendMessage_(GadgetID(Gadget), PBM_SETRANGE32, Minimum, Maximum)
EndProcedure