Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread Optionally hiding a PagePanel borders
Mon, Sep 28 2015 8:34 AMPermanent Link

Matthew Jones

I have a rather complex form, and decided to use a TPagePanel to
control it, as it varies according to the situation. I can hide the
tabs easily so that it is a box with no tabs, but I can't hide the
border.

Obviously I could hide the border in the interface, but then I couldn't
have a pagePanel that actually had the UI. Anyone know if there is a
way to hide the border easily?

I guess the solution might be a derived component...

--

Matthew Jones
Mon, Sep 28 2015 10:16 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< I have a rather complex form, and decided to use a TPagePanel to control it, as it varies according to the situation. I can hide the tabs easily so that it is a box with no tabs, but I can't hide the border. >>

You're really not using the control as it was designed to be used.  Why not just use multiple container panels ?

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Sep 28 2015 11:24 AMPermanent Link

Matthew Jones

Tim Young [Elevate Software] wrote:

> You're really not using the control as it was designed to be used.
> Why not just use multiple container panels ?

Multiple container panels is how I did it in EWB1, and it is horrible
to try to develop. They are all supposed to be visually in the same
place, and there is about 7 different panels. Thus I tidied it up by
having the tabs.

I'll live with my mess for now, and solve the problem if it ever
becomes one...

--

Matthew Jones
Mon, Sep 28 2015 4:49 PMPermanent Link

Steve Gill

Avatar

Hi Matthew,

<< I have a rather complex form, and decided to use a TPagePanel to
control it, as it varies according to the situation. I can hide the
tabs easily so that it is a box with no tabs, but I can't hide the
border.

Obviously I could hide the border in the interface, but then I couldn't
have a pagePanel that actually had the UI. Anyone know if there is a
way to hide the border easily?  >>

I do the same thing in Delphi apps with the TRzPageControl component. It has a HideAllTabs method, and ShowCardFrame and ShowFullFrame properties which can be set to false at run time.  It would be nice if the EWB2 TPagePanel had something similar.  It would make it easier to have varying content on the same page without having to resort to multiple panels.

Just my 2c worth.

= Steve
Mon, Sep 28 2015 5:30 PMPermanent Link

Matthew Jones


> I do the same thing in Delphi apps with the TRzPageControl component. It
> has a HideAllTabs method, and ShowCardFrame and ShowFullFrame properties
> which can be set to false at run time.  It would be nice if the EWB2
> TPagePanel had something similar.  It would make it easier to have
> varying content on the same page without having to resort to multiple panels.
>

Funny, but I have a feeling I had a small part in hide all tabs in Raize.
8-)  it is a good way to implement wizard interfaces.

--
Matthew Jones
Tue, Sep 29 2015 4:17 AMPermanent Link

Matthew Jones

Matthew Jones wrote:

> Funny, but I have a feeling I had a small part in hide all tabs in
> Raize.

Of course here at the office I can find nothing on this at all, so
perhaps I've gone mad...

--

Matthew Jones
Image