Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Component Writing Tutorial
Wed, Nov 7 2018 3:53 AMPermanent Link

Eivind

Gents

I'm wondering if a good tutorial exists on writing custom components for EWB exists? I mean, I can create simple component by inheriting from existing components, but I'm looking at creating my custom searchable DB Lookup combo box. Today I have one successfully working, but it does not exist as a component. I basically use a TDialgEditComboBox and a grid. Behind the scenes I create a few datasets that does the client filtering as the user types in the search criteria. It works like a charm today, but now I have to duplicate the same code over and over again for each combo box I need

Please have a look at the attached video to see how it works. I would love to be able to assemble tis into one component.

Thanks for any feedback

Eivind



Attachments: Elevate_recording.mov
Wed, Nov 7 2018 10:34 AMPermanent Link

Uli Becker

Eivind,

> I'm wondering if a good tutorial exists on writing custom components for EWB exists?

There is a youtube video which demonstrates some basics, but nothing else:

https://www.youtube.com/watch?v=dZEQBqP8NME

https://www.elevatesoft.com/articles?action=view&category=ewb&article=elevate_web_builder_2_control_creation_tutorial_video

The best way IMHO would be to study the sources of custom components posted in the "Comps" newsgroup and/or study the sources of Tim's components.

> Please have a look at the attached video to see how it works. I would love to be able to assemble tis into one component.

That's possible for sure. But you would have to learn the basics before starting.

Uli
Mon, Nov 12 2018 2:39 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Eivind,

<< I'm wondering if a good tutorial exists on writing custom components for EWB exists? I mean, I can create simple component by inheriting from existing components, but I'm looking at creating my custom searchable DB Lookup combo box. Today I have one successfully working, but it does not exist as a component. I basically use a TDialgEditComboBox and a grid. Behind the scenes I create a few datasets that does the client filtering as the user types in the search criteria. It works like a charm today, but now I have to duplicate the same code over and over again for each combo box I need

Please have a look at the attached video to see how it works. I would love to be able to assemble tis into one component. >>

First: the application looks great, so please post some screen shots when you're complete. Smile

Second: if you want to send me what you've got, I can show you how to organize it into a re-usable component.  Composite components are the easiest to deal with, typically, because they don't require their own control interfaces.  It really all comes down to how much of the existing control properties you wish to expose, and how you want to expose them.

Tim Young
Elevate Software
www.elevatesoft.com
Image