Icon View Thread

The following is the text of the current message along with any replies.
Messages 21 to 30 of 35 total
Thread Control/Component Properties/Events/Method Enhancement Suggestions
Tue, Jun 30 2015 11:16 AMPermanent Link

Rick

On 24/06/15 21:12, Tim Young [Elevate Software] wrote:
> I'm going to be starting the next round of control enhancements in the
> next couple of weeks, and so I thought I'd start a thread to gather up
> the most sought-after improvements.   I'm not looking for ideas for
> *new* controls/components, but rather incremental improvements or small
> missing properties/events/methods from existing controls/components.
>
>

TGrid - FixedCols and FixedRows properties so that scrolling retained
relevant information on the screen at all times. I know that this isn't
very useful on mobile but excellent for desktop style applications.

TDialog - Dragging and mouse re-sizing of parent form/panel. Once again
very useful for desktop style applications.

TCaptionBar - Would like to see this become a visual component that
could be dropped onto a form or basic panel. The caption bar would
include properties that allowed dragging and mouse re-sizing. It could
also include buttons for minimize, restore, maximize, close, etc. In
fact, having a visual TCaptionBar control could mean that there would be
no need for TDialog or TPanel as they are today because dropping such a
TCaptionBar on a basic form or panel would provide that functionality to
the parent.

TFrame - I know that this is a new component (sorry Tim) but it would be
useful in building a control which is a composite of other visual
controls. It might just be an extension of a TForm so could just be an
incremental improvement.

--
Rick
Tue, Jun 30 2015 11:35 AMPermanent Link

Matthew Jones

Rick wrote:

> TFrame - I know that this is a new component (sorry Tim) but it would
> be useful in building a control which is a composite of other visual
> controls. It might just be an extension of a TForm so could just be
> an incremental improvement.

Does the TBasicPanel not do what you want?

--

Matthew Jones
Tue, Jun 30 2015 8:51 PMPermanent Link

Rick

On 01/07/15 01:35, Matthew Jones wrote:
> Rick wrote:
>
>> TFrame - I know that this is a new component (sorry Tim) but it would
>> be useful in building a control which is a composite of other visual
>> controls. It might just be an extension of a TForm so could just be
>> an incremental improvement.
>
> Does the TBasicPanel not do what you want?
>

Sort of. I just like the Delphi TFrame concept of building up a
conglomerate control, registering it and then being able to drop it on a
form just like any other visual control.

I haven't yet tried creating a component in EWB2 that consists of other
visual controls but I imagine that there would be interface
implications. TFrame just seems easier (lazy I know).

--
Rick
Tue, Jun 30 2015 10:32 PMPermanent Link

Douglas Lyman

>> - OnColumnEnter/OnColumnExit events for grids

This one is my top vote.
Wed, Jul 1 2015 4:04 AMPermanent Link

Matthew Jones

Rick wrote:

>  I just like the Delphi TFrame concept of building up a conglomerate
> control, registering it and then being able to drop it on a form just
> like any other visual control.

Ah yes, that makes sense. The nightmares that has given me have reduced
so I'd forgotten. 8-) Right now you can do this with forms, but a frame
that is designed to work that way, and live in the IDE would be good.
I'd say that EWB should NOT do the full inheritance if it does this,
where you can override some properties on the embedded form. While
powerful, you could make a big mess. In the IDE, I think I'd want it to
"go translucent" so you know what is the compound frame, and a
double-click takes you to that file in the editor. Simple is powerful,
not complex.

--

Matthew Jones
Thu, Jul 2 2015 3:48 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Rick,

<< TCaptionBar - Would like to see this become a visual component that could
be dropped onto a form or basic panel. >>

THeaderPanel is already there - it’s purpose is to serve as a header
container control for forms.

<< The caption bar would include properties that allowed dragging and mouse
re-sizing. It could also include buttons for minimize, restore, maximize,
close, etc. In fact, having a visual TCaptionBar control could mean that
there would be no need for TDialog or TPanel as they are today because
dropping such a TCaptionBar on a basic form or panel would provide that
functionality to the parent. >>

This isn’t possible, given the current event dispatch architecture, but I'm
adding some modifications soon that may make this easier.

<< TFrame - I know that this is a new component (sorry Tim) but it would be
useful in building a control which is a composite of other visual
controls. It might just be an extension of a TForm so could just be an
incremental improvement. >>

And why not just a TForm ?  What additional functionality would it provide ?

I can do a lot of these controls, but you should really spend a little time
and review the existing container controls (WebCtnrs) and see how they're
written.  Writing new controls is trivial, to the point that you probably
won’t believe how simple it is.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Jul 2 2015 8:53 PMPermanent Link

Rick

On 03/07/15 05:48, Tim Young [Elevate Software] wrote:
>
> << TCaptionBar - Would like to see this become a visual component that
> could be dropped onto a form or basic panel. >>
>
> THeaderPanel is already there - it’s purpose is to serve as a header
> container control for forms.

Yes, I know about THeaderPanel but I'm looking for something that takes
actual control of the parent.

> << The caption bar would include properties that allowed dragging and
> mouse re-sizing. It could also include buttons for minimize, restore,
> maximize, close, etc. In fact, having a visual TCaptionBar control could
> mean that there would be no need for TDialog or TPanel as they are today
> because dropping such a TCaptionBar on a basic form or panel would
> provide that functionality to the parent. >>
>
> This isn’t possible, given the current event dispatch architecture, but
> I'm adding some modifications soon that may make this easier.

If anyone can make it happen Tim, it's you. Smile

> << TFrame - I know that this is a new component (sorry Tim) but it would
> be useful in building a control which is a composite of other visual
> controls. It might just be an extension of a TForm so could just be an
> incremental improvement. >>
>
> And why not just a TForm ?  What additional functionality would it
> provide ?

Ease of creation. Creating a new control just gives me a skeleton unit
that I then have to go and add to followed by interfaces, etc. TFrame is
for composite controls. I can visually drop existing controls onto the
frame and build it up that way. I find that I do this a lot. Lets me
modify properties via the object inspector and visually position
controls within the frame. One button click to register on the control
palette and a ready made visual control is available for reuse in
multiple applications.

--
Rick
Fri, Jul 3 2015 1:26 AMPermanent Link

Steve Gill

Avatar

I've thought about this a bit more:

* Inline HTML formatting support in the TLabel Caption, eg. "This is a <b>label</b>."
* As I mentioned previously, image support in an unbound TGrid so an image can be displayed in a column. I assume a ctImage TGridColumnControlType would need to be added.

= Steve
Fri, Jul 3 2015 9:09 AMPermanent Link

Raul

Team Elevate Team Elevate

On 7/3/2015 1:26 AM, Steve Gill wrote:
> * Inline HTML formatting support in the TLabel Caption, eg. "This is a <b>label</b>."

I found TBrowser works fine for this purpose (more flexible labels) - in
my case i removed the borders and background image and then just set
document text :

Browser1.DocumentText := '<b>Hello world</b>';


Raul
Fri, Jul 3 2015 6:48 PMPermanent Link

Steve Gill

Avatar

Hi Raul,

<< I found TBrowser works fine for this purpose (more flexible labels) - in
my case i removed the borders and background image and then just set
document text :

Browser1.DocumentText := '<b>Hello world</b>'; >>

Thanks for your suggestion. I guess it could be used for a temporary workaround but it's not really great for design time layout.

= Steve
« Previous PagePage 3 of 4Next Page »
Jump to Page:  1 2 3 4
Image