>local SecondLeftColumnNumber > >with m.this.parent.Grid > > do case > case empty(.Partition) > SecondLeftColumnNumber = 0 > > case .Panel = 1 > SecondLeftColumnNumber = .LeftColumn > > otherwise > .Panel = 1 > SecondLeftColumnNumber = .LeftColumn > .Panel = 0 > > endcase > >endwith > >? SecondLeftColumnNumber >Hmm, you make it way too easy <g>