DF19.1: Dfshape.pkg missed clean-up ?
Hi DAW
It seems DFSHAPE.pkg missed its appointment at the cleaners....
Or should we NOT be using it anymore ?
[Code]
- Warning 4533: C:\Program Files (x86)\DataFlex 19.1\Pkg\Dfshape.pkg (ln 127) Obsolete use of EQ/GT/GE/LT/LE/NE in If statement. Use = > >= < <= <> inside expression ()
- Warning 4533: C:\Program Files (x86)\DataFlex 19.1\Pkg\Dfshape.pkg (ln 130) Obsolete use of EQ/GT/GE/LT/LE/NE in If statement. Use = > >= < <= <> inside expression ()
- Warning 4533: C:\Program Files (x86)\DataFlex 19.1\Pkg\Dfshape.pkg (ln 133) Obsolete use of EQ/GT/GE/LT/LE/NE in If statement. Use = > >= < <= <> inside expression ()
- Warning 4533: C:\Program Files (x86)\DataFlex 19.1\Pkg\Dfshape.pkg (ln 136) Obsolete use of EQ/GT/GE/LT/LE/NE in If statement. Use = > >= < <= <> inside expression ()
- Warning 4533: C:\Program Files (x86)\DataFlex 19.1\Pkg\Dfshape.pkg (ln 142) Obsolete use of EQ/GT/GE/LT/LE/NE in If statement. Use = > >= < <= <> inside expression ()
[/Code]
Thanks
Re: DF19.1: Dfshape.pkg missed clean-up ?
Hi Raveen,
it's not USEd in any other package. Plus, we probably didn't expect that this would be used in anything but test code. As the ShapeControl doc states "ShapeControl is used to demonstrate DataFlex communicating with the Windows API. The class is primarily intended for programmers wishing to understand the integration issues involved between DataFlex and the WinAPI. While no knowledge of WinAPI is needed to use this class, it will be required to understand the class's well-documented source code."
Re: DF19.1: Dfshape.pkg missed clean-up ?
Hey Dennis,
It is used as a base class for the [URL="https://www.vdf-guidance.com/ContribPage.asp?Page=PKGCLSCVBITMAPCO&ContribRecId=79"]cvBitmapContainer class[/URL] over at vdf-guidance.
So much for "we don't expect you to use it"..
I think it is used by a reasonable amount of developers.
Besides if it is example code on how-to use DataFlex then it should be updated IMO.
Yes I can clone it and clean it up on my end, but then we are duplicating code which almost never is a good idea..
--
Wil
Re: DF19.1: Dfshape.pkg missed clean-up ?
I agree. I'll log it to be cleaned up.