Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Portability
Message
From
17/11/1998 15:09:30
 
 
To
17/11/1998 15:06:27
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00158389
Message ID:
00158452
Views:
18
>>Then the question is, how do I make forms use my own DE? DE's just seem to come with the form prepackaged. I don't know how to put a different kind there.
>>
>>Thanks,
>>
>>-Michelle
>
>Can of worms... have you looked at the Codebook framework? It seperates the DE from the form so that you can reuse DE's and subclass them. Also, you can only subclass a DE programatically, so you would have to maintian your DE's in code.
>
>Codebook actually uses a BizObj to load the DE class, but, you could always have the form load it.
>
>Haven't tried it, but I belive in your form class you would want to remove the built in DE, then addobject your own DE...
>
>Simmilar to using your own text box or column class in a grid, if you have ever done that.
>
>BOb

From what Ed said, making my own DE sounds like too much work. :)

Haven't looked at Codebook. I don't want a professional framework, anyway.

I cheat on putting my own stuff in a grid. I have a program that changes all the baseclasses to my classes in the .SCX.

Thanks,

-Michelle
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform