A
active
Set(ByVal NewSize As Drawing.Size)
Me.AutoScrollMinSize = NewSize
picDisplay.Size = NewSize
picMarquee.Size = NewSize
AdjustBitmap()
End Set
I do a breakpoint stop at picMarquee.Size = NewSize
and check the values of
AutoScrollMinSize , NewSize and picDisplay.Size
and find that
AutoScrollMinSize = NewSize
picDisplay.Size is NOT equal to NewSize
picDisplay has dock=anchor=none
and is not locked
Any idea what could cause the value not to change?
I've been playing with this awhile and tried different things but I can't
get the picturebox to change size.
Thanks for any ideas,
Cal
Me.AutoScrollMinSize = NewSize
picDisplay.Size = NewSize
picMarquee.Size = NewSize
AdjustBitmap()
End Set
I do a breakpoint stop at picMarquee.Size = NewSize
and check the values of
AutoScrollMinSize , NewSize and picDisplay.Size
and find that
AutoScrollMinSize = NewSize
picDisplay.Size is NOT equal to NewSize
picDisplay has dock=anchor=none
and is not locked
Any idea what could cause the value not to change?
I've been playing with this awhile and tried different things but I can't
get the picturebox to change size.
Thanks for any ideas,
Cal