سؤال

I am using TScrollBar component, maybe I'm being stupid, but I can find a way to just get the value out, for example:

 myVal := TForm1.ScrollBar1.getval()

Could someone please tell me the command for this please?

هل كانت مفيدة؟

المحلول

The "value" of a scroll bar is represented by the position of the scroll thumb along the bar. Thus, you should read the Position property.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top