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.

resizing and scrolling picture objects using mouse selecting box

2 posts in General Discussion (Chinese) Last posting was on 2007-02-06 19:22:51.0Z
TDR Posted on 2007-02-06 17:56:42.0Z
Sender: 6332.45c8cac9.1804289383@sybase.com
From: TDR
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: resizing and scrolling picture objects using mouse selecting box
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <45c8cf6a.639e.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 6 Feb 2007 10:56:42 -0700
X-Trace: forums-1-dub 1170788202 10.22.241.41 (6 Feb 2007 10:56:42 -0700)
X-Original-Trace: 6 Feb 2007 10:56:42 -0700, 10.22.241.41
Lines: 25
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:184
Article PK: 104215

I have a document reviewing app.
I'm looking to add the function of zooming a picture object,
the document is displayed to fit the left half of the
screen.

I would like to be able to do the following,
if the user wishes to view a part of this doc say the
address
I would like them to take the mouse, left click the upper
left then drag to the lower right of the area they wish to
enlarge.
Then I need to resize the picture object (not the window
itself) then reposition the image to display the selected
area.

I got the zoom part coded what I need is help with the
selecting of the area on the image.

can this be done with PB8?
what command/code should I look into.
Is there an X and Y location function for picture objects
when I click and drag/draw?.
Is it possible to scroll picture objects/

TIA


TDR Posted on 2007-02-06 19:22:51.0Z
Sender: 6332.45c8cac9.1804289383@sybase.com
From: TDR
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: posted in the wrong area. My bad!!
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <45c8e39b.64eb.1681692777@sybase.com>
References: <45c8cf6a.639e.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 6 Feb 2007 12:22:51 -0700
X-Trace: forums-1-dub 1170793371 10.22.241.41 (6 Feb 2007 12:22:51 -0700)
X-Original-Trace: 6 Feb 2007 12:22:51 -0700, 10.22.241.41
Lines: 27
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:185
Article PK: 104217

oops. my mistake

> I have a document reviewing app.
> I'm looking to add the function of zooming a picture
> object, the document is displayed to fit the left half of
> the screen.
>
> I would like to be able to do the following,
> if the user wishes to view a part of this doc say the
> address
> I would like them to take the mouse, left click the upper
> left then drag to the lower right of the area they wish to
> enlarge.
> Then I need to resize the picture object (not the window
> itself) then reposition the image to display the selected
> area.
>
> I got the zoom part coded what I need is help with the
> selecting of the area on the image.
>
> can this be done with PB8?
> what command/code should I look into.
> Is there an X and Y location function for picture objects
> when I click and drag/draw?.
> Is it possible to scroll picture objects/
>
> TIA