Joined: 28 Apr 2006
|Posted: Fri Apr 28, 2006 5:25 pm Post subject: Another Scrolling Question...
|Please excuse any ignorance as I'm a hobbyist new to VDS and this is my first post... and of course I need help! My goal is to create a program that is capable of scrolling a "group" outside of the window boundaries. In combination with a scrollbar (which I have already) this would allow access to the entire set of objects regardless of the window size. I have tried many potential solutions including winpos, window position, and vds3.dll (I can not get it to scroll an entire group, just a single object at a time). Each time, the problem ultimately is moving the group into the negative region (Top = -1,-2,etc.) Unfortunately, due to the complexity and size of my "group", removing it and recreating each time (dialog create can use negative numbers) would be extremely tasking... Looking for a more elegant solution... any help would be appreciated.
Below is an example:
|DIALOG CREATE,New Dialog,-1,0,500,400
REM DIALOG ADD,LINE,LINE1,34,35,449,358
DIALOG ADD,Group,Group,70,150,199,277,Moving Up...
DIALOG ADD,TEXT,TEXT,118,190,,,Please Enter:
REM ATTEMPTING WITH SETPOS...
REM ATTEMPTING WITH WINDOW POSITION...
REM ANY OTHER IDEAS...?
REM REPOSITIONING HIGHER BY 1 PIXEL
DIALOG SET,STATUS,COORDINATES: Top = %T; Left = %L; Width = %W; Height = %H
%T = @FADD(%T,-1)