Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Have there been sightings of TK::TixGrid in the wild?

by generator (Pilgrim)
on Apr 10, 2009 at 21:15 UTC ( [id://756920]=note: print w/replies, xml ) Need Help??


in reply to Re: Have there been sightings of TK::TixGrid in the wild?
in thread Have there been sightings of TK::TixGrid in the wild?

zentara

Thanks for the feedback. Your program looks interesting. My current approach is to use a text entry widget to ask the user to provide info on the records to be edited (UserCode?, Between what dates?, etc). Based on user provided parameters, I'll build and submit the SQL query and return the list of pontential candidate data records. From that list I'll have the user click on the one they wish to edit which will move it into another "editing" grid. When entries are completed there, the user will click an "save changes" button. At that point the program will build and submit the SQL update via the ODBC connection and prompt for another set of general parameters.

Given that I'm addressing an MS SQL database using Win32::ODBC in a Windows XP user environment, I'm not sure yours is the tool for the current project.

Rest assured I'll be downloading it and poaching any good ideas I discover within your code.

Thanks again for the feedback and for your willingness to share your skills.

Oh, and I appreciated your comment...

"You are better off sticking with a nesting of more standard widgets, in my experience."
...it reinforced a growing suspicion I had.

Respectfully

Generator

  • Comment on Re^2: Have there been sightings of TK::TixGrid in the wild?

Replies are listed 'Best First'.
Re^3: Have there been sightings of TK::TixGrid in the wild?
by zentara (Archbishop) on Apr 12, 2009 at 16:33 UTC
    When entries are completed there, the user will click an "save changes" button.

    If you dig deep into my program, you can automatically submit the SQL update, when you change tabs, if an md5sum change was detected in the fields. No need to have a Save Changes button.(This avoids lost changes if you accidently switch tabs :-) ) Do your automatic magic in the "raisecmd" and "lowercmd" callbacks of the Notebook widgets. But you are probably starting to figure this out. :-)

    FWIW, Tk the Tk Text widget dosn't have a "is_edited" flag, so you need to rely on md5sums, or something similar. However, Gtk2 does has an "has_been_edited" signal.


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://756920]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-18 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found