Form height property limit (1 Viewer)

Shinsen

New member
Local time
Today, 13:43
Joined
Apr 22, 2020
Messages
5
Hi,

I have a form and simple search (textbox and command button)

The output of this search is kind of a tree (attachment) made of control buttons created in seperate form . It works preety well but I faced the problem when too many buttons need to be created and I reached the limit of the height property of the form.

Any idea how to solve or bypass it ? If possible I would like to stay with control buttons idea.

Thanks in advance
 

Attachments

  • unnamed.png
    unnamed.png
    83.6 KB · Views: 84

isladogs

MVP / VIP
Local time
Today, 12:43
Joined
Jan 14, 2017
Messages
18,247
Hi and welcome

That's an unusual approach!
You could reduce the button height or reduce the vertical spacing between them
Forms can be about 55cm high so that's a lot of buttons before you hit the limit!
 

Shinsen

New member
Local time
Today, 13:43
Joined
Apr 22, 2020
Messages
5
Yeah I know its not usual but I can program on click event of every of those buttons and many other things (on hover f.e.)
200 buttons need to be created and I reach the limit around 60 so reducing spacing or button hight won't do the trick. I tried to follow the creation in the next forms but at the end I need to show it combined in one main form with one scrollbar and this is something I dont know how to deal with.
 

isladogs

MVP / VIP
Local time
Today, 12:43
Joined
Jan 14, 2017
Messages
18,247
Suggest you change to a standard Treeview. There is a lengthy thread started by @MajP that may be helpful.
 

Users who are viewing this thread

Top Bottom