Results 1 to 3 of 3

Thread: Help With Disaplying ActiveX Name

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    8

    Question 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

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    8

    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width