Die Oberfläche von VDS Renaissance ist in mehreren Sprachen verfügbar. Die offizielle Dokumentation wird auf Englisch gepflegt, um eine einheitliche, konsistente und stets aktuelle Referenz zu gewährleisten.
Frequently Asked Questions
I want to put some quotes '"' in a string, but they are always removed. Why?
Visual DialogScript uses double-quotes as a delimiter. Within double-quotes, a % character is not treated as the start of a variable name, the @ character is not treated as the start of a function name, and commas are not treated as parameter separators. Quotes act as toggles: they can appear anywhere in a string and turn the delimiter effect on and off as the string is parsed from left to right. In the process the quotes are removed. To get double-quote characters into a string you must use @CHR(34) which is converted to the ASCII character with code 34, which is a double-quote.
I am trying to copy a file from one directory to another and it is not working. Why?
The FILE COPY command is not like the DOS COPY command in that it must have a full path (including filename) as the target, not just a directory, even if the name of the copy is to remain the same.
Why does not a horizontal scroll bar appear in a list box if an item in the list is too wide to fit?
The LIST dialog element does not have a style option for displaying a horizontal scroll bar. However, you can get Windows to display a horizontal scroll bar using the line:
%P = @sendmsg(@winexists(~LIST1),$0194,1000,0)
after the dialog has been created (where LIST1 is the name of the LIST dialog element).
Why does my script not halt at WAIT EVENT command?
There may be another event waiting to be processed. You must clear the event by reading the event type using the @EVENT function. If your script does not care what the event is (sometimes events are generated by actions taken by your program when it creates the dialog and loads data into its elements) then you can clear the event buffer using the following code:
while @event()
wend
I used a bitmap or icon in my dialog. When another user runs the program the image does not appear. Why?
The path to the bitmap or icon file is a full path which is not valid on the user's system. It is best to store resources such as bitmaps in the executable file itself, which can be achieved simply by prefixing the file name with a # character.