Previous Document Next Document
Text.IsEditing

Property IsEditing As Boolean

Member of Text

The IsEditing property returns the state of editing text.

The IsEditing property returns a read-only value.

The following code example creates paragraph text, places the text in the editing mode, and displays a message box confirming that the text is in the editing mode:

Sub Test() 
 Dim d As Document 
 Dim s As Shape 
 Dim t As Text 
 Set d = CreateDocument 
 Set s = d.ActiveLayer.CreateParagraphText(3, 3, 7, 7, "This is a 
test.") 
 Set t = s.Text 
 t.BeginEdit 
 If t.IsEditing Then 
  MsgBox "The text shape is in edit mode." 
 End If 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.