It’s been a long time since you could provide your customers with merged applications in SDI mode.
We know that testing an SDI application can be challenging, so with 4D v19 R8, you can view the result of your application without the need to build your standalone or client application.
Keep reading for all the details.
Activate the SDI mode
The option to activate the SDI mode is in the “Interface” tab of the project settings. This is the same option that enables SDI mode for merged applications.
New menu items
If the option “Use SDI mode on Windows” is checked, two menu items for testing the application are available:
- Test Application in MDI Mode
- Test Application in SDI Mode
The development part is still in MDI. So when you switch from development mode to runtime mode with the “Test application in SDI” item menu, this is equivalent to restarting your application.
Here is an example with an HDI if you choose “Test Application in SDI Mode”:
New attribute
When running your application, use the Get application info command to know if you are in SDI or MDI mode. A new attribute, SDIMode, returns the SDI status.
var $mode : Object
$mode:=Get application info
ALERT(String($mode.SDIMode))
Conclusion
For more details, check out the documentation.