The code below appears in my thread code.
I'm unable to use WriteOnly Property because of signature unmatch.
WriteOnly Property ButtonAbortFolderVisible() As Boolean' does not have the
same signature as delegate 'Delegate Sub SetBooleanCallback(value As
Boolean)
Is there any way around that?
Thanks
Public Sub ButtonAbortFolderVisible(ByVal value As Boolean)
If mFormForAbort.ButtonAbortFolder.InvokeRequired Then
Dim d As New SetBooleanCallback(AddressOf ButtonAbortFolderVisible)
mFormForAbort.ButtonAbortFolder.Invoke(d, New Object() {value})
Else
mFormForAbort.ButtonAbortFolder.Visible = value
snip...
End If
End If
End Sub