Author Topic: Tables and TableBreakOptions  (Read 3674 times)

0 Members and 1 Guest are viewing this topic.

tjr

  • Guest
Tables and TableBreakOptions
« 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:
Code: [Select]
bmTable.BreakEnabled = true;
bmTable.BreakFlowDirection = TableBreakFlowDirection.Left;
bmTable.BreakOptions = TableBreakOptions.AllowManualHeights;
bmTable.BreakOptions = TableBreakOptions.AllowManualPositions;

Any thoughts?

Glenn R

  • Guest
Re: Tables and TableBreakOptions
« Reply #1 on: September 23, 2008, 10:26:49 AM »
Have you tried OR'ing (bitcoding) them together?
Code: [Select]
bmTable.BreakOptions = TableBreakOptions.AllowManualHeights | TableBreakOptions.AllowManualPositions;

tjr

  • Guest
Re: Tables and TableBreakOptions
« Reply #2 on: September 23, 2008, 10:44:31 AM »
Have you tried OR'ing (bitcoding) them together?
Code: [Select]
bmTable.BreakOptions = TableBreakOptions.AllowManualHeights | TableBreakOptions.AllowManualPositions;
You're awesome Glenn. That worked out quite well. Thanks.

Glenn R

  • Guest
Re: Tables and TableBreakOptions
« Reply #3 on: September 23, 2008, 10:47:00 AM »
No probs mate - glad I could help.

tjr

  • Guest
Re: Tables and TableBreakOptions
« Reply #4 on: September 23, 2008, 10:48:04 AM »

Glenn R

  • Guest
Re: Tables and TableBreakOptions
« Reply #5 on: September 23, 2008, 10:51:01 AM »
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...

tjr

  • Guest
Re: Tables and TableBreakOptions
« Reply #6 on: September 23, 2008, 10:54:58 AM »
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.