Subject Re: [IBO] How to write IB Controls?
Author Jason Wharton
I would say take the TIB_Text control a good look. Once you understand it
then take a good look at TIB_Edit. From there you will probably be ready to
look into rolling your own.

I have some rather non-standard coding techniques so that it is much easier
to maintain several independent classes with the same base of code. There
are various places where a template is shared using defines and includes.
You will want to take advantage of this setup so that you can grow as the
templates grow. I don't have any major work planned in these areas so
probably not much will change in the next few years there anyway.

See the IB_Controls.pas unit. This is the hub. There are numerous defines
and includes such that each control is split up into separate files. You
will need to make your own files to include here if you plan on these
becoming a standard part of IBO. Which is more than welcome.

Jump in with what I've told you here and lets move this to a private
discussion. We would probably do well to keep a list and make a general
guide so that others following this path will have an easier time doing it.
I've done some complex things intending to make maintenance simpler. Which
makes adding things in easier if you know how to work with it.

HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Thomas Steinmaurer" <thomas.steinmaurer@...>
To: <IBObjects@egroups.com>
Sent: Wednesday, January 24, 2001 5:24 AM
Subject: [IBO] How to write IB Controls?


> Hello,
>
> I'd like to write my own DB-Aware TIB_-Controls. For example
>
> 1) TIB_OleContainer
> 2) TIB_JPEGImage
>
> I haven't the complete source code of IBO to look into it deeper,
> therefore I would be thankful for any suggestions. What is the best
> way, to make components IBO DB-Aware.
>
> Thanks
> Thomas
>
>
>
>