[Gambas-user] message

Shane buster6seven at gmail.com
Sun Mar 14 01:14:59 CET 2021


Maybe its the way I am Calling it Im using Spinbox.Change event


On 14/3/21 11:04 am, Michael Altrogge wrote:
> this works fine for me:
>
>
>     Dim selected As String = Null
>     'Dim selected As String = "4711"
>
>     If selected = Null Then
>         Message("Do some thing else first")
>     Else
>         Message("Do stuff here")
>     Endif
>
>
>
> Am 14.03.21 um 00:38 schrieb Shane:
>> Hi
>>
>>     What am I doing wrong with this code
>>
>> Public Sub Button4_Click()
>>
>>   If selected = Null Then
>>     Message("Do some thing else first")
>>   Else
>>      Do stuff here
>>
>>   Endif
>>
>> End
>>
>> the message window pops up and then i press ok then it pops up agian 
>> then faults with window already open
>>
>>
>>
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----


More information about the User mailing list