Displaying image in TableMatrix cell
Hi All,
I ran into a trouble displaying an image inside the cell in TableMatrix;
Here is my code and error message:
$main::master{roomview2_table}->tagConfigure('phone', -image => './img/left.gif', -showtext => 1);
Error:
Tk::Error: image "./img/left.gif" doesn't exist at C:/Perl/lib/Tk.pm line 252, <DATA> line 2023.
Tk callback for
.toplevel.frame.frame1.frame2.frame8.frame1.frame. tablematrix
Tk::__ANON__ at C:/Perl/lib/Tk.pm line 252
Tk::Submethods::__ANON__ at C:/Perl/lib/Tk/Submethods.pm line 19
Tk::Derived::Delegate at C:/Perl/lib/Tk/Derived.pm line 469
Tk::Widget::__ANON__ at C:/Perl/lib/Tk/Widget.pm line 322
moa_control::roomview2_update_table_content at moa_control.pm line 24858
moa_gui::__ANON__ at moa_gui.pm line 22737
Tk callback for .toplevel.frame.frame1.frame2.frame8.frame.button
Tk::__ANON__ at C:/Perl/lib/Tk.pm line 252
Tk::Button::butUp at C:/Perl/lib/Tk/Button.pm line 111 <ButtonRelease-1>
(command bound to event)
I am using Perl 5.8 on Windows!
Many thanks for any hints!!!
Cheers,
Sava
|