Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 10 total
Thread Tab navigation in Design mode
Thu, Apr 14 2016 12:55 AMPermanent Link

Trinione

I have a number of TPagePanel tabs in Design mode. However, I am unable to access them as the PageNavigation does not allow me to navigate in design mode.

Am I missing something? How can I access the tabs at design time?
Thu, Apr 14 2016 1:20 AMPermanent Link

Michael Dreher

Trinione wrote:

 // I have a number of TPagePanel tabs in Design mode. However, I am unable
 // to access them as the PageNavigation does not allow me to navigate in design mode.
 //
 // Am I missing something? How can I access the tabs at design time?

After a click on the target tab, a click on the TPage area below is needed to make the TPage active in design mode. You can also set the "Index" property in the object inspector.

M. Dreher
Thu, Apr 14 2016 1:27 AMPermanent Link

Trinione

<< After a click on the target tab, a click on the TPage area below is needed to make the TPage active in design mode. You can also set the "Index" property in the object inspector. >>

Michael:
Getting to the target tab is the issue. Once it is not visible, clicking on the PageNavigator does not move to the next tab as it does at run-time.

Changing the index property in the object inspector places the focus on the page, but that makes no difference as the page is not visible. Frown
Thu, Apr 14 2016 8:05 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< Getting to the target tab is the issue. Once it is not visible, clicking on the PageNavigator does not move to the next tab as it does at run-time. >>

*What* is "not visible" ?  The tab, or the page ?

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Apr 14 2016 10:31 AMPermanent Link

Trinione

<< *What* is "not visible" ?  The tab, or the page ? >>

I cannot access the Tab.

For example, place a TPagePanel on a form with the default size and add say 20 pages/tabs to it by hitting the '+'. I cannot scroll across to say tab #15.
Thu, Apr 14 2016 12:09 PMPermanent Link

Trinione

The issue I mentioned before is a Design-time issue.

Upon running the program, I am also having another issue - PageNavigation := False; has no effect and the PageNavigator is visible when TabsVisible := False;
Fri, Apr 15 2016 12:24 AMPermanent Link

Bruno Larochelle

are you putting a tool bar (which has a default layout.. top left .. stretch right) perhaps? if you do that (as I have many times), then the '+' of the toolbar will go on top of the '+' of the TPagePanel. to fix this, just temporarily change the layout of the toolbar

(same thing with a grid, but grids don't layout to the top by default.. so you might not fall into the trap as easily..)

of course, maybe you were not doing that..

//

Trinione wrote:

The issue I mentioned before is a Design-time issue.

Upon running the program, I am also having another issue - PageNavigation := False; has no effect and the PageNavigator is visible when TabsVisible := False;

Bruno Larochelle
Logiciels Bitwise Software
Edmonton, AB, Canada
Fri, Apr 15 2016 5:15 AMPermanent Link

Trinione

<< are you putting a tool bar (which has a default layout.. top left .. stretch right) perhaps? if you do that (as I have many times), then the '+' of the toolbar will go on top of the '+' of the TPagePanel. to fix this, just temporarily change the layout of the toolbar >>

Bruno :
Nothing to do with a toolbar.

A test would be to start a new Form and place a TPagePanel on a form and add say 20 pages/tabs to it by hitting the '+'. I cannot scroll across to say tab #15. Change the Tab Name of the first 3 or 4 tabs and you shall see them scroll off the view as you add tabs.

Can you access Tab1, 2, 3....?
Fri, Apr 15 2016 6:00 AMPermanent Link

Matthew Jones

Trinione wrote:

> A test would be to start a new Form and place a TPagePanel on a form
> and add say 20 pages/tabs to it by hitting the '+'. I cannot scroll
> across to say tab #15. Change the Tab Name of the first 3 or 4 tabs
> and you shall see them scroll off the view as you add tabs.
>
> Can you access Tab1, 2, 3....?


It is, as you say, easily repeatable. The navigation should work, or at
least there should be a way to jump to a page in the properties.

--

Matthew Jones
Fri, Apr 15 2016 8:11 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< For example, place a TPagePanel on a form with the default size and add say 20 pages/tabs to it by hitting the '+'. I cannot scroll across to say tab #15. >>

It's a bug - for some reason the page navigation is broken at design-time.

Tim Young
Elevate Software
www.elevatesoft.com
Image