[AccessD] Ribbon context
Ryan W
wrwehler at gmail.com
Tue Jan 25 11:48:12 CST 2022
Oh to clarify, there are several forms that could use the contextual
enable/disable (the forms most users use, not the outliers/seldom used,
etc).
I need to ponder more on this I guess. Right now the ribbon works, you
can just press buttons that throw errors because your back end permissions
basically block you from performing the button action.
On Tue, Jan 25, 2022 at 11:30 AM Rocky Smolin <rockysmolin2 at gmail.com>
wrote:
> If you can disable the button with a line of code and it is needed in a
> dozen forms, then I would take the brute force method - put that disable
> line of code in the open event and put the enable line of code in the Close
> event.
>
> Unless you're saying that ANY form MIGHT need the button depending on some
> condition. In which case you could still do it with a line of code in each
> form calling a public function that would return True/False for
> disabling the delete button.
>
> Unless each form that MIGHT need to have its delete button disabled would
> have differing conditions. In which case...
>
> r
>
>
More information about the AccessD
mailing list