|
-
Jul 4th, 2000, 06:53 AM
#1
Thread Starter
New Member
I'm building an ActiveX control to enhance an existing data bound control (VSFlexGrid Pro) and wish to delegate the DataSource property to the constituent control.
Problem No. 1: 'DataSource' is not a valid object type, so cannot be used in the Get and Set declarations.
Problem No. 2: generic 'Object' data type can be used in the property declarations, but gives the error 'object does not support persistence' in the WriteProperties event.
I think I'd rather avoid using the DataBindings collection, because no property is bound to a specific field and so would be introducing unnecessary properties (unless there's a way around this?).
Does anybody know a 'standard' (or other!) solution to this problem?
-
Jul 5th, 2000, 09:17 AM
#2
have you set the properties 'DataSourceBehaviour' and/or 'DataBindingBehaviour' for your control?
Sascha
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
|