B4J Question [ABMaterial] Enable/Disable controls on runtime

hibrid0

Active Member
Licensed User
Longtime User
Hi guys I'm trying to enable or disable some controls on run time and I cant.

Any idea?

On internal code I call a function and when the function finish sucess activate a button with button1.enable=true, but the button not activate.

Can i do with ABMaterial?
 

hibrid0

Active Member
Licensed User
Longtime User
Problem solved.
just add:
B4X:
sub Function1_ProcessCompleted (Success As Boolean, ExitCode As Int, StdOut As String, StdErr As String)
  
    If success Then
             button1.enabled=true
             button1.refresh
   end if

end sub


Thanks AlwaysBusy
 
Upvote 0
Top