I have been trying to add a binding to a IWidget combo box. I'd like to add the
ability for the user to double-click on an item in the list box whose alias is tcList
and then take a specific action. To date I have not been able to make this work. I am
assuming I'm using the wrong tag name, but I thought the alias I read back from Vtcl
when I selected the ComboBox would have been the right one. Does anyone have any
suggestions. I've tried this via the VTCL interface and by manually coding it.
Bob Bartis
Here is the alias line added by Vtcl
vTcl:DefineAlias "$base.tab42.canvas.notebook.cs.page2.cs.scr96" "tcList"
vTcl:WidgetProc "Toplevel1" 1
Here is the line I manually added to the main procedure. If I request the bindings
associated with tcList before running this line I see no bindings. Checking bindings
after running this I see one <Double-Button> binding.
bind $widget(tcList) <Double-Button-1> { puts "Saw double click"}
> Lucent Technologies O
> Robert Bartis
> Technical Manager
> AnyMedia
>
> TEL: 732 949 4565
> FAX: 732 949 4751
> EMAIL: [EMAIL PROTECTED]
>
>
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vtcl-user