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

Type of control that the dialog is asking for information on. This allows you to typecast the TControl parameter with assurance that the control matches the type you specified.

Pascal
TControlType = (
  ctButton,
  ctCommandLink,
  ctCheckBox,
  ctMoreButton,
  ctRichEdit,
  ctLinkLabel,
  ctURLLabel,
  ctRadioButton,
  ctProgressBar,
  ctRadioGroup,
  ctMaxLines
);

JSDialog

Members 
Description 
ctButton 
This control type is used for the buttons that appear in the ButtonBar. When doCommandLinks is not specified in the DialogOptions property, any custom buttons also use this control type. 
ctCommandLink 
Control type used for the command links. Command Links are only available when doCommandLinks or doCommandLinksNoIcon is specified in DialogOptions. Additional command link properties are to be read from the corresponding CustomButtonItem class. 
ctCheckBox 
This control type is used as the verification control. This control type appears in the footer of the dialog. 
ctMoreButton 
This control type is for the control that shows the user that there is more information available for viewing. This control must allow for an HideText and ShowText caption as well as provide visual feedback to the user to let them know that more information is available. 
ctRichEdit 
This control type is used when the Expando text is to be displayed in the Footer. For the Expando text to be displayed in the footer the ShowInFooter property must be true. 
ctLinkLabel 
This control type is the clickable label that provides additional help information to the user. Clicking this control type should open the applications Help File and activate the topic that is specified by the HelpLink property. 
ctURLLabel 
This control type is used in the footer of the dialog. Any class that is used in the footer should be able to support embedded hyperlinks. 
ctRadioButton 
RadioButton control. This control is used when displaying a list of options to the user.
Specify the radio buttons properties using the RadioButtonItem collection item class created when adding items to the RadioButtons property. 
ctProgressBar 
This control type is used when displaying some progress within the dialog 
ctRadioGroup 
This control type is used when the RadioButton.ShowBorder property is True. It also allows the radio buttons to be displayed in columns 
ctMaxLines 
This control type is used when the MaxLines value is greater than 0 and the content of the dialog has reached the maximum number of lines to display 
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!