thowa
unread,Dec 8, 2010, 3:43:23 AM12/8/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tk Documentation and Resources
Hi All,
I'm trying to get the treeview running but I'm having problems.
The currenty (and biggest) issue is that I cannot destroy any item of
teh tree view.
I have this command in my perl script:
$g_UI_tree->destroy($g_UI_tree->focus);
It produces this error:
--------------------------------------------------------------------------------------------------------------------------------------------------------
bad command "destroy": must be bbox, children, cget, column,
configure, delete, detach, drag, exists, focus, heading, identify,
index, instate, insert, item, move, next, parent, prev, see,
selection, set, state, tag, xview, or yview at C:\depot\dev\twalenzyk
\Deviator\Deviator_0.3\Perl\ParseTestStandLogs.pl line 1255.
bad command "destroy": must be bbox, children, cget, column,
configure, delete, detach, drag, exists, focus, heading, identify,
index, instate, insert, item, move, next, parent, prev, see,
selection, set, state, tag, xview, or yview
while executing
".t destroy {\\station18602\c$\TestStandLogs}"
invoked from within
"::perl::CODE(0x561835c)"
(command bound to event)
--------------------------------------------------------------------------------------------------------------------------------------------------------
I need some help to get the destroy working.
(I have also tried detach andd it refuses to work too)
Best regards,
Thorsten