View Single Post
  #10  
Old 06-03-2006, 01:20 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by Stefan
I would say hotel = ""; would be enough
(if it's a normal variable then it and all its subvars will be deleted, if it's a TStaticVar then it will be deleted after a few moments if no other variable is linking to it anymore)

For the tree view menu:
PHP Code:
function MyTreeView.onOpenMenu(nodepathnamedotname) {
  if (
node.nodes.size()<=0)
    
MyContextMenu.open(mousescreenx,mousescreeny);

Maybe I am doing it wrong:
I call it through:
PHP Code:
thiso.catchevent(name"onOpenMenu""onTreeView"); 
And I dont recieve function . And when I put obj, in front of node.. I recieved on anything even if it wasnt the end category
PHP Code:
function onTreeView(nodepathnamedotname) {
  if (
node.nodes.size() <= 0)
    
player.chat "test";

Reply With Quote