D drfjm Member Licensed User Longtime User Nov 23, 2012 #1 Is it possible to add an image to a button? For example the button looks like a playing card.
margret Well-Known Member Licensed User Longtime User Nov 23, 2012 #2 Button1.SetBackgroundImage() Upvote 0
D drfjm Member Licensed User Longtime User Nov 23, 2012 #4 I did it and inserted the following line: movebtn.SetBackgroundImage(k212.bmp) the name of the button is movebtn, of course but I get the message: Error description: Undeclared variable 'movebtn' is used before it was assigned any value. Upvote 0
I did it and inserted the following line: movebtn.SetBackgroundImage(k212.bmp) the name of the button is movebtn, of course but I get the message: Error description: Undeclared variable 'movebtn' is used before it was assigned any value.
marcick Well-Known Member Licensed User Longtime User Nov 23, 2012 #5 B4X: dim movebtn as button any view you create in the designer, must be declared in the activity before using it Upvote 0
B4X: dim movebtn as button any view you create in the designer, must be declared in the activity before using it