OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Emiliano on June 17, 2014, 08:48:32 AM

Title: change buttons dcl_MessageBox
Post by: Emiliano on June 17, 2014, 08:48:32 AM
You can change the label of the buttons on a dcl_MessageBox?

For example replace "Yes" with "Set" and "No" with "No Set"

Please ... do not tell me that I have to create a new form  :-\
Title: Re: change buttons dcl_MessageBox
Post by: owenwengerd on June 17, 2014, 11:03:14 AM
I guess you have read the documentation (http://www.opendcl.com/HelpFiles/index.php?page=Reference/Function/MessageBox.htm). There are limited options. It takes an extremely long time to create a new form in OpenDCL Studio, so that solution is certainly unsuitable.
Title: Re: change buttons dcl_MessageBox
Post by: BazzaCAD on June 18, 2014, 03:55:30 PM
You can do that with DOSlib http://www.en.na.mcneel.com/doslib.htm (http://www.en.na.mcneel.com/doslib.htm).

dos_msgboxex
Title: Re: change buttons dcl_MessageBox
Post by: honkinberry on July 01, 2014, 11:35:29 AM
It's a fairly standard thing to have in one's toolkit, however.
I seem to always be creating a standard helper function so that I can ask a user, "Overwrite, Cancel", or "Increment, Merge, Cancel", you name it.
So any time spent making a modular Ask2 or Ask3 function is well worth it, in my book.

--J