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.

custom visual user object controls on a window

6 posts in Objects Last posting was on 2002-08-13 21:02:39.0Z
Leon Mandel Posted on 2002-08-13 17:53:36.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Leon Mandel" <leon@weepirate.com>
Subject: custom visual user object controls on a window
Date: Tue, 13 Aug 2002 12:53:36 -0500
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 204.65.67.145
Message-ID: <364_0Pt6BRvQCHA.59@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:1026
Article PK: 713589

I have seleral custom visual user object controls on a window. How do I
tell which one is clicked on? Depending on whick control is active, that's
the control I need to BringToTop win the window.

The user object controls do not have a clicked event linked to them.

Any advice?

L.


Neil Rothschild Posted on 2002-08-13 18:24:53.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Neil Rothschild" <nrothschild@nmctech.com>
Subject: Re: custom visual user object controls on a window
Date: Tue, 13 Aug 2002 14:24:53 -0400
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: pcp280455pcs.owngsm01.md.comcast.net 68.55.6.68
Message-ID: <364_1WPuzgvQCHA.59@forums.sybase.com>
References: <364_0Pt6BRvQCHA.59@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:1025
Article PK: 713585

You might be able to find an event id that does what you want. One of the
clicked or activate id's, something like that.... similar to the way you
create a 'key' event in a standard datawindow UO.

Neil

"Leon Mandel" <leon@weepirate.com> wrote in message
news:0Pt6BRvQCHA.59@forums.sybase.com...
> I have seleral custom visual user object controls on a window. How do I
> tell which one is clicked on? Depending on whick control is active,
that's
> the control I need to BringToTop win the window.
>
> The user object controls do not have a clicked event linked to them.
>
> Any advice?
>
> L.
>
>
>


S.V. Software Posted on 2002-08-13 18:26:33.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "S.V. Software" <svsoftwareNO@SPLAMyahooFORME.com>
Subject: Re: custom visual user object controls on a window
Date: Tue, 13 Aug 2002 12:26:33 -0600
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 63.101.132.74
Message-ID: <364_2Jlh8ivQCHA.298@forums.sybase.com>
References: <364_0Pt6BRvQCHA.59@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:1024
Article PK: 713587

Create a User Event and map this event to pbm_lbuttondown or pbm_lbuttonup.
In that event do this:
this.SetPosition(ToTop!)

--
S.V. Software
http://www.svsoftware.da.ru

Home of SQL Builder Professional for PowerBuilder
Download the Demo Version Now!!! Source code available for registered users.

The beta version of Database Genius 1.0.1 includes a way to create reports
just as you would in Powerbuilder and Infomaker.
Download the beta version at:
http://mywebpages.comcast.net/svsoftware/downloads/dbgenius101Beta3.zip

"Leon Mandel" <leon@weepirate.com> wrote in message
news:0Pt6BRvQCHA.59@forums.sybase.com...
> I have seleral custom visual user object controls on a window. How do I
> tell which one is clicked on? Depending on whick control is active,
that's
> the control I need to BringToTop win the window.
>
> The user object controls do not have a clicked event linked to them.
>
> Any advice?
>
> L.
>
>
>


Leon Mandel Posted on 2002-08-13 18:51:19.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Leon Mandel" <leon@weepirate.com>
Subject: Re: custom visual user object controls on a window
Date: Tue, 13 Aug 2002 13:51:19 -0500
Lines: 47
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 204.65.67.145
Message-ID: <364_HD9SSxvQCHA.197@forums.sybase.com>
References: <364_0Pt6BRvQCHA.59@forums.sybase.com> <364_2Jlh8ivQCHA.298@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:1023
Article PK: 713588

Tanks. I'll try it.

I was wondering what user even I could map...


Leon.

"S.V. Software" <svsoftwareNO@SPLAMyahooFORME.com> wrote in message
news:2Jlh8ivQCHA.298@forums.sybase.com...
> Create a User Event and map this event to pbm_lbuttondown or
pbm_lbuttonup.
> In that event do this:
> this.SetPosition(ToTop!)
>
> --
> S.V. Software
> http://www.svsoftware.da.ru
>
> Home of SQL Builder Professional for PowerBuilder
> Download the Demo Version Now!!! Source code available for registered
users.
>
> The beta version of Database Genius 1.0.1 includes a way to create reports
> just as you would in Powerbuilder and Infomaker.
> Download the beta version at:
> http://mywebpages.comcast.net/svsoftware/downloads/dbgenius101Beta3.zip
>
>
> "Leon Mandel" <leon@weepirate.com> wrote in message
> news:0Pt6BRvQCHA.59@forums.sybase.com...
> > I have seleral custom visual user object controls on a window. How do I
> > tell which one is clicked on? Depending on whick control is active,
> that's
> > the control I need to BringToTop win the window.
> >
> > The user object controls do not have a clicked event linked to them.
> >
> > Any advice?
> >
> > L.
> >
> >
> >
>
>


Leon Mandel Posted on 2002-08-13 20:39:41.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Leon Mandel" <leon@weepirate.com>
Subject: Re: custom visual user object controls on a window
Date: Tue, 13 Aug 2002 15:39:41 -0500
Lines: 68
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 204.65.61.248
Message-ID: <364_4yaZ7twQCHA.198@forums.sybase.com>
References: <364_0Pt6BRvQCHA.59@forums.sybase.com> <364_2Jlh8ivQCHA.298@forums.sybase.com> <364_HD9SSxvQCHA.197@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:1022
Article PK: 713586

