iOS Question panel background

tufanv

Expert
Licensed User
Hello

I made a search on the forum as Erel said you have to put imageview behind panel to make a background. I tried it but i can only see background and i cant see my main panel ( when i remove the imageview i can see my main panel) . I tried bringtofront for main panel but no luck again ??

TY
 

tufanv

Expert
Licensed User
Hello,

I want a background image for a panel . How can i use alpha for this purpose ?
 

omidaghakhani1368

Well-Known Member
Licensed User
You can place image view in panel and decrease panel alpha.
But panel have backgroundimage
 

tufanv

Expert
Licensed User
Erel,

I stll have this problem. Yes i am sure it the child of panel. When i make it a little bit transparent like 0.7 , other labels are also goes transparent so they are not readable.
 

Marco Maria Vilucchi

Active Member
Licensed User
I used this configuration:
Panel1 parent main 100%x 100%y
Image1 parent panel1 80% 80%
Button1 parent main

Button_ckick doesn't work because is under (behind) panel

Then i change:
Button1 parent panel1

Same problem
What can i do?
 
Last edited:

klaus

Expert
Licensed User
What EventName did you enter in Button1.Initialize ?
It should be Button1.Initialize("Button")
Because you use Button_Click
Or if you have Button1.Initialize("Button1")
Then you need Button1_Click.
 

Marco Maria Vilucchi

Active Member
Licensed User
i'm using Designer, then I don't have Button.Initialize
But i seen that if I put the button into an area out of panel and image it works
 

dieterp

Active Member
Licensed User
Just a quick query out of interest. When I add an ImageView to the designer, it doesn't allow me to link the image I have in the 'Files' folder through the 'Designer ImageView' properties like it does in B4a. I have to link the image in code by calling ImageView1.Bitmap = LoadBitmap(File.DirAssets, "my_image.png").

Am I missing something?
 

dieterp

Active Member
Licensed User
Ahhhh, there we go. Thanks Klaus! Fumbling my way around a bit here but getting there. Another excellent product chaps. Great work! :)
 
Top