Create a new dialog box which allows button name change

sbruno

Member
Licensed User
I am looking to create a dialog box similar to fgDialog MessageBox but rename the buttons text or create a new button and still handle/process the result the same way as fgDialog, based on the button selected.

Can this be done in Basic4PPC or do I have to learn the DLL wrap thing and get MS Visual Basic 2005?

Thanks, once again.
 

sbruno

Member
Licensed User
Thanks Erel, thats pretty much where I was at.

The only problem, when I use the panel (simulated dialog) it does not allow me to capture which button was pressed, only directly call the button_click for the specific button. This would caused me to create global variables to store my values since I would have to process the information at the button_click level.

Whereas, I was hoping to perform a dialog and have the user click a button, (dialog would close) return the button value and perform a function/process based on the button value in a select/case.

I could be just thinking too hard for an easy process, that happens sometimes.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…