ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tktable-users
tktable-users
RE: [Tktable] How to undo actions and Stop users from modifying width and height of restricted cell
by Jeff Hobbs other posts by this author
Jul 17 2004 1:22AM messages near this date
[Tktable] How to undo actions and Stop users from modifying width and height of restricted cell | [Tktable] Table title selection selects all rows with -selecttype=row and selectmode=extended
Prashant,

Apologies for this getting stuck in the queue - I check that
rarely due to the amount of spam that comes through SF mailing
lists.  To ensure prompt delivery, please join the mailing list.

>  Could anyone please help me with these problems.
>      1. How do i  stop users from modifying the height and 
>  width of certain rows containg protected cells  while 
>  allowing him to do the same at other places.

This is a selective sort of resizable borders.  There isn't
anything built in to support this, but if you look at the
tkTable.tcl bindings for border movement, you should see where
you can create specialized bindings that act only on certain
rows.

>      2. How do i undo an action , specially those containing 
>  text edit and cell resize actions

There is an <Escape>  binding mid-edit, otherwise you have to
maintain state yourself for undos.

Regards,

  Jeff Hobbs, The Tcl Guy
  http://www.ActiveState.com/, a division of Sophos



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Tktable-users mailing list
Tktable-users@[...].net
https://lists.sourceforge.net/lists/listinfo/tktable-users
Thread:
Prashant Maskara
Jeff Hobbs

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved