Re: [Gnoga-list] Errors in Gnoga.Gui.Element.Canvas.Context_2d

2024-03-21 Thread Wayne Bullaughey via Gnoga-list
gnoga.ads has 1.2b. Is that the official version?

Wayne

> On Mar 21, 2024, at 12:10 PM, Jeremiah Breeden  
> wrote:
> 
> Wayne,
> 
> I remember this being a thing a while back and it was fixed updated in a 
> later version of Gnoga.  Can you confirm what version of Gnoga you are 
> running?
> 
> On Tue, Mar 12, 2024 at 9:29 AM Wayne Bullaughey via Gnoga-list 
> mailto:gnoga-list@lists.sourceforge.net>> 
> wrote:
> Soon after my application starts a call to Swap_Connection occurs.  Within 60 
> seconds of that I get the following:
> 
> 2024-03-12 08:28:17.87 : Deleting connection - 2
> 2024-03-12 08:28:17.88 : Watchdog error.
> 2024-03-12 08:28:17.88 : raised ADA.ASSERTIONS.ASSERTION_ERROR : Position 
> cursor of Next is bad
> Load address: 0x1027bf000
> Call stack traceback locations:
> 0x102b45091 0x102a1d6e0 0x102a3929b 0x102a3931f 0x102a402d6 0x102b0d008 
> 0x7ff8053f7200
> 
> I prevented this from happening by adding the following lines in the 
> procedure Delete_Connection in the file gnoga-server-connection.adb.
> 
> if Socket_Maps.Key (Current_Socket) = ID then
>   Current_Socket := Socket_Maps.No_Element;
> end if;
> 
> After the line:
> 
> if Socket_Map.Contains (ID) then
> 
> Wayne
> 
> 
> ___
> Gnoga-list mailing list
> Gnoga-list@lists.sourceforge.net <mailto:Gnoga-list@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/gnoga-list 
> <https://lists.sourceforge.net/lists/listinfo/gnoga-list>
> ___
> Gnoga-list mailing list
> Gnoga-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gnoga-list

___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list


Re: [Gnoga-list] Errors in Gnoga.Gui.Element.Canvas.Context_2d

2024-03-12 Thread Wayne Bullaughey via Gnoga-list
Soon after my application starts a call to Swap_Connection occurs.  Within 60 
seconds of that I get the following:

2024-03-12 08:28:17.87 : Deleting connection - 2
2024-03-12 08:28:17.88 : Watchdog error.
2024-03-12 08:28:17.88 : raised ADA.ASSERTIONS.ASSERTION_ERROR : Position 
cursor of Next is bad
Load address: 0x1027bf000
Call stack traceback locations:
0x102b45091 0x102a1d6e0 0x102a3929b 0x102a3931f 0x102a402d6 0x102b0d008 
0x7ff8053f7200

I prevented this from happening by adding the following lines in the procedure 
Delete_Connection in the file gnoga-server-connection.adb.

if Socket_Maps.Key (Current_Socket) = ID then
  Current_Socket := Socket_Maps.No_Element;
end if;

After the line:

if Socket_Map.Contains (ID) then

Wayne


___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list


[Gnoga-list] Gnoga.Gui.View.Card

2022-01-10 Thread Wayne Bullaughey via Gnoga-list
I don’t see a way to remove a card/tab pair once it has been added. Is there a 
way I’m missing or is there a reason it isn’t supported/

Thanks, Wayne

___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list


[Gnoga-list] Modifying a Check Box

2021-10-29 Thread Wayne Bullaughey via Gnoga-list
I have case when the user checks one check box the code will set a different 
check box and disable that one.

In my application the check box that gets set does not update to show that it 
has been checked and does not gray out to show it has been disabled. When the 
disabled check box is clicked it redraws showing it is checked and disabled.

How can I force the check box to be redrawn?

Thanks, Wayne

___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list