Represents the attributes of a text or button object. | |
Description: | The GefTextFormat object represents the
attributes of a text or button object, including animated text and
edit actions. Example: Sub GefTextFormat_CurrentText() Dim oCimObj As GefObject Dim oCimTxtFmt As
GefTextFormat Dim oCimExecCond As
GefExecutionCondition Set oCimObj = CimGetObject Set oCimTxtFmt =
oCimObj.TextFormat If Not oCimTxtFmt Is Nothing
Then oCimTxtFmt.TextExpression
= "$Project.Computer" CimGetScreen.Refresh
False MsgBox "The
current text is " & """" & oCimTxtFmt.CurrentText &
"""" End If End Sub |
Properties: | AlignmentAnchor , Application , CurrentText , EditAction , EditActionCondition , EditActionConfirm , Font , FormatType , Multiline , Parent , Text , TextExpression , TranslateExprResult , TranslateText |
Methods: | CanEditWithExpression , GetCustomFormat , GetIntegerFormat , GetRealFormat , GetTextFormat , GetTimeAbsoluteFormat , GetTimeRelative , SetFormatToCustom , SetFormatToGeneral , SetFormatToInteger , SetFormatToReal , SetFormatToText , SetFormatToTimeAbsolute , SetFormatToTimeRelative , SetFormatToUsePointConfig |