[Openroad-users] Ellipseshape in a tablefield...

Kim Ginnerup kgi at bording.dk
Thu Nov 29 21:18:30 EST 2007


Hi Andrew

You got me going on this one.
I need exactly what you are after and thought maybe we can cheat a little.
I have attached a very early proof of concept on elipseshape in a "tablefield".
I have made a stack of elipseshape next to a tablefield and played a little with size and outlines.
Stepctrl.steps is the array I need to put into my portlet.steps tablefield
Portlet.states is my stack of ElipseShapes
The number of rows is fixed so it is a bit easier to control.
But is should be doable if keep track of toprow.

for i = 1 to stepCtrl.steps.lastRow do
  portlet.steps[i] = stepCtrl.steps[i];
  field(portlet.states).childFields[i].bgColor = RGB(red=i*15,green=255-(i*15),blue=128);
endfor;

I only need three different colors in my states array, but this was more to see if it could work

Kim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: colorstate.png
Type: image/png
Size: 3806 bytes
Desc: colorstate.png
Url : http://www.peerlessit.com/pipermail/openroad-users/attachments/20071129/6fe0e6bd/attachment.png 


More information about the Openroad-users mailing list