I have built a control (.ocx) containing a button and a label. The button starts up a form which also has button. When the Form button is pressed I would like to change the text in the control label and the properties of the control label. How can this be done ?
Below is some VB code:
The control (.ocx)
Private sub command1_Click()
Trial.show 0 'this button pops up my form
end sub
The Form
Private sub command1_click()
' what goes here to change the label details in the control
' This is not trivial as the control is not a form
end sub
Below is some VB code:
The control (.ocx)
Private sub command1_Click()
Trial.show 0 'this button pops up my form
end sub
The Form
Private sub command1_click()
' what goes here to change the label details in the control
' This is not trivial as the control is not a form
end sub