|
-
October 5th, 1999, 09:13 AM
#1
ActiveX name
Is it possible to access in my activex VB code the name of the control set by the client (not the caption but the name) ?
thanx
-
October 5th, 1999, 09:32 AM
#2
Re: ActiveX name
in VB each control has a Name property that you can query at runtime.
-
October 5th, 1999, 09:34 AM
#3
Re: ActiveX name
No i dont want to use the name of a control under vb.
I make my own activex control using vb.
I want to access the name of the current instance of my control (the name given by a client for example vb in another project).
-
October 5th, 1999, 09:38 AM
#4
Re: ActiveX name
as I said "each control", no matter who has writte it.
If you write your own ActiveX control, it will still have a name property.
Yes of course, you can query the value of that property at run-time.
-
October 5th, 1999, 09:48 AM
#5
Re: ActiveX name
Ok sorry but you still not understand my problem.
In vb you are right you can access the name of the control no matter who wrote it.
But i don't want to access the name of the control in vb (THE CLIENT) but i want to access the name given by vb (THE CLIENT) in my activex code.
In fact i dont want to access the name in the client's side of the control but inside the control code itself.
-
October 5th, 1999, 09:59 AM
#6
Re: ActiveX name
OK, quite some misunderstandings.
use the Extender.Name property to get the name of your aXcontrol given by the client.
Sorry for the confusion.
-
October 5th, 1999, 10:56 AM
#7
Re: ActiveX name
Ok thats right
I test it and its ok.
Now could you help with that :
I look at the events of the extender object and dont see any event that warn my control if the name changes.
How could i know the name changes from the client side in my control code?
thanx
-
July 21st, 2000, 06:56 AM
#8
Re: ActiveX name
I BELIEVE that the AmbientChanged() event will provide this
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|