Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

inserting a tabpage into an inherited tabcontrol on a window

2 posts in Objects Last posting was on 2005-07-26 04:07:18.0Z
Chris Werner Posted on 2005-07-25 10:48:45.0Z
From: "Chris Werner" <cw{please_no_spam}ATf-s.de>
Newsgroups: sybase.public.powerbuilder.objects
Subject: inserting a tabpage into an inherited tabcontrol on a window
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 62.8.156.42
X-Original-NNTP-Posting-Host: 62.8.156.42
Message-ID: <42e4c38d$1@forums-1-dub>
Date: 25 Jul 2005 03:48:45 -0700
X-Trace: forums-1-dub 1122288525 62.8.156.42 (25 Jul 2005 03:48:45 -0700)
X-Original-Trace: 25 Jul 2005 03:48:45 -0700, 62.8.156.42
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8509
Article PK: 735732

Hi,

I don't know if the following is expected PB behaviour or an error:

I've coded U_TAB_MAIN as an descendant of the standard visual control "tab".
It contains some code for all tab controls of my app. If I place U_TAB_MAIN
on a window, I can't insert userobjects or tabpages into it, the menu points
are grayed out. So I have to place the tabpages into a descendant of
U_TAB_MAIN (e.g. U_TAB_CHARTS) and can place U_TAB_CHARTS on the window. But
if I use the standard visual control "tab" on the window I'm able to insert
tabpages to it.What is the reason for that?

TIA

Chris Werner


Ricci Astudillo Posted on 2005-07-26 04:07:18.0Z
From: "Ricci Astudillo" <rastudillo@digisurf.net.au>
Newsgroups: sybase.public.powerbuilder.objects
References: <42e4c38d$1@forums-1-dub>
Subject: Re: inserting a tabpage into an inherited tabcontrol on a window
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
NNTP-Posting-Host: pc-57.sis.usyd.edu.au
X-Original-NNTP-Posting-Host: pc-57.sis.usyd.edu.au
Message-ID: <42e5b6f6$1@forums-1-dub>
Date: 25 Jul 2005 21:07:18 -0700
X-Trace: forums-1-dub 1122350838 129.78.248.185 (25 Jul 2005 21:07:18 -0700)
X-Original-Trace: 25 Jul 2005 21:07:18 -0700, pc-57.sis.usyd.edu.au
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8510
Article PK: 735733

Hi Chris

This is a normal and expected behaviour. You can not add tabpages to the tab
control user object from the window, you can not add controls to the tab
page inherited from a user objects and you can not edit controls for the
tabpage user object from the window.

You need to open the tab user object and add tabpages and/or edit controls.

Ricci

"Chris Werner" <cw{please_no_spam}ATf-s.de> wrote in message
news:42e4c38d$1@forums-1-dub...
> Hi,
>
> I don't know if the following is expected PB behaviour or an error:
>
> I've coded U_TAB_MAIN as an descendant of the standard visual control
"tab".
> It contains some code for all tab controls of my app. If I place
U_TAB_MAIN
> on a window, I can't insert userobjects or tabpages into it, the menu
points
> are grayed out. So I have to place the tabpages into a descendant of
> U_TAB_MAIN (e.g. U_TAB_CHARTS) and can place U_TAB_CHARTS on the window.
But
> if I use the standard visual control "tab" on the window I'm able to
insert
> tabpages to it.What is the reason for that?
>
> TIA
>
> Chris Werner
>
>