>******************************************************************** >* 11/26/99: NN created this method for handle Transactions vs. Property type of query >lparameters new_caption && takes 1 required argument >with this > if .label1.caption <> m.new_caption > .label1.AutoSize = .f. > .label1.caption= m.new_caption > .label1.AutoSize = .t. > .ResizedAlready = .f. > .resize() > endif >endwith>
>* BTCC_ValRange.Resize: event triggered when this container's size is altered >with this > if !.ResizedAlready > .text1.width= (.width - .label1.width - .label2.width -16)/2 >* let width of text1 determine that of text2 > .text2.width = .text1.width > .label1.left = 0 > .text1.left = .label1.width + 2 >* put hyphen a little to the right of text1 > .label2.left = .text1.left + .text1.width + 2 > .text2.left = .label2.left + .label2.width + 1 > .ResizedAlready=.t. > endif >endwith>