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.

Listbox dinamically

2 posts in Objects Last posting was on 2004-02-11 13:47:48.0Z
Paulo Eduardo Ostermann Filho Posted on 2004-02-11 10:34:31.0Z
From: "Paulo Eduardo Ostermann Filho" <peoft@terra.com.br>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Listbox dinamically
Lines: 22
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: 200-102-085-209.nhoce7002.dsl.brasiltelecom.net.br
X-Original-NNTP-Posting-Host: 200-102-085-209.nhoce7002.dsl.brasiltelecom.net.br
Message-ID: <402a0537$1@forums-1-dub>
Date: 11 Feb 2004 02:34:31 -0800
X-Trace: forums-1-dub 1076495671 200.102.85.209 (11 Feb 2004 02:34:31 -0800)
X-Original-Trace: 11 Feb 2004 02:34:31 -0800, 200-102-085-209.nhoce7002.dsl.brasiltelecom.net.br
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7785
Article PK: 735056

Hi, all!

I have tried to create a listbox object dinamically in PB 9 using CREATE
command, but I didn´t have success. Someone knows how to make this? The code
that I used :

----------------------------------

listbox lb_dirlist
boolean lb_return

lb_dirlist = CREATE listbox

lb_return = lb_dirlist.dirlist("c:\temp\*.*", 0)

destroy(lb_dirlist)

-------------------------

Thanks in advance.


Philip Salgannik Posted on 2004-02-11 13:47:48.0Z
From: "Philip Salgannik" <philemaxNOSPAM@comcast.net>
Newsgroups: sybase.public.powerbuilder.objects
References: <402a0537$1@forums-1-dub>
Subject: Re: Listbox dinamically
Lines: 39
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.1106
NNTP-Posting-Host: h0020af718683.ne.client2.attbi.com
X-Original-NNTP-Posting-Host: h0020af718683.ne.client2.attbi.com
Message-ID: <402a3284$1@forums-1-dub>
Date: 11 Feb 2004 05:47:48 -0800
X-Trace: forums-1-dub 1076507268 24.34.75.150 (11 Feb 2004 05:47:48 -0800)
X-Original-Trace: 11 Feb 2004 05:47:48 -0800, h0020af718683.ne.client2.attbi.com
X-Authenticated-User: pbtenbeta
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7786
Article PK: 735061

--
This is a EXTREME FAQ, read Help, then search
www.groups.google.com/advanced_group_search


You need to use OpenUserObject, you can't CREATE visual controls...

pbm_thisusuallydoesnothelp:-))
Philip Salgannik

"Paulo Eduardo Ostermann Filho" <peoft@terra.com.br> wrote in message
news:402a0537$1@forums-1-dub...
> Hi, all!
>
> I have tried to create a listbox object dinamically in PB 9 using CREATE
> command, but I didn´t have success. Someone knows how to make this? The
code
> that I used :
>
> ----------------------------------
>
> listbox lb_dirlist
> boolean lb_return
>
> lb_dirlist = CREATE listbox
>
> lb_return = lb_dirlist.dirlist("c:\temp\*.*", 0)
>
> destroy(lb_dirlist)
>
> -------------------------
>
> Thanks in advance.
>
>