Restored from previous forum. Originally posted by horst.
Is there any way to find out which item was
right clicked in a TreeGadget() ?
Horst
Right mouse click in TreeGadget()
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Paul.
idx=GetGadgetState(#Tree)
Will return the index number of the selected item in a TreeGadget.
text.s=GetGadgetItemText(#Tree,idx,0)
Will return the text of the selected item once you find the index number.
----------
Visit the PB Resources Site at http://www.reelmediaproductions.com/pb
idx=GetGadgetState(#Tree)
Will return the index number of the selected item in a TreeGadget.
text.s=GetGadgetItemText(#Tree,idx,0)
Will return the text of the selected item once you find the index number.
----------
Visit the PB Resources Site at http://www.reelmediaproductions.com/pb
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Paul.
Sorry... I was checking my other right
----------
Visit the PB Resources Site at http://www.reelmediaproductions.com/pb
Sorry... I was checking my other right
----------
Visit the PB Resources Site at http://www.reelmediaproductions.com/pb