rsutton Posted January 10, 2012 Share Posted January 10, 2012 Under win32. How Do I use this as I cant really modify or say "if interval = 2 then blah" Sorry but documentation is not found much on TForms so just wondering how to set its functions and procedures to use in applications. Im sure its not the same as I know in other languages Quote Link to comment Share on other sites More sharing options...
FHannes Posted January 10, 2012 Share Posted January 10, 2012 Use the trackbar's OnChange event to check when it's changed. Quote Link to comment Share on other sites More sharing options...
rsutton Posted January 10, 2012 Author Share Posted January 10, 2012 (edited) I would love to see a list of events... OnChange That would only turn out a True or False. Not where the bar slides to. Which interval or Decreasement. Unless I can do like OnChange.Position := X If X := 1 then Timer3.Enabled blah blah Edited January 10, 2012 by rsutton Unless I can do like OnChange.Position := X Quote Link to comment Share on other sites More sharing options...
rsutton Posted January 10, 2012 Author Share Posted January 10, 2012 So TrackBar.Pos := X X captures the position Quote Link to comment Share on other sites More sharing options...
FHannes Posted January 10, 2012 Share Posted January 10, 2012 OnChange is an event... "OnChange.Position" makes no sense... I've attached an example. TrackbarTest.scar Quote Link to comment Share on other sites More sharing options...