Help! - SendMessage fails with value of 0

public void panelMoveDetent (int detent) {
}

Works: leftPanel.SendMessage(“panelMoveDetent”, 1);

Fails: leftPanel.SendMessage(“panelMoveDetent”, 0);

Failed to call function panelMoveDetent of class movePanel
Calling function panelMoveDetent with no parameters but the function requires 1.

? Help

iByte

Passed by ref worked. int zero = 0; leftPanel.SendMessage(“panelMoveDetent”, zero);

iByte

leftPanel.SendMessage(“panelMoveDetent”, (int)0);

?

Hi I did try that before posting my workaround and it did not work for me. Did it work for you?

iByte