OnClick Event in TTreeView Objects

Sunday, June 10th, 2007 | Dennis D. Spreen | Delphi for PHP, Delphi Programming

This code returns the TAG of a clicked node in Delphi for PHP


function TreeView1JSClick($sender, $params)
{

?>
//Add your javascript code here
tag=event.getTarget().tag;
alert(tag);

return(false);
<?php
}

Tags: , , , , , ,

2 Comments to OnClick Event in TTreeView Objects

Sunny Omohwovo
April 2, 2009

I need to be able to call up another form using one of the elements in a treeview. How do I achieve this.
Thanks

Sunny Omohwovo
April 2, 2009

Thanks,I understand the alert message. But I want to call up another form (unit) that I created myself.
I’d appreciate a sample code.
Rgds.

Leave a comment

About Dennis D. Spreen

I'm an avid programmer working on a variety of platforms in a variety of languages with a wide technical interest.

Search

QR Code

Categories