B4J Question [ABMaterial] add a ABMCanvasObject to a ABMModalSheet

billyrudi

Active Member
Licensed User
Longtime User
Alain how i can add a ABMCanvasObject to a ABMModalSheet ?
how i can modify the following code?
regards Paolo
B4X:
Dim canvas1 As ABMCanvas
    canvas1.Initialize(page, "canvas2", ABM.COLOR_BLACK , ABM.INTENSITY_NORMAL,  1024, 1600,   True)
    myModal.Content.Cell(1,1).AddComponent(canvas1)
 
    Dim bg As ABMCanvasObject
 
    bg.InitializeAsRectangle(  page,"bg",0, 0,1024  ,1550,  False)
    bg.drawImage(  "INTERFACCIA_STATO_DI_CARICA", 0,0) 
    canvas1.AddObject(bg)
    canvas1.Refresh
 

billyrudi

Active Member
Licensed User
Longtime User
perfect, how many time do you have need?
if i'm not able to use it i must create a new page.... but it is more complex for me.
 
Upvote 0

walterf25

Expert
Licensed User
Longtime User
Just checked it and this is indeed a bug. I searched for a temporary solution for you, but it can only be done by updating the library. Will be in the next Maintenance Update 1.12.
Was this fixed in any of the latest versions?
 
Upvote 0
Top