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] border
by Seena other posts by this author
Nov 29 2004 2:34AM messages near this date
RE: [Tktable] border | [Tktable] border
Thank you very much for all the valuable suggestions you gave..I tried 
bd {3 3 3 3} and relief groove  so that looks with a diminished  3-d 
effect ..
Thanks,
Seena
Shawn Kielty wrote:

> I find that if I change the background color of the table widget to white --
> the three-d effect is diminished considerably. Using a borderwidth of 1 --
> it then gives what appears to be a thin separating line (I am slightly blind
> too -- which may help).  This may be affected by user preferring non
> standard colors.  The same may be true in reverse video with (bg) black.   I
> haven't written any code lately for any unix platform -- so this is probably
> windows specific.
> 
> # From some of my code
> table $table -bg white  -cols 18 -cache 1 -selecttype row -width 180 -font
> {{Agency FB} 12} -colstretchmode all -titlerows 1 -titlecols
>  -roworigin -1  -colorigin -1
> # end of snippet
> 
> Changing the relief to solid produces a flat looking cell seperation --
> however -- it doesn't seem to work when -bd == 1, and it's a bit strange
> when the selection is made if -bd > 1.
> 
> Shawn
> 
> -----Original Message-----
> From: tktable-users-admin@[...].net
> [mailto:tktable-users-admin@[...].net]On Behalf Of Jeff
> Hobbs
> Sent: Thursday, November 25, 2004 10:42 AM
> To: 'Seena'; tktable-users@[...].net
> Subject: RE: [Tktable] border
> 
> 
>   
> 
> >  Can we set the border color of Tktable ?Also if i set the relief as
> >flat it won't display the border lines at all.Can i somehow
> >get rid of the 3d effect?
> >    
> >
> 
> The border color is derived from the current cell, it cannot
> be set separately.  The borders are the borders, so if you
> make them flat, there are no borders.  If you want to get
> rid of the 3D effect, try -bd {1 1 0 0}, or -drawmode single.
> 
>   Jeff Hobbs, The Tcl Guy
>   http://www.ActiveState.com/, a division of Sophos
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Tktable-users mailing list
> Tktable-users@[...].net
> https://lists.sourceforge.net/lists/listinfo/tktable-users
> 
> 
> 
>   
> 





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Tktable-users mailing list
Tktable-users@[...].net
https://lists.sourceforge.net/lists/listinfo/tktable-users

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