>I want to create a window on my form of some type that I can add command buttons to on the fly and if the total height of the buttons exceeds the window height I want a scroll bar to be able to move to the buttons that are hidden.
>
>Procomm plus's setup screens have similar if you are familiar with it.
>
>Thanks for any suggestions.
>
>Tommy
You could design a custom container that uses an ActiveX scrollbar and code your own routine to position your buttons according to sizeof and number of buttons. For that matter you could use a rightclick menu instead of a scrollbar to "arrange" your buttons like the icons on your desktop. Or, forget the container and use a scrollable form.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California