TheSwamp
Code Red => .NET => Topic started by: tjr on September 23, 2008, 10:11:54 AM
-
This is a separate issue related to my previous post about tables. I'm trying to set multiple values to my tables BreakOptions with little success. I tried creating an array of TableBreakOptions and passing that but that didn't work at all.
I also tried this but of course it isn't going to work as it overrides:
bmTable.BreakEnabled = true;
bmTable.BreakFlowDirection = TableBreakFlowDirection.Left;
bmTable.BreakOptions = TableBreakOptions.AllowManualHeights;
bmTable.BreakOptions = TableBreakOptions.AllowManualPositions;
Any thoughts?
-
Have you tried OR'ing (bitcoding) them together?
bmTable.BreakOptions = TableBreakOptions.AllowManualHeights | TableBreakOptions.AllowManualPositions;
-
Have you tried OR'ing (bitcoding) them together?
bmTable.BreakOptions = TableBreakOptions.AllowManualHeights | TableBreakOptions.AllowManualPositions;
You're awesome Glenn. That worked out quite well. Thanks.
-
No probs mate - glad I could help.
-
No probs mate - glad I could help.
Any thoughts on my Other table related issue? (http://www.theswamp.org/index.php?topic=25054.0)
-
I had a brief look at that when it first went up, however I haven't really done anything with Tables. I will try and have a more serious look...
-
I had a brief look at that when it first went up, however I haven't really done anything with Tables. I will try and have a more serious look...
I found on on a table you can lock the content of each cell. I might be able to work from there.