formAddGauge


function formAddGauge(label:string; isInteractive:boolean; maxValue, initialValue:integer):integer;

Inserts a gauge element to the form. The function returns the ID of the text field. If 'isInteractive' is set to false, the user can not change the value of the gauge.

  var gauge_id: integer;
  begin
    gauge_id := formAddGauge('Choose your age', true, 100, 18);
    showForm;
    delay(2000);
  end.

See also: showForm, formSetValue, formGetValue, formRemove