Prev: symbolic arrays
Next: Put marks on a contour map!
From: Thomas Goodwin on 26 Apr 2010 11:29 Unfortunately, I can't provide the source to show this problem off, but here's what's happening: The UI is created programmatically to have various uicontrol->edit elements in it. At the end of spawning all these elements, I use uiwait to wait until the "OK" button (uicontrol push button style) is pressed. The edit UIControls also have callback functions but otherwise have default properties. The OK button's interrutiblity is set to "off" (though the problem occurs regardless of being on or off). If I directly press "OK" after the window loads, it exits without a problem. If instead I type in an edit box and immediately click OK, only the 'edit' callback is called. The OK callback fails to queue. I then have to click OK again to execute that callback. Why is the callback for OK being ignored completely if the cursor is in an edit box when the OK button is clicked? Thomas
|
Pages: 1 Prev: symbolic arrays Next: Put marks on a contour map! |