You are here: Symbol Reference > JSDialogs Namespace > Structs, Records, Enums > JSDialogs.TCommonButton Enumeration
LMD DialogPack
ContentsIndexHome
PreviousUpNext
JSDialogs.TCommonButton Enumeration

Built in button types.

Pascal
TCommonButton = (
  cbYes,
  cbNo,
  cbOK,
  cbCancel,
  cbAbort,
  cbRetry,
  cbIgnore,
  cbAll,
  cbNoToAll,
  cbYesToAll,
  cbHelp,
  cbClose
);

JSDialogs

Members 
Description 
cbYes 
Display a button with the caption Yes and has a modal result value of mrYes
cbNo 
Display a button with the caption No and has a modal result value of mrNo
cbOK 
Display a button with the caption OK and has a modal result value of mrOK
cbCancel 
Display a button with the caption Cancel and has a modal result value of mrCancel
cbAbort 
Display a button with the caption Abort and has a modal result value of mrAbort
cbRetry 
Display a button with the caption Retry and has a modal result value of mrRetry
cbIgnore 
Display a button with the caption Ignore and has a modal result value of mrIgnore
cbAll 
Display a button with the caption All and has a modal result value of mrAll
cbNoToAll 
Display a button with the caption No to All and has a modal result value of mrNoToAll
cbYesToAll 
Display a button with the caption Yes to All and has a modal result value of mrYesToAll
cbHelp 
Display a button with the caption Help and has a modal result value of mrNone
cbClose 
Display a button with the caption Close and has a modal result value of mrNone

Common buttons are buttons that you are most likely to use on a dialog. While the list of common buttons is extensive, you can still specify custom buttons by using the CustomButtons property. 

CustomButtons are displayed as normal buttons on the ButtonBar if neither the doCommandLinks or doCommandLinksNoIcon options are specified in the DialogOptions property. If custom buttons are being used, then common buttons are not displayed.

Copyright © 2013 by LMD Innovative. All rights reserved.
Copyright © 2013 by LMD Innovative. All rights reserved.
What do you think about this topic? Send feedback!