Help With Disaplying ActiveX Name
Hi,
I had ActiveX in which there a TextBox control.
I would like to display the ActiveX Name on that TextBox.
So at any time the ActiveX Name change, it reflicts on the TextBox.Text
I am looking for the event could be used to trigger whatever script to transfer the ActiveX Name to TextBox.Text.Something like User_Resie() which could be used to resize the ActiveX same as the Text size.
Thanks
Re: Help With Disaplying ActiveX Name
The name of the ActiveX control is contained in the Extender property of the InitProperties. I believe it is Extender.Name
Re: Help With Disaplying ActiveX Name
Hi , My code to resize the ActiveX to the same size of txtActiveXTag
Private Sub UserControl_Resize()
If UserControl.Height <> txtActiveXTag.Height Then UserControl.Height = txtActiveXTag.Height
If UserControl.Width <> txtActiveXTag.Width Then UserControl.Width = txtActiveXTag.Width
txtActiveXTag.Move 0, 0
End Sub
I do not know how i write a code to change txtActiveXTag.Text imediatly once the ActiveX changes (not on loading the ActiveX, but even the Design time)
1- What the proper Event should i use ?
2- Is the Extender.Name is the way to acces the ActiveX Name?