Message Boxes in Open Road...
Post date: Feb 14, 2011 4:17:21 AM
1.The InfoPopup method displays a pop-up message box in the center of the window with the specified text as the message:
CurFrame.InfoPopUp(messagetext='Insert Failed!', messagetype=MT_ERROR);
2.Simple Message:
Message 'Welcome to GreateIndiaClub'
3. Reply PopUp
/* Declare the string object variable */ stmt_string = StringObject;
/* Prompt user for input */
status = CurFrame.ReplyPopup(messagetext = 'Enter an SQL statement',reply = stmt_string):
/* Execute the statement */
execute immediate stmt_string;
Confirmation Message:
on terminate = begin
if CurFrame.ConfirmPopup(messagetext = 'Save changes?') = PU_OK then
/* save changes to database */
endif;
end;