| View previous topic :: View next topic |
| Author |
Message |
Marcelito Escort Newbie
Joined: 22 Jun 2004 Posts: 10
|
Posted: Wed Jun 23, 2004 1:19 pm Post subject: |
|
|
| In that case, is there any other way to have a scrollable (up/down) window in VDS5 without using VDSCSCRL.DLL? |
|
| Back to top |
|
 |
Marcelito Escort Newbie
Joined: 22 Jun 2004 Posts: 10
|
Posted: Wed Jun 23, 2004 2:20 pm Post subject: |
|
|
OK, finally i use VDSSCROLL.DLL instead of VDSCSCRL.DLL and the example bellow works fine.
But... how can i do to affect de contents of the window,
ie: I need to display an image, when i move the scroll i need that image to scroll to...
untherstand? (Sorry, my english is to bad...) |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Jun 24, 2004 3:57 am Post subject: |
|
|
What you will need to do is use the DIALOG SETPOS command, and
adjust the contents of your dialog according to the position of the scrollbar.
When I'm online tomorrow I'll be able to explain more in-depth, or perhaps
someone else can.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Marcelito Escort Newbie
Joined: 22 Jun 2004 Posts: 10
|
Posted: Thu Jun 24, 2004 1:16 pm Post subject: |
|
|
FreezingFire thanks for your reply, but what i´m trying to do is to scroll up down an image (BMP file).
I can adjust the image position using SETPOS but when the position of the image is 0 i cant setpos to negative numbers to show the final of the BMP.
Is there any way to do this?
Thanks again |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Jun 24, 2004 1:55 pm Post subject: |
|
|
I believe that there was an example for this, let me track that down for ya.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Tue Jul 06, 2004 3:54 am Post subject: |
|
|
You can try this example (for VDS 5 only):
http://www.vdsworld.com/files/vdscscroll2.dsc
Make sure to change the %%filename variabele to point to a bitmap file of your own.
Please realize that besides vdscscroll.dll it will also require the following file:
http://www.vdsworld.com/vdsdll/vds5/vdscimg.dll
I'm sorry for the confusion caused because of no full VDS 5 compatible package being
available yet. Vic, please wait for me to make one available, so that all the new examples
for VDS 2 and 5 will be included as well. It is really just the packaging that is still to be
done, but I want to be very sure that everything is ok with it before I release it.
Tommy |
|
| Back to top |
|
 |
Vic D'Elfant Past Contributor


Joined: 26 Jun 2002 Posts: 673 Location: The Netherlands
|
Posted: Tue Jul 06, 2004 6:52 am Post subject: |
|
|
Okay, I was going to wait for your agreement anyway Tommy  _________________ phpBB Development Team |
|
| Back to top |
|
 |
|