cancel
Showing results for 
Search instead for 
Did you mean: 

Set TextField Position on a DrawingPath API

Frequent Contributor

Set TextField Position on a DrawingPath API

Hi Community,

I have a MessageFlow object and associated text field on it.

I am able to draw the the Flow as I wish, But I am not able to set the position of a text field using SetPos Method.

 

This is the code I am using :

Set NewTextField = CurrentMessageFlow.GetCollection("ModeOcc_TextFields").item(1)
Set OldTextField = OldMessageFlow.GetCollection("ModeOcc_TextFields").item(1)

 

NewTextField.SetPos OldTextField.Left, OldTextField.Top, OldTextField.Right, OldTextField.Bottom

 

Please help me.

 

Regards,

Venkatesh.

Colruyt Team