I have attempted to research this topic via Google to no avail as I do not know exactly what I am looking for.
I am trying to develop a custom dialog box that will allow a user to input numbers in order to create specific drawing.
The drawing itself is rather uncomplicated. It is a rectangle with an offset that will have a circles at intervals of 24" which is contingent on the rectangle dimension.
Similar to this image:
This is the custom dialog box code I have manipulated.
result : LONGINT;
id := CreateLayout('Panel',TRUE,'Generate', '');
result := RunLayoutDialog(id,NIL);
I understand how to command vectorscript to draw a rectangle but I am unsure how to connect that command to the dialog box and furthermore I do not know how to make the circles contingent on the overall dimensions of the rectangle.
I am not looking for someone to do my work, I just need assistance on where to look for help. I have read over the Vectorscript reference and done some searches on the function reference but neither explain a great deal to those who are not familiar with coding language.