PDA

View Full Version : Dialog complie error message



NewsArchive
06-02-2013, 10:47 AM
Running SB7 but I see where SB8 might have the same problem?

I created a dialog in the VDE. In this dailog I had a path to an rtf file. When that path changed
the compile would give an error as expected.

When I deleted the dialog in the script editor by not changing the path(not sure about this error if
deleting in the VDE) the compile would still give the error. That is after saving and closing and
then opening and compiling. Its like the dialog info is still in the project. I had to copy this
same dialog from another project and paste it in. Then correct the path and then delete the dialog.
I do not remember if the 2nd time I deleted from the VDE. Maybe if I had copied the dialog in and
deleted from the VDE without changing the path it would have worked.

The project would have been useless if I did not have the same dialog in another project.

On the positive side:

Thank goodness SB can be running twice at the same time and I can have 2 different projects opened
and copy any script over to another project.

Jim

NewsArchive
06-03-2013, 12:43 AM
Jim,

Could you post a small project to demonstrate this issue? The dialog
information is stored in a single line (it's not stored globally). So if
you have stored the path in that dialog (and not in a text resource!) then
it should delete if you remove that dialog (line).

Thanks,
Friedrich

NewsArchive
06-04-2013, 01:06 AM
It is in a dialog type "readme" which is a text resource. So when this dialog is deleted the text
resouce file remains hidden in the script.

Jimmy Rogers

NewsArchive
06-04-2013, 01:06 AM
Jim,

> It is in a dialog type "readme" which is a text resource. So
> when this dialog is deleted the text resouce file remains
> hidden in the script.

Yes, and this is the expected behavior! :-) Not "hidden" in the script,
but in the "Text and Messages" Visualizer!

Friedrich

NewsArchive
06-04-2013, 01:07 AM
BTW, all text resources are stored in the "Text and Messages" Visualizer
(see attached screenshot), not in a dialog or script function.

Friedrich

NewsArchive
06-04-2013, 09:59 AM
Found it. Thanks.

Jimmy

NewsArchive
06-04-2013, 09:59 AM
>
> Found it. Thanks.
>

Great! Thanks for the update!

Friedrich