- Timestamp:
- Nov 18, 2016, 11:05:35 AM (10 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- ffeacdc
- Parents:
- 23399d1
- Location:
- tolbase/lib
- Files:
-
- 2 edited
-
byswidget/btable/btable.tcl (modified) (2 diffs)
-
toltk/tolinspe__wtree1.tcl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tolbase/lib/byswidget/btable/btable.tcl
r23399d1 rb23291d 15 15 16 16 if { [string equal $tcl_platform(platform) "windows"] } { 17 package require cwind17 package require twapi 18 18 } 19 19 … … 3881 3881 3882 3882 $self _CmdSpecialCopy table 3883 ::cwind::waitwind {Microsoft Excel*} 10 3884 ::cwind::send |CTRL+| v |CTRL-| 3883 set xlsapp [::twapi::comobj {Excel.Application}] 3884 after 1000 set sleep_end 1 3885 vwait sleep_end 3886 twapi::send_keys {^v} 3885 3887 $self configure -colseparator $tempcolsep 3886 3888 $self configure -rowseparator $temprowsep -
tolbase/lib/toltk/tolinspe__wtree1.tcl
r23399d1 rb23291d 722 722 723 723 if { ![string length $node] } { return } 724 724 725 set treeParent [$wt_tree selection get 0] 725 726 set treeParent_tolRef [$wt_tree item text $treeParent Reference] 727 if { [llength $treeParent_tolRef] < 1 } return 728 if { [lindex $treeParent_tolRef 0] eq "Grammar" } return 729 726 730 set treeNode -1 727 if { [llength $treeParent_tolRef] > 1 } { 728 set grammar [$wt_vars item text $node Grammar] 729 if {$grammar eq "Set" || $grammar eq "NameBlock"} { 730 $wt_tree item expand $treeParent 731 #@ Se localiza el nodo seleccionado en el árbol (wt_tree) 732 set index [$wt_vars item text $node Index] 733 foreach node_i [$wt_tree item children $treeParent] { 734 set index_i [$wt_tree item text $node_i Index] 735 if { [string equal $index $index_i] } { 736 set treeNode $node_i 737 break 738 } 739 } 740 } 741 } 731 732 set grammar [$wt_vars item text $node Grammar] 733 if {$grammar eq "Set" || $grammar eq "NameBlock"} { 734 $wt_tree item expand $treeParent 735 #@ Se localiza el nodo seleccionado en el árbol (wt_tree) 736 set index [$wt_vars item text $node Index] 737 foreach node_i [$wt_tree item children $treeParent] { 738 set index_i [$wt_tree item text $node_i Index] 739 if { [string equal $index $index_i] } { 740 set treeNode $node_i 741 break 742 } 743 } 744 } else { 745 return 746 } 747 742 748 if { $treeNode != -1 } { 743 749 update
Note: See TracChangeset
for help on using the changeset viewer.
