Here is my latest attempt: ....

I was at a point where I almost had it perfect, except I was bouncing back and forth between showing multi-line codes and showing single-line codes. I couldn't get it to show both properly at the same time, so the best I could come up with is to set a fixed height for ALL code windows...

Hmm.. I agree that was the last option, but it didn't like the fixed size very much. Thanks for all your help, I learned a lot and we improved it somewhat! I'll point Rick (author of UBBT) to this discussion and ask him to make a solution in UBBT. thanks again,

Tjerk.