TAdvScrollBox

Good afternoon,

in a form i populate a TAdvScrollBox with severals frame.

According with the AdvSpinEdit value i need to show the frame in the scrollbox (if the spinedit has value 5, the frame number 5 must be show).



Something like ItemIndex:=5



Thank's for your attention



Regard



Daniele

Do you mean you want to control the scroll position in the TAdvScrollBox to scroll to the right frame or do you toggle frame visibility to show the right frame?
If you want to scroll to the right frame, have you tried AdvScrollBox.ScrollInView(frameX); ?


Hi Bruno,



> have you tried AdvScrollBox.ScrollInView(frameX); ?



No, i miss that !!!



Thank you for all



Regards



Daniele