Q question xxx SetItem xxx

Started by Slavko Ivanovic, August 21, 2013, 05:45:29 AM

Previous topic - Next topic

Slavko Ivanovic

First of all, hi to all!
I was away from the code for two years now, but im BACK   8).
Plan is to upgrade and improve most of my programs.

Special regards to Owen from Banja Luka, Republika Srpska,
im very glad that OpenDCL is still a live & kick@$$.


Q:
Is there anywhere in odcl documentation covered (listed) SetItem or GetItem?
EX:

dcl_Grid_SetItem....

atoms-family listing
DCL_GRID_SETITEMCHECK
DCL_GRID_SETITEMDATA
DCL_GRID_SETITEMDROPLIST
DCL_GRID_SETITEMIMAGE
DCL_GRID_SETITEMSTYLE
DCL_GRID_SETITEMTEXT

same for Get and other controls.

Slavko
***  siCAD Solutions for AutoCAD  ***
ArchiTools l ToolsPlus l LandTools l LBE

roy_043

These functions are deprecated. For example if you look for SETITEMCHECK you will be redirected to the new function (Grid_SetCellCheckState). You should use the new functions.

owenwengerd

Welcome back Slavko! As Roy said, those are functions whose original names are still defined for backward compatibility.

BTW, you may be interested in this recent thread: http://www.opendcl.com/forum/index.php?topic=1983.0
Owen Wengerd (Outside The Box) / ManuSoft

Slavko Ivanovic


Thanks Roy and Owen.

Now, is there anywhere list of ALL deprecated functions so i can analyze my source a little easier?
If im already passing thru all of my codes i would like to dump backward compatibility functions.

Slavko
***  siCAD Solutions for AutoCAD  ***
ArchiTools l ToolsPlus l LandTools l LBE

owenwengerd

I don't think there's a list of all deprecated functions in one place, but they should all be listed in the help file in the same section as their replacement functions. You could grep the help file source to compile a complete list.
Owen Wengerd (Outside The Box) / ManuSoft

Slavko Ivanovic

Thanks Owen.

I might just do that.
If i do, will post it back to share.

Slavko
***  siCAD Solutions for AutoCAD  ***
ArchiTools l ToolsPlus l LandTools l LBE