steveouthwaite
Programmer
Hi,
I've just read that excellent FAQ about flexgrids, and thought I'd have a go (as you do...)
I've got a problem though...
superimposing a textbox over the clicked cell...(in the click event of the flexgrid)
text1.fontname = flexgrid.fontname
text1.fontsize = flexgrid.fontsize
text1.top = flexgrid.celltop
text1.left = flexgrid.cellleft
text1.width = flexgrid.cellwidth
(all ok so far...)
text1.height = flexgrid.cellheight
it doesnt want to play (the textbox will not resize it's height)
the fontname, fontsize, position and width all change perfectly, but the height will not!
when the program reaches the "text1.height = flexgrid.cellheight" line, the textbox height is 315, and the flexgrid.cellheight is 225
after executing the line, the textbox.height is still 315!!!
Am I missing something here... I am embarased to say that I am totally stumped by this.
Someone put me out of my misery please.....
I've just read that excellent FAQ about flexgrids, and thought I'd have a go (as you do...)
I've got a problem though...
superimposing a textbox over the clicked cell...(in the click event of the flexgrid)
text1.fontname = flexgrid.fontname
text1.fontsize = flexgrid.fontsize
text1.top = flexgrid.celltop
text1.left = flexgrid.cellleft
text1.width = flexgrid.cellwidth
(all ok so far...)
text1.height = flexgrid.cellheight
it doesnt want to play (the textbox will not resize it's height)
the fontname, fontsize, position and width all change perfectly, but the height will not!
when the program reaches the "text1.height = flexgrid.cellheight" line, the textbox height is 315, and the flexgrid.cellheight is 225
after executing the line, the textbox.height is still 315!!!
Am I missing something here... I am embarased to say that I am totally stumped by this.
Someone put me out of my misery please.....