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.

Dynamic menu PB10.5

5 posts in Objects Last posting was on 2007-04-17 22:47:08.0Z
jean duf Posted on 2006-09-22 15:59:47.0Z
From: "jean duf" <jduf@wavesoft.org>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Dynamic menu PB10.5
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-Antivirus: avast! (VPS 0638-1, 22/09/2006), Outbound message
X-Antivirus-Status: Clean
X-Original-NNTP-Posting-Host: 194.3.101.81
Message-ID: <4514060f$2@forums-2-dub>
X-Original-Trace: 22 Sep 2006 08:49:35 -0700, 194.3.101.81
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 22 Sep 2006 08:49:36 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 22 Sep 2006 08:59:47 -0700
X-Trace: forums-1-dub 1158940787 10.22.108.75 (22 Sep 2006 08:59:47 -0700)
X-Original-Trace: 22 Sep 2006 08:59:47 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9069
Article PK: 736256

HI,
In PB9 I dynamically create menus in my application.
With PB 10.5 that seems to function, but random planting of the application.
Especially on the ChangeMenu() function.

Can anyone help me

Thanks


Smith Posted on 2006-09-25 13:07:47.0Z
Sender: 6105.4517d2b9.1804289383@sybase.com
From: Smith
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Dynamic menu PB10.5
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4517d3fd.6114.1681692777@sybase.com>
References: <4514060f$2@forums-2-dub>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 25 Sep 2006 06:05:01 -0700, 10.22.241.42
Lines: 19
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 25 Sep 2006 06:05:03 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 25 Sep 2006 06:07:47 -0700
X-Trace: forums-1-dub 1159189667 10.22.108.75 (25 Sep 2006 06:07:47 -0700)
X-Original-Trace: 25 Sep 2006 06:07:47 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9075
Article PK: 736261

Hi,

Can you explain in detail what do you want to do exactly,

Regards,

Smith

> HI,
> In PB9 I dynamically create menus in my application.
> With PB 10.5 that seems to function, but random planting
> of the application. Especially on the ChangeMenu()
> function.
>
> Can anyone help me
>
> Thanks
>
>


jean duf Posted on 2006-09-26 08:47:39.0Z
From: "jean duf" <jduf@wavesoft.org>
Newsgroups: sybase.public.powerbuilder.objects
References: <4514060f$2@forums-2-dub> <4517d3fd.6114.1681692777@sybase.com>
Subject: Re: Dynamic menu PB10.5
Lines: 56
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-Antivirus: avast! (VPS 0639-1, 25/09/2006), Outbound message
X-Antivirus-Status: Clean
X-Original-NNTP-Posting-Host: 194.3.101.81
Message-ID: <4518e8bf$1@forums-2-dub>
X-Original-Trace: 26 Sep 2006 01:45:51 -0700, 194.3.101.81
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 26 Sep 2006 01:45:52 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 26 Sep 2006 01:47:39 -0700
X-Trace: forums-1-dub 1159260459 10.22.108.75 (26 Sep 2006 01:47:39 -0700)
X-Original-Trace: 26 Sep 2006 01:47:39 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9077
Article PK: 736262

I add sub-menus dynamically, according to elements external, with the menu
principal of the MDI.
Using the code below, therefore in PB9 and In PB8 that functions.
InPB 10.5 random crash of the application.
Indeed in PB10.5 menus one to evolve/move, that to make so that that always
does function?
Thank you
//----------------------------------------------------//
integer li_loop, li_loopmax, li_ub
long ll_id

li_ub = upperbound( im_dynamic )

if li_ub = 0 then
ll_id = 1
else
ll_id = im_dynamic[li_ub].fmGetID()
ll_id++
end if

li_ub++
im_dynamic[li_ub] = create m_dynamic

im_dynamic[li_ub].fmSetText( as_text )

im_dynamic[li_ub].fmSetID( ll_id )
m_main.item[li_ub] = im_dynamic[li_ub]
m_main.hide()
m_main.show()

