Possibility to place image on the button

19 views
Skip to first unread message

Dmitry Gavryushin

unread,
Jul 14, 2026, 7:22:23 AM (3 days ago) Jul 14
to DroidScript
Good day for all :) We don't know how the weather in your countries but it's rainy in Moscow today. So, it's fine to work on Saturday too))

We continue to make the calendar for our pet app and the following question was araised:
Is it possible to assign the image to the button? Or on buttons we can write texts only?

If it isn't possible we can use CreateImage instead of CreateButton but it will make the out code slightly more complex.

Thank you! Have a nice day and weekend.

Good wishes
Dmitry

Alan Hendry

unread,
Jul 14, 2026, 12:08:11 PM (3 days ago) Jul 14
to DroidScript
HI,
On native buttons you can 
SetBackground(file, options)
options can be "repeat"
Regards, ah

DogPlanner GSS

unread,
Jul 14, 2026, 12:58:50 PM (3 days ago) Jul 14
to DroidScript
Dear Alan,

thank you very much for answer. We will try this! It is very useful feature, because we tried to use different approaches with buttons and images at the same field, but this option requires deleting of the layout during month updates.

Have a nice day!

Good wishes
Dmitry


вторник, 14 июля 2026 г. в 19:08:11 UTC+3, hendr...@gmail.com:
Reply all
Reply to author
Forward
0 new messages