Jump to content
Developer Wiki and Function Reference Links ×

text in script


tismacfan2

Recommended Posts

I am creating a plug-in where certain text should appear in an arrow, and in which I can adjust certain text elements via the info palette. Only I can't manage to get the text parts that I have to fill in one after the other via the info palette. Now everything is written under each other. someone an idea how to change my script please?

 

This is my script

 

Procedure Ventilatiepijl;

VAR

eventID,

eventMessage :

LONGINT;

pl,pb,a,b:REAL;

t1,t2,t3,t123:STRING;

ts:INTEGER;

 

h:HANDLE;  

BEGIN BEGIN h:=FSActLayer;

ts:=PSize; PushAttrs;

t1:=Pnummer; t2:=plengte;

t3:=pdebiet;

pl:=ppl;

pb:=ppb;

 

TextFont(GetFontID('Consolas'));

TextFace([]); TextSize(ts); TextFlip(0);

TextRotate(0); TextSpace(0); TextJust(1);

TextVerticalAlign(5);

TextOrigin(0,0);

t123:=Concat('Invisivent Air Basic 62m3/u.lm,',t1,'=',Chr(13),'=',t2,Chr(13),'',t3,Chr(13));

BeginText;  t123  EndText;

begin; Poly (0,0, pl,0, pl,-8, pl+20,12, pl,32, pl,pb, 0,pb );

end;

PopAttrs; END;

End;

Run (Ventilatiepijl);

Thanks for the help

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...