Hi,
I place few textboxes in the details section which i am displaying data through programmatically. And i am doing conditional formatting with few of the textboxes with changing the background colors and everything works. But Few textboxes contains lot of text which shows increasing height and few of them are small but does increase the height. I did conditional formatting to change the background colors of these small textboxes which does not increase in height as the other textboxes so that the height is equally to details section.
Even i try in code but does not effect anything for small textboxes.
Public Sub New()
InitializeComponent()
DisplayData()
M1.Height = Me.detail.Height
M2.Height = Me.detail.Height
M3.Height = Me.detail.Height
M4.Height = Me.detail.Height
M5.Height = Me.detail.Height
M6.Height = Me.detail.Height
M7.Height = Me.detail.Height
M8.Height = Me.detail.Height
M9.Height = Me.detail.Height
End Sub
Pleae tell me how to increase the height of the textboxes dynamically what ever height of details section.
Thanks.
Regards
Syed Arshad