[Gambas-user] message
Jussi Lahtinen
jussi.lahtinen at gmail.com
Sun Mar 14 02:09:35 CET 2021
The message() seems to trigger the previous mouse click again and thus the
whole thing happens again ad infinitum.
If you give a value for the spinbox without using increase/decrease
buttons, then everything works fine.
This is a bug.
Jussi
On Sun, Mar 14, 2021 at 2:29 AM Shane <buster6seven at gmail.com> wrote:
> quick test crash's gambas
> On 14/3/21 11:19 am, Jussi Lahtinen wrote:
>
> 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 ]----
>>
>
> ----[ 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/52c74593/attachment.htm>
More information about the User
mailing list