Hi
I'm using Comm v7.86 in windows XP
Started to use the PANEL's buttons today and is not working,
used some samples already without any luck. The panel shows ok
with the button images. Used events, functions, combination of flags and nothing is working with the buttons.
Any help or reference is appreciated. Thanks
function DoReset() { ... }
PANEL* menu_pan =
{
pos_x = 10;
pos_y = 340;
button(0, 0,"button_new.bmp","button_new.bmp",NULL,DoReset,NULL,NULL);
flags = VISIBLE;
event = MenuEvent;
}
//...
function main() {
enable_mouse = 2;
set(menu_pan, ENABLE_CLICK);
//...