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.

OO programming with a tab control ?

2 posts in Objects Last posting was on 2003-11-26 15:16:14.0Z
Olivier Posted on 2003-11-26 15:08:44.0Z
From: "olivier" <ociteau@nospam.yahoo.fr>
Newsgroups: sybase.public.powerbuilder.objects
Organization: 81.80.240.237
X-Newsreader: AspNNTP 1.50 (Tri Hoang)
Subject: OO programming with a tab control ?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: transinc-win02.netoptex.com
Message-ID: <3fc4c378$1@forums-2-dub>
X-Original-Trace: 26 Nov 2003 07:15:04 -0800, transinc-win02.netoptex.com
Lines: 18
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 26 Nov 2003 06:58:23 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 26 Nov 2003 07:08:44 -0800
X-Trace: forums-1-dub 1069859324 10.22.108.75 (26 Nov 2003 07:08:44 -0800)
X-Original-Trace: 26 Nov 2003 07:08:44 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7672
Article PK: 734951

Anyone has succeeded in OO programming with a tab control ?
When i create my tab ancestor (u_tab) and drop it on the surface of a window
, i can neither insert a tabpage nor a user object.
WHY ?

And why is there a u_tab in the PFC, since we cannot add a tabpage ?
PFC help say : Tab control visual user object ancestor.

Is using a nvo service the only way ?
I made such a nvo, but i need two lines of code in final tab control :
constructor :
inv_tabsrv.of_init (This)
selectionChanged :
inv_tabsrv.event ue_selectionchanged( oldindex, newindex)


---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


Bug Posted on 2003-11-26 15:16:14.0Z
From: "Bug" <fenterbug@hotmail.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <3fc4c378$1@forums-2-dub>
Subject: Re: OO programming with a tab control ?
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 66.196.228.210
X-Original-NNTP-Posting-Host: 66.196.228.210
Message-ID: <3fc4c3be$1@forums-1-dub>
Date: 26 Nov 2003 07:16:14 -0800
X-Trace: forums-1-dub 1069859774 66.196.228.210 (26 Nov 2003 07:16:14 -0800)
X-Original-Trace: 26 Nov 2003 07:16:14 -0800, 66.196.228.210
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7673
Article PK: 734953

You add your tab pages to your custom tab object within the userobject
painter. Having pages on the control is basically a modification of the
class itself. Once you plop that class on the window, your messing with the
window class.

"olivier" <ociteau@nospam.yahoo.fr> wrote in message
news:3fc4c378$1@forums-2-dub...
> Anyone has succeeded in OO programming with a tab control ?
> When i create my tab ancestor (u_tab) and drop it on the surface of a
window
> , i can neither insert a tabpage nor a user object.
> WHY ?
>
> And why is there a u_tab in the PFC, since we cannot add a tabpage ?
> PFC help say : Tab control visual user object ancestor.
>
> Is using a nvo service the only way ?
> I made such a nvo, but i need two lines of code in final tab control :
> constructor :
> inv_tabsrv.of_init (This)
> selectionChanged :
> inv_tabsrv.event ue_selectionchanged( oldindex, newindex)
>
>
> ---== Posted via the PFCGuide Web Newsreader ==---
> http://www.pfcguide.com/_newsgroups/group_list.asp