help: scope of widget

From: Sharon (saron7_at_012.net.il)
Date: 12/31/03


Date: 31 Dec 2003 02:24:55 -0800

Hi, i defined a list box in a *.tcl file like:

$base=""
listbox $base.listbox_consoleOutput \
  -background white \
  -height 1 \
  -width 1 \
  -xscrollcommand "$base.scrollbar#7 set" \
  -yscrollcommand "$base.scrollbar#6 set"

and now i want to refer it from anther file in another directory.
Both directories are in my auto_path but when i'm trying to refer to
my list box in order to configure it through the program, like:

.listbox_consoleOutput configure -foreground red

i'm getting an error message saying that there is no such command
".listbox_consoleOutput" . What might be the problem, how can i refer
that listbox?

Thanks, Sharon.



Relevant Pages

  • Re: multi-select listbox question
    ... > You can use the Column property to refer to a specific column, ... > control A Control object that represents the active combo box or ... > selection has been made, ... >> listbox has to be the column that holds the prices - at least i couldn't ...
    (microsoft.public.access.forms)
  • Re: help: scope of widget
    ... >and now i want to refer it from anther file in another directory. ... >i'm getting an error message saying that there is no such command ... will recolor the foreground of your listbox. ...
    (comp.lang.tcl)
  • Re: Blank Listbox
    ... seeing the exact "re-linking" code you refer to would be helpful. ... doing a listbox Requery after the link is refreshed. ... opens the listbox in the tab control is blank. ...
    (microsoft.public.access.forms)
  • ListBox
    ... When an item in a listbox is double-clicked, ... If I double clicked on the row with brown ale, ... refer to the lastname, firstname, age of the double-click ...
    (microsoft.public.access.formscoding)
  • Re: How to limit Access listbox lookup query using another field
    ... I can't figure out how to refer to the value in another field to put ... in a WHERE clause of a query for another field's listbox. ... Level1 to the values in TopicL1 of Topics. ...
    (microsoft.public.access.queries)