[Openroad-users] Ellipseshape in a tablefield...
Kim Ginnerup
kgi at bording.dk
Mon Nov 26 23:19:58 EST 2007
The "problem" with toggle fields is the limitation of two images.
I have often thought of a way of having more than 2 like some kind of state information.
I often use a stack with images where there is only one visible at the time.
But a stack like this in a tablefield gives me some other problems like an uncontrollable column width for the composite column.
I like the idea of making an elipseshape and then just change the color that is quite useful if the form doesn't flicker to much when changing the bgcolor.
Kim
-----Oprindelig meddelelse-----
Fra: openroad-users-bounces at peerlessit.com [mailto:openroad-users-bounces at peerlessit.com] På vegne af Andrew
Sendt: 26. november 2007 06:41
Til: International OpenROAD Users
Emne: [Openroad-users] Ellipseshape in a tablefield...
Hi All,
OR4.1 sp3 - WinXp
I am having some issues changing the bgcolor of an ellipseshape in
tablefield and require a little assistance...
I started by having about 10 entryfields and an ellipseshape (called
dot), then grouped them into a matrixfield.
Then I grouped the matrixfield into a stackfield.
Named the stackfield - col1.
Cloned the stackfield twice and called them col2 and col3.
Then grouped col1, col2 and col3 into a tablefield (called tbl1).
Now I would like to change the background colour of 'dot' when some data
changes in any of the entryfields.
My attempts so far have changed the bgcolor of 'dot' in the correct
column but for every row not just the one where the data has changed
(just like if I was using protofield but I'm not).
So I have tried a variety of 'for loops' going through the tablefield to
get to the ellipseshape - in the attached file, but today is just a cow
of a day. This could all be avoided by just using a togglefield but we
would like to use an ellipseshape if possible. Please forgive me if the
code is a little confusing.
Any help will be greatly appreciated.
Regards,
Andrew.
More information about the Openroad-users
mailing list