field not updating

BlitzMax Forums/BlitzMax GUI Programming/field not updating

setgadgettext is being used but wont actually display the contents visually til i click on the field, or change the tab its on and then back again.

		Case btn_browsetex[item]	' user pressed button
			Local filter$="Texture Files(png,bmp,jpg,tga,dds):png,bmp,jpg,tga,dds;"
			Local filename$=RequestFile( "Select mesh file to open",filter$ )
			SetGadgetText fld_tex[item],filename$