Custom TextBox OCX Problem 
Author Message
 Custom TextBox OCX Problem

Hello Folks!

I'm designing a custom control textbox which has the feel of Office 2000.
The only problem that i've run into is that i can't add the DataField
property to the textbox control. I've been able to add DataSource,
DataMember & DataFormat (from the ActiveX Ctl Wizard) so I can't see why I
can't add DataField.

If I try to create a custom property called DataField, the wizard & complier
complains.

Any thoughts appreciated

Regards

David



Sat, 31 Jan 2004 17:48:00 GMT  
 Custom TextBox OCX Problem

thoughts were released on Tue, 14 Aug 2001 10:48:00 +0100
bearing the following fruit:

Quote:
>Hello Folks!

>I'm designing a custom control textbox which has the feel of Office 2000.
>The only problem that i've run into is that i can't add the DataField
>property to the textbox control. I've been able to add DataSource,
>DataMember & DataFormat (from the ActiveX Ctl Wizard) so I can't see why I
>can't add DataField.

>If I try to create a custom property called DataField, the wizard & complier
>complains.

>Any thoughts appreciated

Have a look at Q161273 HOWTO: Create Data Bound Controls

Since you don't mention the error you get I hope it helps.

J



Sat, 31 Jan 2004 17:57:19 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Raising Custom Events on a Custom OCX

2. need VB5 help with Custom OCX version problem

3. Problem with custom toolbar in custom template

4. OCX OCX OCX OCX OCX OCX

5. create custom property for textbox!?

6. Custom textbox component

7. custom textbox

8. Custom Painting in an inherited textbox control

9. Custom textbox entries....Keypress question

10. Help: Custom TextBox and ComboBox control issue

11. Printing with Rich TextBox custom control

12. Custom Control Textbox

 

 
Powered by phpBB® Forum Software