| View previous topic :: View next topic |
| Author |
Message |
noveltech Contributor

Joined: 16 Sep 2002 Posts: 105
|
Posted: Mon Sep 23, 2002 10:45 pm Post subject: Version or Script Question |
|
|
I'm using VDS 4.5...Can not get many of the DSC to Play.
Could someone advise as to WHY?
Thanks
Mike
rem BITTAB made by Prakash
DIRECTORY CHANGE,@curdir()\
title BITTAB
DIALOG CREATE,BITTAB,-1,0,363,412,-
BITMAP(BITTAB2;10;10;;;@curdir()\tab2.bmp),-
BITMAP(BITTAB2a;15;15;;;@curdir()\tab2a.bmp;CLICK),-
BITMAP(BITTAB1;10;10;;;@curdir()\tab1.bmp),-
BITMAP(BITTAB1a;15;108;;;@curdir()\tab1a.bmp;CLICK),-
LIST(LIST1;56;38;278;260),-
BUTTON(BUTTON1;364;276;;;OK),-
TEXT(TEXT1;50;96;160;11;You Have Clicked On BITTAB 2)
dialog hide,TEXT1
:evloop
wait event
goto @event()
:BITTAB1aCLICK
dialog hide,BITTAB1
dialog hide,BITTAB1a
dialog hide,LIST1
dialog show,TEXT1
dialog show,BITTAB2
dialog show,BITTAB2a
goto evloop
:BITTAB2aCLICK
dialog hide,BITTAB2
dialog hide,BITTAB2a
dialog hide,TEXT1
dialog show,LIST1
dialog show,BITTAB1
dialog show,BITTAB1A
goto evloop
:BUTTON1BUTTON
Warn BITTAB Was Made By Prakash@cr()Come to http://www.vdsworld.com
exit
goto evloop
:CLOSE
exit |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Mon Sep 23, 2002 10:48 pm Post subject: |
|
|
The example you posted is VDS 2x code. It must be
modified to work in VDS3 or VDS4.
Check out the "Share Source Code" section at the
forum main page:
http://www.vdsworld.com/forum/
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Tue Sep 24, 2002 1:15 am Post subject: |
|
|
You can use the Script Convertor in the Tools menu to convert the script over to the new
syntax automatically. |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Tue Sep 24, 2002 3:13 am Post subject: |
|
|
Yeah, and it might even work occasionally...
Sorry Tommy. I thought about mentioning it, but
it's never worked on a complete script for me...
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Tue Sep 24, 2002 4:48 am Post subject: |
|
|
Granted, it's not perfect, but it did pretty good for me when I was
converting from 2.x to 3.x
-Garrett |
|
| Back to top |
|
 |
noveltech Contributor

Joined: 16 Sep 2002 Posts: 105
|
Posted: Thu Sep 26, 2002 1:57 pm Post subject: Many Thanks |
|
|
The Script Converter did the trick for the most part.
I'm sure if I was more vds knowledgeable...I could figure out the rest.
I'm trying. Thanks to all. Mike |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Thu Sep 26, 2002 5:57 pm Post subject: |
|
|
Print out a copy of the commands and functions from the vds help file.
Keep it readily available and compare the source to the help file. Most of
the help file entries do have examples of how the commands or functions
are to be used. Also keep some of the vds examples open in notepad for
references.
-Garrett |
|
| Back to top |
|
 |
|