Dynamically change order of buttons on a form (1 Viewer)

amaklop

Registered User.
Local time
Yesterday, 20:01
Joined
Sep 6, 2018
Messages
17
Hi

I have a home page with various buttons. Depending on the user's security group, only certain buttons will be available. However, when the buttons are hidden that he cannot see, there are big gaps between the buttons. Is there a way that I can "auto arrange" the buttons after I've hidden the ones he cannot see? I'm trying to get each users' home screen to have all the buttons left aligned and overflow into the second column if the first is full.

Is this possible?
 

Gasman

Enthusiastic Amateur
Local time
Today, 04:01
Joined
Sep 21, 2011
Messages
14,231
The default switchboard works like that I seem to recall.
Each menu entry is in a table and you decide what is presented to the user.?

Check out the SwitchBoard Manager in Database tools.
 

isladogs

MVP / VIP
Local time
Today, 04:01
Joined
Jan 14, 2017
Messages
18,209
Yes its possible but it will need a fair bit of code and it might cause a performance hit.

Does it really matter? If it does, why not just disable rather than hide the buttons?
 

amaklop

Registered User.
Local time
Yesterday, 20:01
Joined
Sep 6, 2018
Messages
17
Ahh ... Thanks I never thought of disabling the buttons. That will be much easier :)
 

Users who are viewing this thread

Top Bottom