Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Setting text tag orders
Is there a way that you can easily set the oder of all the tags associated
with a text widget,. so you don't have to use tagLower and tagRaise to move
each of the tags to the correct position - which is a pain in the arse! I'm
looking for something like $widget->setTagOrder(['sel', 'tag1', 'tag2',
'tag3', 'tag4']) to set sel tag to the top, then tag1, tag2, tag3 and then
tag4 at the bottom?

And one final thin:

i have 4 tags that diffine different backgrounds, each with a different
name. They are applied to the characters of a text widget based on what the
actual char is. I want these 4 tags to appear at the same position in the
tag order list. e.g. tagorder >> sel, tag1, (blue or green or red or orange
background tag), tag2, tag3 etc. Is there maybe a way of linking these tags
together so they can all be referred to at once? Using the setTagOrder
example above, can i specify an array of tags withn an array of tags? e.g.
$widget->setTagOrder(['sel', ['blue', 'red', 'orange', 'green'], 'tag1',
'tag2', 'tag3', 'tag4'])?

Thanks
Nathan





Report this thread to moderator Post Follow-up to this message
Old Post
Nath
08-08-04 08:56 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PerlTk archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:39 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.