return ll_id
//--------------------------------------------//

<Smith> a écrit dans le message de news:
4517d3fd.6114.1681692777@sybase.com...

> Hi,
>
> Can you explain in detail what do you want to do exactly,
>
> Regards,
>
> Smith
>
>> HI,
>> In PB9 I dynamically create menus in my application.
>> With PB 10.5 that seems to function, but random planting
>> of the application. Especially on the ChangeMenu()
>> function.
>>
>> Can anyone help me
>>
>> Thanks
>>
>>


jean duf Posted on 2006-09-27 08:13:15.0Z
From: "jean duf" <jduf@wavesoft.org>
Newsgroups: sybase.public.powerbuilder.objects
References: <4514060f$2@forums-2-dub> <4517d3fd.6114.1681692777@sybase.com>
Subject: Re: Dynamic menu PB10.5
Lines: 55
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-Antivirus: avast! (VPS 0639-2, 26/09/2006), Outbound message
X-Antivirus-Status: Clean
X-Original-NNTP-Posting-Host: 194.3.101.81
Message-ID: <451a3136$1@forums-2-dub>
X-Original-Trace: 27 Sep 2006 01:07:18 -0700, 194.3.101.81
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 27 Sep 2006 01:09:09 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 27 Sep 2006 01:13:15 -0700
X-Trace: forums-1-dub 1159344795 10.22.108.75 (27 Sep 2006 01:13:15 -0700)
X-Original-Trace: 27 Sep 2006 01:13:15 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9079
Article PK: 736264

I add sub-menus dynamically, according to elements external, with the menu
principal of the MDI.
Using the code below, therefore in PB9 and In PB8 that functions.
InPB 10.5 random crash of the application.
Indeed in PB10.5 menus one to evolve/move, that to make so that that always
does function?
Thank you
//----------------------------------------------------//
integer li_loop, li_loopmax, li_ub
long ll_id

li_ub = upperbound( im_dynamic )

if li_ub = 0 then
ll_id = 1
else
ll_id = im_dynamic[li_ub].fmGetID()
ll_id++
end if

li_ub++
im_dynamic[li_ub] = create m_dynamic

im_dynamic[li_ub].fmSetText( as_text )

im_dynamic[li_ub].fmSetID( ll_id )
m_main.item[li_ub] = im_dynamic[li_ub]
m_main.hide()
m_main.show()

return ll_id

<Smith> a écrit dans le message de news:
4517d3fd.6114.1681692777@sybase.com...

> Hi,
>
> Can you explain in detail what do you want to do exactly,
>
> Regards,
>
> Smith
>
>> HI,
>> In PB9 I dynamically create menus in my application.
>> With PB 10.5 that seems to function, but random planting
>> of the application. Especially on the ChangeMenu()
>> function.
>>
>> Can anyone help me
>>
>> Thanks
>>
>>


Sergio Carrizo Posted on 2007-04-17 22:47:08.0Z
From: "Sergio Carrizo" <carrizo_sa@hotmail.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <4514060f$2@forums-2-dub>
Subject: Re: Dynamic menu PB10.5
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: host51.200-71-228.telecom.net.ar
X-Original-NNTP-Posting-Host: host51.200-71-228.telecom.net.ar
Message-ID: <46254e6c$1@forums-1-dub>
Date: 17 Apr 2007 15:47:08 -0700
X-Trace: forums-1-dub 1176850028 200.71.228.51 (17 Apr 2007 15:47:08 -0700)
X-Original-Trace: 17 Apr 2007 15:47:08 -0700, host51.200-71-228.telecom.net.ar
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9324
Article PK: 736484

Hello. How I can create menu dynamically?
thank's


"jean duf" <jduf@wavesoft.org> escribió en el mensaje
news:4514060f$2@forums-2-dub...

> HI,
> In PB9 I dynamically create menus in my application.
> With PB 10.5 that seems to function, but random planting of the
> application. Especially on the ChangeMenu() function.
>
> Can anyone help me
>
> Thanks
>