Results 1 to 2 of 2

Thread: ActiveX Control delegating to DataSource

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    2

    Question

    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?

  2. #2
    Guest
    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
  •  



Click Here to Expand Forum to Full Width