PageScroller Button Panel - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

PageScroller Button Panel

Hi!

I am developing a program which creates buttons (TBitBtn) dynamically and uses a PageScroller as the display panel. My problem is that the PageScroller doesn't display its scroll buttons even when the number of buttons exceeds the display area. I have tried putting a PageControl, ScrollBox, then a Panel on the PageScroller and setting the Parent property of the buttons to the PageControl/ScrollBox/Panel; tried using the PageScroller by itself and setting the Parent property of the buttons to the PageScroller, but still I havent achieved the result I want. I really want to use the PageScroller as my button panel and I believe if it is possible in Delphi (Component palette) then I could do the same. I will appreciate any ideas, examples or articles that could enable me use the PageScroller to display my buttons and be able to scroll to those not visible on the screen.

Thank you,

Martin

Comments

  • zibadianzibadian Posts: 6,349Member
    : Hi!
    :
    : I am developing a program which creates buttons (TBitBtn) dynamically and uses a PageScroller as the display panel. My problem is that the PageScroller doesn't display its scroll buttons even when the number of buttons exceeds the display area. I have tried putting a PageControl, ScrollBox, then a Panel on the PageScroller and setting the Parent property of the buttons to the PageControl/ScrollBox/Panel; tried using the PageScroller by itself and setting the Parent property of the buttons to the PageScroller, but still I havent achieved the result I want. I really want to use the PageScroller as my button panel and I believe if it is possible in Delphi (Component palette) then I could do the same. I will appreciate any ideas, examples or articles that could enable me use the PageScroller to display my buttons and be able to scroll to those not visible on the screen.
    :
    : Thank you,
    :
    : Martin
    :
    :
    Did you set the AutoScroll to true? In a simple test project, I had no problems with getting the PageScroller (with AutoScroll = true) to work.
Sign In or Register to comment.