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

Frame in Toplevel
Hello Everyone,

Can I pack a frame inside a Toplevel window? I can't get this
code to work.

toplevel .tops
frame .frm
pack .frm -in .tops

It shows an error "can't pack .frm in .tops"

I have used grid command also and got the same result.
Thanking You,
Binny V A
http://www.geocities.com/binnyva


Report this thread to moderator Post Follow-up to this message
Old Post
Binny V A
12-31-04 08:58 PM


Re: Frame in Toplevel
"Binny V A" <binnyva@hotmail.com> wrote in message
news:1104519220.874538.201220@c13g2000cwb.googlegroups.com...
> Hello Everyone,
>
> Can I pack a frame inside a Toplevel window? I can't get this
> code to work.
>
> toplevel .tops
> frame .frm
> pack .frm -in .tops
>
> It shows an error "can't pack .frm in .tops"


Sure you can, but the frame must first be a child of the *correct* toplevel
window.  Try this:

toplevel .tops
frame .tops.frm
pack .tops.frm

Notice, that in this simple case, you don't even need the "-in" argument...


Jeff



Report this thread to moderator Post Follow-up to this message
Old Post
Jeff Godfrey
12-31-04 08:58 PM


Sponsored Links




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

Tcl 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 07:41 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.