h = lm_exitbutton(hparent, BACKG, callback, btn)
Add exit button to frame. By default this button is placed in the upper right corner of a frame.
| hparent | any | handle van parent frame |
| BACKG | any | color for transparant part of button |
| callback | any | additional function to call when frame is closed |
| btn | any | cdata |
| h | any | handle van button |
positioneer button rechts onder
h=lm_exitbutton(hparent)
h=lm_exitbutton(h_hlp)
setappdata(h,'normpos',[ 1 1 0 0]);
setappdata(h,'pixelpos',[-14 -14 12 12]);
For demo see: test_lm_exitbutton
SEE ALSO: lm_exittext, lm_frameonoff