Jump to content
Developer Wiki and Function Reference Links ×

X Y values in dialogs


dirlep

Recommended Posts

Anyone, I'm at a dead end here.

My scripts used to work with PtDialog to determine my 'X' and 'Y' co?rdinates.

In order to let the script draw a line or an polygone

MoveTo(0,1);LineTo(x1,1);

or

Poly(0,0,200,0,200,15,0,15,0,0);

, I just let the script ask repeatedly every X and Y value needed.

This could come out rather annoying, I could have up to 5 PtDialogs popping up in that same script.

I now discoverd the better kind of Dialog,

dialogID := CreateLayout

, where I can ask in just one Dialog field more X and Y values.

but to let de Line and Polygone rules react to de input it seems that I need some other type of line.

Is there anyone who can put me on the right track, keeping in mind that I'm not a programmer, more like a novice who teaches himself the wonder of VWscripting.

Thanks.

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...