Hi, Jeff -
It may be possible to create your own command button for use at runtime by using PowerBuilder Native Interface (PBNI) to create a "visual extension". I think you would create what Windows refers to as an owner-drawn control (the command button) in C++. You will need to be very comfortable with creating visual Windows controls in C++, including a windows procedure to handle event messages from the Windows O/S and route those message, when appropriate to the PowerBuilder Virtual Machine (PBVM). This is beyond my expertise, and I'm not aware of any example code. Perhaps there are others in the Appeon Community with the necessary skills and experience.
Here is a link to a discussion on visual extensions in PBNI:
https://docs.appeon.com/pb2022/native_interface_programmers_guide_and_reference/XREF_72632_Creating_and_using.html
Another possibility would be to use a .NET control in your PB application. I've not done this, but it appears to be easier than created a visual extension in PBNI. I found a nice explanation online written in 2012 by Matt Balent:
https://www.codeproject.com/Articles/408620/PowerBuilder-Using-NET-Visual-Controls-in-PB-Class
I hope this information leads you to a solution that works. If you find a solution, I'd be very interested to learn how it's done... so please report back.
Best regards, John