- Timestamp:
- Dec 10, 2008, 1:05:15 PM (18 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- de4a617
- Parents:
- 2490d320
- File:
-
- 1 edited
-
tolbase/lib/toltk/tolmethods.tcl (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tolbase/lib/toltk/tolmethods.tcl
r2490d320 r31db565 49 49 #///////////////////////////////////////////////////////////////////////////// 50 50 # cargamos la variable GCFFile de TOL 51 set fileGCF [ ::tol::info variable [list Text GCFFile]]51 set fileGCF [TclGetVar Text GCFFile] 52 52 if {![file exists $fileGCF]} { 53 53 set fileGCF {} … … 94 94 # GCF 95 95 if {![string length $gcfFile]} { 96 set gcfFile [ ::tol::info variable [list Text GCFFile]]96 set gcfFile [TclGetVar Text GCFFile] 97 97 if {[string length $gcfFile]} { 98 98 eval set gcfFile $gcfFile … … 102 102 set gcfFile {} 103 103 } 104 puts "GCF FILE: $gcfFile"104 #puts "GCF FILE: $gcfFile" 105 105 # Title 106 106 set wTitle $title … … 110 110 111 111 # Create Group Series 112 # ::tol::info variable returns a list [Grammar VariableName [numofelements "Elementos"] ... ] 113 # so get the index 0 of the index 2 114 set nsource [lindex [lindex [::tol::info variable [list Set $source]] 2] 0] 112 #puts "Tol_SerieChart: source = $source" 113 set nsource [lindex [TclGetVar Set $source] 0] 115 114 set lstSerie {} 116 set i 1 117 while {$i <= $nsource && $i <= 32 } { 118 lappend lstSerie "$source $i" 119 set i [expr $i+1] 115 for {set i 1} {$i <= $nsource} {incr i} { 116 lappend lstSerie "Set $source $i" 120 117 } 121 118 set sergrp tableserie[clock clicks] 122 123 119 set tl "" 124 120 if {[llength $lstSerie]} { 125 121 # MDI 126 127 122 set tl [::project::CreateForm \ 128 123 -title $wTitle -type Graphs -iniconfig SeriesGraph -geometry $geometry] 129 124 $tl setgeometry $geometry 130 set top [$tl getframe] 125 set top [$tl getframe] 126 #puts "Tol_SerieChart: tol::seriegrp sergrp = $sergrp, lstSerie = $lstSerie" 131 127 eval ::tol::seriegrp create $sergrp $lstSerie 132 128 # Create … … 165 161 set gramVar [GetGlobalUniqueName __tabser__] 166 162 ::tol::console eval "Text $gramVar = Grammar($source);" 167 set namGra [string trim [ ::tol::info variable [list Text $gramVar]] {"}];#{"}163 set namGra [string trim [TclGetVar Text $gramVar] {"}];#{"} 168 164 # destroy 169 165 ::tol::console stack release $gramVar … … 173 169 Serie { set lstSerie $source } 174 170 Set { 175 set nsource [lindex [ ::tol::info variable [list Set $source]] 0]171 set nsource [lindex [TclGetVar Set $source] 0] 176 172 for {set i 1} {$i <= $nsource} {incr i} { 177 173 lappend lstSerie "$source $i" … … 274 270 # GCF 275 271 if {![string length $gcfFile]} { 276 set gcfFile [ ::tol::info variable [list Text GCFFile]]272 set gcfFile [TclGetVar Text GCFFile] 277 273 } 278 274 if {![file exists $gcfFile]} {
Note: See TracChangeset
for help on using the changeset viewer.
