Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to Modify Tooltype with dos_SetToolString{}
#1
Hi guys,
It appears that the dos_SetToolString{} function does not set a tooltype if the tooltype already exists. To test, I created a file in RAM: called "Test" with an icon and ran the following code:

Code:
optimize 4

XINCLUDE "dos.include.bb2"

NPrint dos_SetToolString{"TEST","TestString","RAM:Test.info"}

It added the tooltype as expected and gave a successful result (-1).

However, when I change the tooltype and re-run the code, the tooltype is not updated to "TestString". The function still returns success (-1) so I cannot tell that it has failed. Any ideas what might be going on?

Thanks!
Zitieren


Nachrichten in diesem Thema

Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste