[Gambas-user] message

Jussi Lahtinen jussi.lahtinen at gmail.com
Sun Mar 14 01:19:30 CET 2021


You are likely doing something wrong, but no one knows without seeing the
actual code.


Jussi

On Sun, Mar 14, 2021 at 2:16 AM Shane <buster6seven at gmail.com> wrote:

> 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 ]----
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210314/9730fd5d/attachment.htm>


More information about the User mailing list