there's a way to "break this wall" and assign a "c/c++ side" var to a panel.
Here an explanation code:
Code:
var mTestVar;
mTestVar = _VAR(0); //for instance

//now we'll create a panel
PANEL * mTestPanel = pan_create("digits(0,0,\"Var1: \",*,0,NULL);\
digits(70,0,4,*,1,NULL);",_VAR(1));

// and now...we "break the wall"
pan_setvar(mTestPanel,_VAR(1), _VAR(2), &mTestVar);


Last edited by Romeoxbm; 12/14/08 15:04.