Click to See Complete Forum and Search --> : Resize MSFlexGrid columns with Slider


rockies1
July 5th, 2001, 11:40 AM
I have an MSFlexGrid that I need to resize the columns on. I have a Slider, and it works.

Problem is this: The width does not change until I let go of the Slider. I'd like to see the width change smoothly as I was adjusting the Slider.

Anyone know how to do this?

John G Duffy
July 5th, 2001, 02:24 PM
use the sliders "Scroll" event to resize your FlexGrid and remember to do a FlexGrid.Refresh after every change. .Refresh will force VB to update the control. Without the Refresh, nothing will appear to happen until the slider is let go.

John G

rockies1
July 5th, 2001, 02:32 PM
Thank you!

I had not considered any event besides "Change"

This worked very well, thank you!

Morgan