How to use PtFolder

Hi all

I am trying to use PtFolder. I am able to populate it with PtPanes but not
with any kind of tabs. Changing the selected tab from code doesn’t have any
affect.

The instructions of the knowledge base don’t work for me. Who can help me
and give me more detailed step by step instruction? This is for Photon 1.14
in QNX 4.25.


Thanks a lot
Markus

Hi Markus,

Here are the steps I followed to get the tabs to come up.
If you haven’t already customized your WidgetBar you need to add the
PtFolder and PtFolderTab widgets from the contributed widgets. Once this is
done…

  1. Created a new PhAB app.
    
  2. Added PtFolder to base window.
  3. Added PtFolderTab widget to PtFolder widget. (Make sure you drop the
    PtFolderTab on the PtFolder widget ) I had a tab appear at the top of the
    folder. Each subsequent PtFolderTab widget that I added to the PtFolder
    inserted an additional tab at the top of the folder.
  4. Then I added PtPane widgets to the PtFolder, set a different colour
    for each PtPane, so that I could tell when I moved through them.
  5. Generate, Make and Run. I was able to move to each of the different
    panes with the tabs that were at the top of the folder.

Regards
Brenda



“Markus Jauslin” <markus.jauslin@ch.mullermartini.com> wrote in message
news:as7umm$150$1@inn.qnx.com

Hi all

I am trying to use PtFolder. I am able to populate it with PtPanes but not
with any kind of tabs. Changing the selected tab from code doesn’t have
any
affect.

The instructions of the knowledge base don’t work for me. Who can help me
and give me more detailed step by step instruction? This is for Photon
1.14
in QNX 4.25.


Thanks a lot
Markus

Thanks, Brenda, it worked for me as well. The fault was that I was using
PtTab widgets instead of PtFolderTab.

Markus



<gui@qnx.com> schrieb im Newsbeitrag news:asgub6$iu$1@nntp.qnx.com

Hi Markus,

Here are the steps I followed to get the tabs to come up.
If you haven’t already customized your WidgetBar you need to add the
PtFolder and PtFolderTab widgets from the contributed widgets. Once this
is
done…

  1. Created a new PhAB app.
    
  2. Added PtFolder to base window.
  3. Added PtFolderTab widget to PtFolder widget. (Make sure you drop
    the
    PtFolderTab on the PtFolder widget ) I had a tab appear at the top of the
    folder. Each subsequent PtFolderTab widget that I added to the PtFolder
    inserted an additional tab at the top of the folder.
  4. Then I added PtPane widgets to the PtFolder, set a different colour
    for each PtPane, so that I could tell when I moved through them.
  5. Generate, Make and Run. I was able to move to each of the different
    panes with the tabs that were at the top of the folder.

Regards
Brenda



“Markus Jauslin” <> markus.jauslin@ch.mullermartini.com> > wrote in message
news:as7umm$150$> 1@inn.qnx.com> …
Hi all

I am trying to use PtFolder. I am able to populate it with PtPanes but
not
with any kind of tabs. Changing the selected tab from code doesn’t have
any
affect.

The instructions of the knowledge base don’t work for me. Who can help
me
and give me more detailed step by step instruction? This is for Photon
1.14
in QNX 4.25.


Thanks a lot
Markus
\