TTyo Posted May 29, 2018 Share Posted May 29, 2018 I try like this but values not change gg.setRanges(gg.REGION_ANONYMOUS)gg.searchNumber('220;.6;43D', gg.TYPE_FLOAT)gg.searchNumber('.6;43D', gg.TYPE_FLOAT) t = gg.getResults(3) t[1].value = '64' t[2].value = '0.31' t[3].value = '0.31' t[1].freeze = true t[2].freeze = false t[3].freeze = falsegg.setValues(t)gg.clearResults() Where my fault??? Link to comment Share on other sites More sharing options...
Administrators Enyby Posted May 29, 2018 Administrators Share Posted May 29, 2018 Freeze work only via saved list, not via setValues. Read API help. You set values, but not freeze them. Link to comment Share on other sites More sharing options...
TTyo Posted May 29, 2018 Author Share Posted May 29, 2018 Oke thanks i found it... Link to comment Share on other sites More sharing options...
CmP Posted May 29, 2018 Share Posted May 29, 2018 15 minutes ago, TTyo said: t[2].freeze = false t[3].freeze = false Also you don't need to set freeze state to false because it's default value for this field of the table when using gg.addListItems() function. Link to comment Share on other sites More sharing options...
Question
TTyo
I try like this but values not change
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('220;.6;43D', gg.TYPE_FLOAT)
gg.searchNumber('.6;43D', gg.TYPE_FLOAT)
t = gg.getResults(3)
t[1].value = '64'
t[2].value = '0.31'
t[3].value = '0.31'
t[1].freeze = true
t[2].freeze = false
t[3].freeze = false
gg.setValues(t)
gg.clearResults()
Where my fault???
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.