Android Question Program closes when change text size

Vinians2006

Active Member
Licensed User
Longtime User
This piece of code causes error and program closes. I call the sub on the button click. This is a test:
B4X:
  Sub mostraSimbolo(btn As Button)
     btn.TextSize=24
  end sub

Do you know why ?
 

stevel05

Expert
Licensed User
Longtime User
What is the error? Zip and post your project if you can.

File/Export as zip or 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=Project.zip if it's a B4xPages project
 
Upvote 0

Vinians2006

Active Member
Licensed User
Longtime User
What is the error? Zip and post your project if you can.

File/Export as zip or 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=Project.zip if it's a B4xPages project
Thank you, I found the bug. I tryed to remove my post but I couldnt.
 
Upvote 0
Top