Hello,
How does one select all of the text in a GeDialog.AddMultiLineEditText gadget?
def CreateLayout(self):
self.AddMultiLineEditText(self.multiText, c4d.BFH_SCALEFIT | c4d.BFV_SCALEFIT,
initw=0, inith=0, style=c4d.DR_MULTILINE_WORDWRAP)
self.SetString(self.multiText,"Placeholder Text.")
self.Activate(self.multiText)
return True
I tried getting Message IDs when selecting the text with a right-click > Select All, but all I could trace was BFM_INTERACTSTART
and BFM_INTERACTEND
.
I am trying to create a behavior similar to the InputDialog where the text is already selected.
c4d.gui.InputDialog("Dialog Title","Placeholder Text")
Thank you!