frmPBar has one label lblScroller. While I am searching through Excel REcords in frmFriends, I want the lblScroller to increment like a progress bar and tell the user that proceesing is being done. To do this in frmFriends I want to measure the width of lblScroller, which is in frmPBar. How to call in frmFriends, the control which is on frmPBar. Later on, I will call that label from frmKithAndKin and also from frmVIPs. Any suggestion, appreciated. I am new to VB.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...