Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread TGroupPanel double click
Fri, Nov 25 2016 8:05 AMPermanent Link

Matthew Jones

I think the double click should work still even on the caption text, not just the border and contents area. And if not, then the caption should have a double click event too.

Indeed, now I check the single click should work on the caption text too. The caption is as much part of the panel as any other part.

--

Matthew Jones
Sat, Nov 26 2016 9:04 PMPermanent Link

erickengelke

Avatar

"Matthew Jones" wrote:

>I think the double click should work still even on the caption text, not just the border and contents area. And if not, then the caption should have a double click event too.

>Indeed, now I check the single click should work on the caption text too. The caption is as much part of the panel as any other part.

You can set the Caption onclick handler to the same handler as the panel's OnCLick handler.  
Shift Click each Caption, then you can set all the Caption's onclick handlers at the same time.

E
Mon, Nov 28 2016 1:18 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< I think the double click should work still even on the caption text, not just the border and contents area. And if not, then the caption should have a double click event too.

Indeed, now I check the single click should work on the caption text too. The caption is as much part of the panel as any other part. >>

What are you trying to accomplish ?  Perhaps the group panel control isn't the correct control because it, like many of the container controls, considers the caption to be a non-client area.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Nov 28 2016 1:18 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Erick,

<< You can set the Caption onclick handler to the same handler as the panel's OnCLick handler. >>

Unfortunately the TGroupPanel control doesn't have a separate Caption sub-control.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Nov 29 2016 7:47 AMPermanent Link

Matthew Jones

Tim Young [Elevate Software] wrote:

> What are you trying to accomplish ?  Perhaps the group panel control isn't the correct control because it, like many of the container controls, considers the caption to be a non-client area.

I was wanting to be able to double-click on the "frame" to refresh the contents. A minor use really, but it just seems inconsistent as the label is not considered separate from the operation point of view, so should act the same way as the rest.


--

Matthew Jones
Image