scrollbars on tab control?

Started by Wilko Verweij, May 02, 2014, 12:17:30 PM

Previous topic - Next topic

Wilko Verweij

Hi all,
I have been trying to find out if you can have scrollbars on a tab control, in case the controls are too wide to fit on the tab control. I couldn't find how. It's not in the styles of the tab control in FireFly. The Microsoft ControlSpy does have the option of setting %WS_HSCROLL during create but I don't see any difference. If I edit the FireFly generated code manually to add this style and then run PB without FF I don't see a scroll bar either.
Any help will be appreciated.
Wilko

Paul Squires

Hi Wilko,

Tab Controls do not have this functionality. You would need to add the ability to scroll the child form tab page. To do that takes more code then simply adding scroll bars to the form.

I do this in FF in order to scroll the design window if you are trying to make a form larger than the screen. My FF source code is offsite right now. Won't have access to it until Monday.
Paul Squires
PlanetSquires Software

Wilko Verweij

Thanks Paul,
scroll bars on the form were the fall back option I had also thought of. Got that working now. But because of the option in ControlSpy I thought it might be available. Thanks for now.
Wilko