Item position
Previous Topic  Next Topic 

Each item requires a position. This is a list that describes the X, Y, Cx, and Cy coordinates.


An example of the most basic form is:


        N1pos = [pos(5), pos(5),pos(30),pos(12)]


If the item is on a user resizable form then you may want to anchor parts of the item to the opposite edge (right or bottom). To do this use 'posa(...', e.g.


        StyleListPos = [pos(153),pos(5),posa(140),posa(140)]


An alternative is to resize the item proportionally. To do this use posr(..., e.g.


        YeditPos = [posr(100),pos(45),posa(40),pos(12)],