B4J Question Imageview not visible

Douwe Siegersma

Member
Licensed User
Longtime User
In B4J I'm trying to show an image on the form:

Pic1.Initialize ("Pic1")
Pic1.SetImage (fx.LoadImage (File.DirAssets ,"ledaan.jpg"))
Pic1.SetSize (30dip,30dip)
Pic1.Top = 400dip
Pic1.Left = 100dip
Pic1.Visible = True
Pic1.Enabled = True

Nothing shows. Am I forgetting something?

Douwe Siegersma, A moment ago Edit
 
Top