[Gambas-user] Dumb question - testing for an empty text box

Jack jscops at ...11...
Thu Mar 4 10:53:43 CET 2010


richard terry a écrit :
> I almost feel embarrassed to ask this having programmed in gambas for so long, 
> but here goes.
> 
> simplest syntax for testing for no text in a textbox.
> 
> I currently to
> 
> if Trim(textbox1.text) = "" then

salut Richard,

if isnull(Textbox1.text) is an another way.

Jack






More information about the User mailing list