Guillaume,
I looked into this, but I couldn't reproduce it. I tried running the following code in the interactive window...
#include
#include
static int panel, ctrl;
panel = NewPanel (0, "test panel", 100, 100, 400, 600);
ctrl = NewCtrl (panel, CTRL_NUMERIC, "numeric", 100, 100);
SetCtrlAttribute (panel, ctrl, ATTR_LABEL_LEFT, 100);
DisplayPanel (panel);
Delay (2.0);
SetInputMode (panel, ctrl, 0);
ProcessDrawEvents();
Delay (2.0);
SetInputMode (panel, ctrl, 1);
ProcessDrawEvents();
Delay (2.0);
DiscardPanel (panel);
...but the label didn't move. Can you try this
in your computer and see if it moves?
If it doesn't move with this code, can you find some relevant difference between this sequence and what you are doing in your code?
Luis
NI