Can't manage ... it's a top-level window



Hi all,
I'm newbie to Tcl/Tk. Just install ActiveTcl8.4.16.0.282109 on my
Win2k box. I'm try now the follow code:
=========================================
set FR0 [ labelframe .fr0 -text "Test" ];

set lb1 [ label $FR0.name1 -text "Name:" ];
set op_menu1 [ tk_optionMenu $FR0.op1 v_op1 "A" "B" "C" ];
set lb2 [ label $FR0.name2 -text "Name2::" ];
set op_menu2 [ tk_optionMenu $FR0.op2 v_op2 "X" "Y" "Z" ];

grid $lb1 $op_menu1 -row 1
grid $lb2 $op_menu2 -row 2
pack $FR0
=========================================
But when I run I got error:

Can't manage ".fr0.op1.menu": it's a top-level window
while executing
"grid $lb1 $op_menu1 -row 1"
(file "test01.tcl" line 8)

Anyone could tell me how to fix that please,

Thanks in advance,
.



Relevant Pages

  • Re: Major issues with sharing violation error messages all the time!
    ... I tried to do an overlay install the second time believing ... Win2K can be in a home installation. ... I'm still left with the problem of the ID3 tags. ... I just bought an mp3 player so I'm moving MP3 files off of my back-up ...
    (microsoft.public.win2000.new_user)
  • Re: Format Hard Disk
    ... So it's like that - the 2 files reside only in the boot partition.. ... As you suggested, I opened Command ... No problem....I don't intend to use the programs existing in Win2K. ... - Buy a 100 GByte disk and install it as a slave drive. ...
    (microsoft.public.win2000.general)
  • Re: It gets worse -- Uninstall of W2k? Not simple for me!
    ... Multibooting WinXP and Win2K is easy and automatic, ... install them into separate volumes and always install the newest Windows ... the Active partition, load the first physical sector of that partition into ... NOT the "Boot Partition". ...
    (microsoft.public.win2000.file_system)
  • Re: It gets worse -- Uninstall of W2k? Not simple for me!
    ... Multibooting WinXP and Win2K is easy and automatic, ... install them into separate volumes and always install the newest Windows ... the Active partition, load the first physical sector of that partition into ... NOT the "Boot Partition". ...
    (microsoft.public.win2000.general)
  • Re: Major issues with sharing violation error messages all the time!
    ... command not available in Win2K boot disks, ... The set of four install disks can be created from your Windows 2000 ... When the Windows 2000 Professional ... existing partition, If you press D to delete an existing partition, you must ...
    (microsoft.public.win2000.new_user)