Forum Discussion
NisHera
Valued Contributor
to call log.message you need parenthesis
see this example.
It's better to get the name first in to a string and then display it with .... log.message(str)
Felixg
7 years agoOccasional Contributor
Hi NisHera,
Thanks for your quick answer.
So I tried :
Dim str : str = Sys.Process("proto_cmenu").QtObject("CMenu", "", 1).getTestName(0) Log.Message ("Test Name 0 = " + str)
Nevertheless, I get the same error :
Debug String: QMetaObject::invokeMethod: No such method CMenu::getTestName(getTestName)
Candidates are:
getTestName(int)
Related Content
- 2 years ago
- 4 years ago
- 3 years ago
- 4 years ago
Recent Discussions
- 18 hours ago
- 7 days ago
- 10 days ago