Vcl.Dialogs.TCommonDialog delphi组件
Description
TCommonDialog is the ancestor of all components that represent Windows common dialog boxes.
TCommonDialog is an abstract class that represents Windows common dialog boxes. Its descendants handle such tasks as finding and opening files, setting fonts and colors, and printing. The dialogs do not appear at runtime until activated by a call to the Execute method. Except for TFindDialog and TReplaceDialog, these dialogs are all modal.
The TCommonDialog descendants are nonvisual components that generate a single function call to COMMDLG.DLL, and are therefore less easily modified than other components. New components that encapsulate common-dialog functions should descend from TCommonDialog. Most other dialog boxes should descend from TForm.
描述
TCommonDialog是所有表示 Windows 常规对话框的组件的祖先。
TcomnmnonDialog是一个抽象类,代表ndows通用对话框,它的子类处理诸如查找和打开文件、设置字体和颜色以及打印等任务。这些对话框在运行时不会显示,直到通过调用Execute方法激活。除了TFindDiailog和TReplaceDialog,这些对话框都是模态的。
TCon Dia0g子组件是生成对COMMDLG.DL的单个函数调用的非可视化组件,因此比其他组件更不容易修改。封装公共对话框函数的新绍件应源自TcomnmonDial0g。大多数其他对话框应该源自TFomn。