Text images n stuff - WinBlitz3d

Blitz3D Forums/Blitz3D Programming/Text images n stuff - WinBlitz3d

Hi Yahfree, you dont see a change in the text of the label? as its does change here. or you see the change but old text longer than the new text is still visable?

here i see the change yet theres not a redraw to remove text thats longer than the new text being added. a work around for this although not ideal would be to hide the label, and then add the text then re-show the label again.

for example the code below, i also notice your not including 'WB3DStyles.bb'. maybe this was missed while a copy and paste was done :)

	Case WB3D_EVENT_GADGET
		selected = WB3D_EventSource()
		Select selected
		
			Case maketext
				WB3D_HideGadget mytext
				WB3D_SetGadgetText(mytext,"Test1")
				WB3D_ShowGadget mytext
				
			Case maketext2
				WB3D_HideGadget mytext
				WB3D_SetGadgetText(mytext,"Test2")
				WB3D_ShowGadget mytext
		End Select



kev