aziz rasul
Active member
- Local time
- Today, 09:41
- Joined
- Jun 26, 2000
- Messages
- 1,935
I want to increase\decrease the height of a listbox using two command buttons. Here's the code I've used behind the OnClick events.
Me.lstDistribution.Height = 5
Me.Refresh
Me.Repaint
Me.lstDistribution.Height = 2.5
Me.Refresh
Me.Repaint
When I press the 'Increase' or 'Decrease' buttons I get a horitzontal line replacing the listbox? Why is this happening?
Me.lstDistribution.Height = 5
Me.Refresh
Me.Repaint
Me.lstDistribution.Height = 2.5
Me.Refresh
Me.Repaint
When I press the 'Increase' or 'Decrease' buttons I get a horitzontal line replacing the listbox? Why is this happening?