Hello to everyone! This is my first link to the list.
My problem is hao to set a text field of a custom object.
I wrote the following plugins obj.
Procedure Pluto;
VAR
MyHandle :HANDLE;
BEGIN
MyHandle:=FSActLayer;
SetRField(MyHandle, 'Struct_Pluto', 'Text', 'Hello world!');
Rect(0,-PBoxWidth/2, PLineLength, PBoxWidth/2);
END; (* End Procedure Pluto *)
Run(Pluto);
It does work fine. So after the 2d obj creation, I get 'Hello world!' into the proper field.
But I just wrote:
Procedure Pippo;
VAR
MyHandle :HANDLE;
BEGIN
MyHandle:=FSActLayer;
SetRField(MyHandle, 'Struct_Pippo', 'Text', 'Hello world!');
Rect(0,0, PA, PB);
END; (* End Procedure Pippo *)
Run(Pippo);
and it doesn't works, until I do update manually a field value...
Is there someone who could help me, please?
Thank you.
Lucio