Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object Type Property
Message
From
17/04/2001 05:49:48
 
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00495625
Message ID:
00496021
Views:
23
>>>>How is it possible to expose an object type property on the active-x control property window such as DATASOURCE property.
>>>
>>>From the Tools menu, open «Procedures Attributes». Select one of the property you want to be databound. Click the Advanced button. Click at least on «property is databound» and «This property binds to datafield».
>>
>>This works fine.
>>I have another case where the active-x user must enter in the ChildFormName property the form name to be called, and as you know the form is an object which means that I can't issue ChildFormName.Show command.
>>Any workaround??
>
>You can use the Forms collection:
>
Private Sub Command1_Click()
>Dim x As Form
>
>    Set x = Forms.Add("form2")
>    x.Show
>End Sub
This does not work, because ChildFormName property is not an object type property, it only contains the name of the form to be open.
In another word, what is the way to expose object type property in property window of active-x control when used by the end-user.

Concerning the very first question about datasource property, what about if I have two textboxes binded, how is it possible to assign each textbox with the appropriate property name.
System Analyst
Nabil B. Ghrayyeb
nabilg@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform