< Previous | Contents | Next >

Example

The following is a snippet from a Create function that would create both components of a Font selection dialog.


InFont = self:AddInput("Font", "Font", { LINKID_DataType = "Text", INPID_InputControl = "FontFileControl", IC_ControlGroup = 2,

IC_ControlID = 0,

INP_Level = 1, INP_DoNotifyChanged = true,

})


InFontStyle = self:AddInput("Style", "Style", { LINKID_DataType = "Text", INPID_InputControl = "FontFileControl", IC_ControlGroup = 2,

IC_ControlID = 1,

INP_Level = 1, INP_DoNotifyChanged = true,

})