From: Geoff Schaller on 10 Jan 2010 17:58 Excellent. I just didn't test this. "Geoff Chambers" <gchambers02(a)msn.com> wrote in message news:17082236-8f84-43ad-a303-bd9c91c3bef8(a)19g2000vbq.googlegroups.com: > On Jan 10, 4:04 pm, Geoff Chambers <gchamber...(a)msn.com> wrote: > > > It works great, I'll keep you advised if I run into any problems. I > > do > > have a couple of Group columns, I'll try it on them and see what > > happens. > > > > One thing I noticed though, I programed all of my BuildBrowsers on > > Self:bBrowser from your class GCSbBrowser, I had to change the code > > to > > Self:oDCBrowser since Self:bBrowser inherits from GCSBrowser. > > > Geoff: > > As as a follow up I used it with #EXPRESSION and Groupd columns and > have not seen any ill effects with either.
From: Amilcar A. Camargo on 10 Jan 2010 19:47 Hi Geoff, On Sun, 10 Jan 2010 21:23:52 GMT, "Geoff Schaller" <geoffx(a)softxwareobjectives.com.au> wrote: >Amilcar, > >You don't need to do this - such behaviour is already automatic in >bBrowser: > >obBrowser:AutoWidthColumn := #MyColumn. Let's see: this adjusts only one column. My approach was neede to adjust the "other" columns. This happended because the customer wanted to be able to specify what columns to include. To make it look pretty and not shrink data columns to much, this method was created. It's not that i didn't know about 'autowidthcolumn'. Best regards, Amilcar A. Camargo F. Guatemala, C. A.
From: Geoff Schaller on 10 Jan 2010 21:06
Amilcar, Ok but your method will not work. It will adjust all columns to be the same width, which will vary every time you adjust the browser width. This is no good. Min/Max are ignored. What we are doing is specifying specific columns to take on auto adjustment, leaving the others fixed. This is the most usual requirement. Generally you have a bunch of columns that need to be fixed and a couple with larger descriptions etc. These are the ones you want to have auto-adjust and now Geoff C wants to further restrict them to maximum sizes and thus have additional columns take up the extra width in turn. Cheers, Geoff "Amilcar A. Camargo" <amilcarcamargo(a)gmail.com> wrote in message news:t2tkk5ljfrbcqtavm9ou31te1g2kdc0qud(a)4ax.com: > Hi Geoff, > > On Sun, 10 Jan 2010 21:23:52 GMT, "Geoff Schaller" > <geoffx(a)softxwareobjectives.com.au> wrote: > > > >Amilcar, > > > >You don't need to do this - such behaviour is already automatic in > >bBrowser: > > > >obBrowser:AutoWidthColumn := #MyColumn. > > > Let's see: this adjusts only one column. My approach was neede to adjust the > "other" columns. This happended because the customer wanted to be able to > specify what columns to include. To make it look pretty and not shrink data > columns to much, this method was created. > > It's not that i didn't know about 'autowidthcolumn'. > > Best regards, > Amilcar A. Camargo F. > Guatemala, C. A. |