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.

Drag & Drop data between windows

4 posts in Objects Last posting was on 2003-04-05 12:28:22.0Z
Tom Posted on 2003-04-04 20:35:52.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: Tom
Date: Fri, 4 Apr 2003 16:35:52 -0400
Subject: Drag & Drop data between windows
Lines: 5
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <364_32F59D1967DB1E47007125DD85256CFE.007125EB85256CFE@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.powerbuilder.objects:7308
Article PK: 734596

Hello. I would like to choose a row from a datawindow on window #1 and
then drag and drop it (add it) to a datawindow on window #2 (both windows
are in the same application). I can't find any PB Example app which shows
which techniques should be used for this. Would someone point me in the
right direction? Thanks.


Roy Kiesler [TeamSybase] Posted on 2003-04-04 20:27:11.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com>
Subject: Re: Drag & Drop data between windows
Date: Fri, 4 Apr 2003 15:27:11 -0500
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 1036host59.starwoodbroadband.com 12.38.218.59
Message-ID: <364_#GGwuju#CHA.283@forums-1-dub>
References: <364_32F59D1967DB1E47007125DD85256CFE.007125EB85256CFE@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-1-dub.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:7309
Article PK: 734599

Have you looked at the PB Code Examples application that ships with
PowerBuilder? It has a drag-drop example that will give you all you need.

--
<hopethishelps/>
Roy Kiesler [TeamSybase]
Sybase Developer Network (SDN) -- http://sdn.sybase.com

<Tom> wrote in message
news:32F59D1967DB1E47007125DD85256CFE.007125EB85256CFE@webforums...
> Hello. I would like to choose a row from a datawindow on window #1 and
> then drag and drop it (add it) to a datawindow on window #2 (both windows
> are in the same application). I can't find any PB Example app which shows
> which techniques should be used for this. Would someone point me in the
> right direction? Thanks.


Tom Posted on 2003-04-04 21:59:07.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: Tom
Date: Fri, 4 Apr 2003 17:59:07 -0400
Subject: Re: Drag & Drop data between windows
Lines: 6
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <364_62B507538FD97BE10078C4DF85256CFE.00749FED85256CFE@webforums>
References: <364_32F59D1967DB1E47007125DD85256CFE.007125EB85256CFE@webforums> <364_#GGwuju#CHA.283@forums-1-dub>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.powerbuilder.objects:7311
Article PK: 734600

Thanks Roy, I had looked at the "Department Reports" example under Drag &
Drop before, but I checked again and I think you're right: apparently I can
pass the dragged object to the dragdrop event of the target datawindow on
window #2 and then get the selected data from that, right?

Tom


Roy Kiesler [TeamSybase] Posted on 2003-04-05 12:28:22.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com>
Subject: Re: Drag & Drop data between windows
Date: Sat, 5 Apr 2003 07:28:22 -0500
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 1036host59.starwoodbroadband.com 12.38.218.59
Message-ID: <364_eQCm282#CHA.287@forums-1-dub>
References: <364_32F59D1967DB1E47007125DD85256CFE.007125EB85256CFE@webforums> <364_#GGwuju#CHA.283@forums-1-dub> <364_62B507538FD97BE10078C4DF85256CFE.00749FED85256CFE@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-1-dub.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:7312
Article PK: 734602

Exactly.

--
<hopethishelps/>
Roy Kiesler [TeamSybase]
Sybase Developer Network (SDN) -- http://sdn.sybase.com

<Tom> wrote in message
news:62B507538FD97BE10078C4DF85256CFE.00749FED85256CFE@webforums...
> Thanks Roy, I had looked at the "Department Reports" example under Drag &
> Drop before, but I checked again and I think you're right: apparently I
can
> pass the dragged object to the dragdrop event of the target datawindow on
> window #2 and then get the selected data from that, right?
>
> Tom