Solved

pert TK grid

Posted on 2002-05-26
5
215 Views
Last Modified: 2008-02-26
Do you know which is de widget that it is like the grid of EXCEL, LOTUS 123, ACCESS,...

I need this to load a database into this grid a for the user can modify the database from here.


0
Comment
Question by:bedelludrica
  • 3
5 Comments
 
LVL 51

Expert Comment

by:ahoffmann
Comment Utility
what do you mean exactly by "grid"?
As I read your question I assume that grid is not Tcl/Tk's grid.
0
 

Author Comment

by:bedelludrica
Comment Utility
Not. It is not Tcl/Tk's grid.  I want a grid like the Microsoft datagrid control 6 of the Activex.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/DBGrid98/html/vbctldatagridcontrol.asp



Sorry for my spanish/english language. I am From Spain.

0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
Comment Utility
with Tcl/Tk and perlTK you can build a table with cell, where each cell can be set "active" or "disabled" (see entry and text widget).
If you also use Tk's tag feature, you can define rows and columns or any other order you like of such cells (entry widgets), and switch the state from active to disabled with a single call.
Is this what you want?

AFAIK you also can set the visibility of the widget, but if you have a table with a lot of cells, it might not be very performant. I would not recommend it.
0
 
LVL 8

Expert Comment

by:inq123
Comment Utility
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept a comment by ahoffmann (although the answer did not provide details but it should lead to a reasonable solution)

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

inq123
EE Cleanup Volunteer
0
 
LVL 51

Expert Comment

by:ahoffmann
Comment Utility
hmm, the details to my suggestion are simple:
  entry .widgetname -state disabld
(should be obvious to everyone used to Tcl/Tk ;-)
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now