I tried that and it partially worked.

The user-objects are custoim-built, multi-select ddlb's. When I drew the
control on the window, I drew a larger area than the visual part takes up
(i.e. the ddlist-box and down-arrow picture-button are at the top, with some
empty slack-space that gets filled when the ddlist-box expands.) The
problem is that the pbm_lbuttondown event only fires when I click in the
empty slack space of the control. When I click on the visual pats of the
control (i.e. ddlist-box and down-arrow picture-button) the event does not
fire.

Do I need to mat this event to the lst-box and picture-button user-object
parents?

L.

"Leon Mandel" <leon@weepirate.com> wrote in message
news:HD9SSxvQCHA.197@forums.sybase.com...
> Tanks. I'll try it.
>
> I was wondering what user even I could map...
>
>
> Leon.
>
> "S.V. Software" <svsoftwareNO@SPLAMyahooFORME.com> wrote in message
> news:2Jlh8ivQCHA.298@forums.sybase.com...
> > Create a User Event and map this event to pbm_lbuttondown or
> pbm_lbuttonup.
> > In that event do this:
> > this.SetPosition(ToTop!)
> >
> > --
> > S.V. Software
> > http://www.svsoftware.da.ru
> >
> > Home of SQL Builder Professional for PowerBuilder
> > Download the Demo Version Now!!! Source code available for registered
> users.
> >
> > The beta version of Database Genius 1.0.1 includes a way to create
reports
> > just as you would in Powerbuilder and Infomaker.
> > Download the beta version at:
> > http://mywebpages.comcast.net/svsoftware/downloads/dbgenius101Beta3.zip
> >
> >
> > "Leon Mandel" <leon@weepirate.com> wrote in message
> > news:0Pt6BRvQCHA.59@forums.sybase.com...
> > > I have seleral custom visual user object controls on a window. How do
I
> > > tell which one is clicked on? Depending on whick control is active,
> > that's
> > > the control I need to BringToTop win the window.
> > >
> > > The user object controls do not have a clicked event linked to them.
> > >
> > > Any advice?
> > >
> > > L.
> > >
> > >
> > >
> >
> >
>
>


S.V. Software Posted on 2002-08-13 21:02:39.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "S.V. Software" <svsoftwareNO@SPLAMyahooFORME.com>
Subject: Re: custom visual user object controls on a window
Date: Tue, 13 Aug 2002 15:02:39 -0600
Lines: 81
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 63.101.132.74
Message-ID: <364_5dcrM6wQCHA.197@forums.sybase.com>
References: <364_0Pt6BRvQCHA.59@forums.sybase.com> <364_2Jlh8ivQCHA.298@forums.sybase.com> <364_HD9SSxvQCHA.197@forums.sybase.com> <364_4yaZ7twQCHA.198@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:1021
Article PK: 713583

in the ddlb's clicked event put this:
parent.event lbuttondown( )
or whatever name you gave to the userobject's event.

"Leon Mandel" <leon@weepirate.com> wrote in message
news:4yaZ7twQCHA.198@forums.sybase.com...
> I tried that and it partially worked.
>
> The user-objects are custoim-built, multi-select ddlb's. When I drew the
> control on the window, I drew a larger area than the visual part takes up
> (i.e. the ddlist-box and down-arrow picture-button are at the top, with
some
> empty slack-space that gets filled when the ddlist-box expands.) The
> problem is that the pbm_lbuttondown event only fires when I click in the
> empty slack space of the control. When I click on the visual pats of the
> control (i.e. ddlist-box and down-arrow picture-button) the event does not
> fire.
>
> Do I need to mat this event to the lst-box and picture-button user-object
> parents?
>
> L.
> "Leon Mandel" <leon@weepirate.com> wrote in message
> news:HD9SSxvQCHA.197@forums.sybase.com...
> > Tanks. I'll try it.
> >
> > I was wondering what user even I could map...
> >
> >
> > Leon.
> >
> > "S.V. Software" <svsoftwareNO@SPLAMyahooFORME.com> wrote in message
> > news:2Jlh8ivQCHA.298@forums.sybase.com...
> > > Create a User Event and map this event to pbm_lbuttondown or
> > pbm_lbuttonup.
> > > In that event do this:
> > > this.SetPosition(ToTop!)
> > >
> > > --
> > > S.V. Software
> > > http://www.svsoftware.da.ru
> > >
> > > Home of SQL Builder Professional for PowerBuilder
> > > Download the Demo Version Now!!! Source code available for registered
> > users.
> > >
> > > The beta version of Database Genius 1.0.1 includes a way to create
> reports
> > > just as you would in Powerbuilder and Infomaker.
> > > Download the beta version at:
> > >
http://mywebpages.comcast.net/svsoftware/downloads/dbgenius101Beta3.zip
> > >
> > >
> > > "Leon Mandel" <leon@weepirate.com> wrote in message
> > > news:0Pt6BRvQCHA.59@forums.sybase.com...
> > > > I have seleral custom visual user object controls on a window. How
do
> I
> > > > tell which one is clicked on? Depending on whick control is active,
> > > that's
> > > > the control I need to BringToTop win the window.
> > > >
> > > > The user object controls do not have a clicked event linked to
them.
> > > >
> > > > Any advice?
> > > >
> > > > L.
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>