
14/04/2009, 11:17
|
| | Fecha de Ingreso: febrero-2007
Mensajes: 165
Antigüedad: 18 años Puntos: 0 | |
Respuesta: Quisiera saber si uso bien el BackGroundWorker Bingo ya he encontrado la formula:
Private Delegate Sub MostrarTab_Delegate(ByVal tb As TabControl)
Public Sub MostrarTab(ByVal Tab1 As TabControl)
If Me.InvokeRequired = True Then
Me.Invoke(New MostrarTab_Delegate(AddressOf MostrarTab), Tab1)
Else
Me.tbPanel.SelectTab(0)
End If
End Sub
¿Hay que hacer todo esto por cada control? |