Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: clueo8
  • Content: Threads
  • Order by date
  1. clueo8

    Perl Sub routine (Too many arguments)

    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
  2. clueo8

    Perl TK Printing Text from ROText box

    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...
  3. clueo8

    Perl TK Window Management

    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.
  4. clueo8

    Perl TK Delayed after click OK to execute

    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...
  5. clueo8

    Perl TK Disable Maximize/Minimize/Close-X

    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();
  6. clueo8

    Perl TK Hide\Show Main Windows

    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...
  7. clueo8

    Perl TK Menu Bar

    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...
  8. clueo8

    Open Perl TK file from a Shortcut

    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.
  9. clueo8

    Perl TK Questions

    I'm trying to execute a command prompt statement that sets the tracelevel for my environment: an Example of what I type in a cmd prompt (dos/unix black screen) is: set DBTRACELEVEL=2 I would like perl to be able to issue this command from a TK window. I would set up a button with a command...
  10. clueo8

    Perl TK Set Focus on LabEntry

    I have a popup dialog box which has a lable entry to get user input. Not only would I like to set the focus on the input entry when it pops up, but also, on the pop up window itself (the window stays deselected until the mouse is clicked on it). None of the '->focus' codes I found work...
  11. clueo8

    Perl TK MacProgressBar

    Has anyone has any experience using the TK::MacProgressBar? Heres the site I came across, but how would you actually get the progress bar to load what your doing? (I'm running batch SQL scripts) site: http://www.en8848.com/Reilly%20Books/perl3/tk/appc_08.htm
  12. clueo8

    Perl TK Scrollbar Issue

    I have this Read only Text window with a vertical scrollbar on the right side: $script_output = $middle -> Scrolled ('ROText', -height => 30, -width => 90, -scrollbars => 'osoe', -background => 'white') -> pack(); I insert into this text box with: $script_output -> insert ('end', "My Text...
  13. clueo8

    Perl TK (Centering Windows)

    # Create Main window my $window = MainWindow -> new(); $window -> minsize(qw(450 250)); $window -> title (" Perl Conversion Tool"); $window -> configure (-background => 'grey'); $window -> geometry('+280+150'); The geometry tag sets the position of the window on the screen. Is there a way to...
  14. clueo8

    Perl TK (multiple -command's on a single button)

    What I would like to do is have a button close my window (prompt_window), but also call a function (user_continue): my $btn = $main -> Button (-text => 'Click Me', -command => sub {$prompt_window -> destroy}, -command => \&user_continue) -> pack (); It only executes the last -command. Any...
  15. clueo8

    DBI: ODBC - Running Batch SQL

    I'm editing a program which will run a set of .sql batch statements. It uses the following code to connect to the database: --------------------------------------------------------- use DBI; use strict; my $data_source="dbi:ODBC:$ENV{DSQUERY}"; # Connect to the db - retrieve db handle my $dbh...

Part and Inventory Search

Back
Top