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
richard terry ha scritto:
> On Thursday 04 March 2010 18:07:57 Ricardo Díaz Martín wrote:
>
>> I always use for this:
>>
>> If Len(TextBox1.Text) = 0 Then
>>
>
> But the user could have put ascii 32's in the textbox, so need to to Trim.
>
>
In effect, a space is different from an empty s
On Thursday 04 March 2010 18:07:57 Ricardo Díaz Martín wrote:
> I always use for this:
>
> If Len(TextBox1.Text) = 0 Then
But the user could have put ascii 32's in the textbox, so need to to Trim.
Richard
>
> But is the same that wrote Stefano.
>
> Regards,
> Ricardo Díaz
>
> 2010/3/4 Stefan
I always use for this:
If Len(TextBox1.Text) = 0 Then
But is the same that wrote Stefano.
Regards,
Ricardo Díaz
2010/3/4 Stefano Palmeri
> Il giovedì 4 marzo 2010 00:57:32 richard terry ha scritto:
> > I almost feel embarrassed to ask this having programmed in gambas for so
> > long, but here
Il giovedì 4 marzo 2010 00:57:32 richard terry ha scritto:
> 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
>
> etc.
>
> Anything better
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
etc.
Anything better?
Richard
-