I have a sub routine set up that accepts 1 argument. When I try to call the subroutine again in my program, it says there is "Too many arguments" Even though there is the same ammount on the first call!
Any help would be appriciated!
Thanks
I have created a ROText box that I send text output to... Is there a way to capture everything thats in the ROText box and print it to the dos screen? What I'm really trying to do is make it so I can create a log file of what was in the ROText box. Printing the ROText variable used only...
I was able to use $widget->withdraw to hide the window and $widget->popup to show the window. One draw back is that it doesn't remember the position of the window on the screen. It moves slightly, not too noticible, but slightly.
I have these show/hide command on buttons, but my main problem...
Is there a way to have a modal window within a main window?
What I mean is a child window of another, where you cannot click on any other window (sort of like how it is when you have a dialog box)...
I'm creating all these new windows in my program and I don't want users to go to previous ones.
This has worked with a charm but is there a way to also disable the 'X' close button?
I really don't want users pressing it because my exit or done buttons I have created clear variables for later executions...
I do have something similar to that, sort of like a flush which displays these things on the script window.
I have:
$script_output->idletasks;
$script_output -> see ('end');
at the end of every time I appent text to the script window.
Thank you for your quick response!
I have the continue YES NO prompt... When yes is pressed, it goes right to a sub routine that creates a window in the first line, with a label saying "Please Wait..." and buttons and the whole works... also a larger script output window that has a scroll bar...
I have a bunch of prepare and execute statements that will run after a user clicks OK on a Perk TK dialog box. Most of the time it will freeze on the mouse release and do its work behind the scene, then when its done, my script output window displays.
I would like the script output to display...
If I define a new window, is there a way to disable the maximize/minimize/close buttons on the top right of the window?
my $main_win = MainWindow -> new();
Is there a way to show a window if it was already declared?
my $main_win = MainWindow -> new();
will display a new window...
I know you can $main_win->destroy, but is there a way to bring it back like $main_win->show?
$main_win->show doesn't work for MainWindows...
I have a menu bar with code:
$main_win->configure(-menu => my $menubar = $main_win->Menu);
my $file = $menubar->cascade(-label => '~File');
$file->command(-label => 'Test', -command => \&test);
$file->command(-label => 'Exit', -command => \&exit);
How can I change the color from the standard...
I can't figure out how to execute a *.pl file from a windows shortcut (Active Perl installed). I have perl command line interpreter associated with *.pl files... When I double click on it, it just flashes a cmd prompt and does not run the application.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.