RE: Passing domnode of tree branch element to event handler
"Christian Boulanger" <[email protected]> Mon, 13 Oct 2003 10:05:24 +0200
| Newsgroups | gmane.comp.windows.devel.netwindows |
|---|---|
| Message-ID | <000601c39160$c1ea6dc0$0301a8c0@Laptop> |
Hi again, Am I doing something wrong: isn't itpossible to attach an event to a folder (as opposed to a folder element) in the tree widget? C. > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Christian Boulanger > Sent: Monday, October 13, 2003 8:57 AM > To: 'netWindows development discussion list' > Subject: [NW-Devel] Passing domnode of tree branch element to > event handler > > > Hi, > > I would like to visually mark the currently selected branch > of the tree widget, for example, change the background color > of the span element that contains the "dispText". Would it be > possible to attach a reference to the last element that was > clicked on to the tree object (or something simular), so that > the function that handles the click on the branch can do > something with ist style attribute? Or attach the reference > to the "this" reference that can be passed by the "event" caller... > > Thanks, > CB. > > > _______________________________________________ > The netWindows developers list: [email protected] > http://netwindows.org/mailman/listinfo/devel_netwindows.org > > _______________________________________________ The netWindows developers list: [email protected] http://netwindows.org/mailman/listinfo/devel_netwindows.org