Hi Captain,
Thanks for the response, already tried that code but doesnt work.
Here's my code :
Code:
ModalPopup modalPopup = YESNOPopup.createInstance("Confirmation",
"The corrections cannot be saved as excess quantity has been defined. Close the form anyway ?", new YESNOPopup.IYesNoListener() {
@Override
public void reactOnYes() {
m_listener.reactOnClose();
}
@Override
public void reactOnNo() {
}
}).getModalPopup();
modalPopup.setStartfromrootwindow(false);
modalPopup.setLeftTopReferenceCentered();