Memory Game
Posted
#1
(In Topic #1981)
Enthusiast

After playing
an old game "Memory", which I now play with my grand children.
You know, find pairs of pictures.
We usually play in pairs, but here you're not playing against the app,
you're playing against the clock.😇
As pictures I used the stock icons of gambas 128x128 px.
I couldn't find a reasonable solution to make the form fit the playing field,
as it is created on the fly.
So I gave it a fixed height. Does anyone have any ideas for the flexible height?
Screenshot 2025-12-19.jpg
Memory-0.0.2.tar.gz
Regards
Yogi
Posted
Guru


MemoryCO-0.0.1.tar.gz
Posted
Enthusiast

cogier said
The way I would do this is to put 10 rows (HBoxes) of 10 Buttons. Have a look at the attached program. You can resize the form horizontally and vertically.
Dear
Thanks for pointing me in the right direction. I already used the 10 HBoxes, but - I don't know why -
I put them in a separate container. Even used the form arrangement.vertical.
So the solution was just removing the container and it works as expected…
(struggling again with the containers)
Big thanks! 👍
Kind regards
Yogi
Memory-0.0.3.tar.gz
1 guest and 0 members have just viewed this.


