Please enable JavaScript to view this site.

CORE HL7 API Dialogs

Online Help - Region 3: [CORE HL7 API Dialogs]

Other CORE HL7 API Help Regions

Download the API Libraries


 

The FormResults class has several shortcut methods for calling standard Windows Message Boxes. They Are:

 

FormResults.QuestionBox(string prompt, string title = "?")

Returns: DialogResult

Description: Calls a MessageBox with Yes / No buttons and a Question Icon.

Example Code:

DialogResult res = FormResults.QuestionBox("Are You Hungry", "Hunger Status");

if (res == DialogResult.Yes)

{

  //Code

  //Code

}


FormResults.MsgBox(string prompt, string title = "Information")

Returns: None (Void)

Description: Calls a generic MessageBox with an Ok button and no icon.

Example Code:

FormResults.MsgBox("Process has completed");

 


FormResults.InfoBox(string prompt, string title = "Information")

Returns: None (Void)

Description: Calls a generic MessageBox with an Ok button and the Information icon.

Example Code:

FormResults.InfoBox("Process has completed");

 


FormResults.ErrorMsgBox(string prompt, string title = "Error")

Returns: None (Void)

Description: Calls a generic MessageBox with an Ok button and the Error icon.

Example Code:

FormResults.ErrorMsgBox("Field #3 is required!");

 

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Nav Header: ALT+n
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Exit Menu/Up: ESC