Показать сообщение отдельно
Старый 15.01.2009, 12:27   #4  
bakingtheiron is offline
bakingtheiron
Участник
 
2 / 10 (1) +
Регистрация: 13.01.2009
Цитата:
Сообщение от coolibin Посмотреть сообщение
It seems like it always works that way. I am not sure about ax4, but in ax3 you could change the command
X++:
hasPrefix = false;
to
X++:
hasPrefix = true;
in a method Classes\Info\viewBuild
It will force infolog to appear as a tree in any case.
This forces the tree view like you said, but I'm unsure of what my superiors will think of it.

----
Цитата:
Сообщение от belugin Посмотреть сообщение
addone more setPrefix call in the "root" method. For example if you are calling the method from a RunBase descendant, add setPrefix(this.caption()) to the start of the run() method
This is being called via a validateWrite() on a table. I wish to keep all of this on the table.

Many thanks to both of you, I didn't have much hope of getting around this problem.

I cheated with my solution:
X++:
warning('warning message');
setPrefix(' ');

//then the while, etc
This works, and doesn't look too bad. Its only purpose being to warn the end user.

Thanks again guys

Последний раз редактировалось bakingtheiron; 15.01.2009 в 12:39.