I have a UI with 32 buttons, each write different things out to the parallel port. because they are all writing different things out I obviously don't want the user pressing a second button while the first one is still writing bits to the port. This brings me to my question, how can I disable the other buttons till the button that was pressed finished its commands?

Thanks for the help.

Best Regards