OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: togores on June 21, 2012, 03:51:16 AM

Title: Changed control names.
Post by: togores on June 21, 2012, 03:51:16 AM
Reviewing a tutorial written by me some time ago it seems some control names have changed. But maybe I just was carrying over old objectDCL names.
Have there been any recent control name changes?
Best regards,
Reinldo
Title: Re: Changed control names.
Post by: Fred Tomke on June 21, 2012, 06:17:52 AM
Hi, there's no way to get the recently changed control names.
You can change the event names with the command in the Tools menu in OpenDCL Studio.
You can read out the controls of a form using the dcl_form_getcontrols function.
You can read out the control names by using the dcl_control_getproperty function using the "(Name)" property.

Regards, Fred
Title: Re: Changed control names.
Post by: togores on June 21, 2012, 11:24:28 AM
Hi Fred, I mean the names appearing in the Studio GUI, in the ToolBox.
For example, I had written MonthCalendar, and it is simply Calendar.
Or ImageComboBox which is now Image Combo. Or TabControl when it is now Tab Strip...
Title: Re: Changed control names.
Post by: owenwengerd on June 21, 2012, 12:32:32 PM
Those name changes were made a long time ago, probably in OpenDCL 5. Note also that the names you list from the GUI are localizable, so they may be different in other languages versions. The names used in the API are not localized, but those may also have been changed (if they were, the old function names still work).
Title: Re: Changed control names.
Post by: BazzaCAD on June 25, 2012, 04:15:39 PM
See this for other changes you may notice:
http://www.opendcl.com/tutorials/OpenDCL_Migration_Guide.pdf (http://www.opendcl.com/tutorials/OpenDCL_Migration_Guide.pdf)