Hi. Is there a way to repaint all of the get variables?
If I have multiple "@...Get" statements then a READ, the oGet variables will only repaint their values when the user moves their cursor on top. How do I tell all get variables to repaint on command?
In the example below, if a user presses Ctrl-Z, only the current get will be updated. The other get will not update until the user moves their cursor on top.
function main()
SetKey( K_CTRL_Z, { || test( @nVar1, @nVar2 ) } )
@ 10, 10 get nVar1
@ 11, 10 get nVar2
read
return
function test( nVar1, nVar2 )
nVar1 := 5
nVar2 := 10
// How do I tell both get objects to now redisplay?
return
If I have multiple "@...Get" statements then a READ, the oGet variables will only repaint their values when the user moves their cursor on top. How do I tell all get variables to repaint on command?
In the example below, if a user presses Ctrl-Z, only the current get will be updated. The other get will not update until the user moves their cursor on top.
function main()
SetKey( K_CTRL_Z, { || test( @nVar1, @nVar2 ) } )
@ 10, 10 get nVar1
@ 11, 10 get nVar2
read
return
function test( nVar1, nVar2 )
nVar1 := 5
nVar2 := 10
// How do I tell both get objects to now redisplay?
return