PDA

Click to See Complete Forum and Search --> : passing parameters to activex


mleach2
Jul 24th, 2001, 08:24 AM
I have an activex control that I plan to use in a web page. The activex control has a text box. I want to pass parameters to this text box based on a database query from a linked page.

Can I use the <PARAM > tag for this?

If so how can I declare the parameter in the activex control so it will recognize it?

Thanks a bunch
ML

baiden
Jul 24th, 2001, 09:31 AM
you need to create a property inside the activex control e.g


Public Property Get texboxvalue() As String
texboxvalue = Text1.Text
End Property

Public Property Let texboxvalue(ByVal New_texboxvalue As String)
Text1.Text() = New_texboxvalue
PropertyChanged "texboxvalue"
End Property