Android Question Toggle Button Viewing Issue

bocker77

Active Member
Licensed User
Longtime User
A couple of my toggle buttons were working just fine but I am thinking when I upgraded B4A to V13.00 (It is at V13.10 now) I started seeing this behaviour.

Before pressing button - Note: blue box upper right hand corner.

Toggle Before.png


After pressing button:

ToggleButton After.png


I tried numerous changes in the Designer with no luck.

The "Cost" toggle button in the Purchase and Repair panel doesn't center the texts properly but that too was working just fine before. The "Log" toggle button in the lower left hand corner is working just fine.

B4X:
    Private pnlMain As B4XView
...
    Private tbTerritories As ToggleButton
...
tbTerritories.Background = bmpGoldButton
...

Private Sub tbTerritories_CheckedChange(Checked As Boolean)
    If Checked Then
        pnlPowers.BringToFront
    Else
        pnlPowers.SendToBack
        pnlTerritories.SendToBack
    End If    
End Sub

Any help with this would be greatly appreciated.
 

bocker77

Active Member
Licensed User
Longtime User
After thinking about this the "Log" toggle button was created after the upgrade. I am going to delete the two that were created prior to the upgrade and recreate to see if that fixes it. Again I can't swear that this started happening after the version 13.00 upgrade.

Yep that fixed my issue. But still don't understand why this happened.
 
Upvote 0
Top