Current coordinates system value (using WCSetCoordinateSystem function) : Clipper
This is a discussion on Current coordinates system value (using WCSetCoordinateSystem function) within the Clipper forums in Programming Languages category; Hi VO'ers, I need to use the WCSetCoordinateSystem() function with True parameter to change the coordinates system. I would like to keep the old value od the coordinates system to be able to restore it after my code but it seems that this function return the value you assign as parameter and not the current one. (Note : this is used in a library and I cannot know what the developer used in the main application) Here is my example : myCurrentCoordSystem := XXXXX // Here is the problem ! WCSetCoordinateSystem(True) .. .. .. my code .. .. .. WCSetCoordinateSystem(myCurrentCoordSystem) ...
| Clipper Clipper Programming |
![]() |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
| I need to use the WCSetCoordinateSystem() function with True parameter to change the coordinates system. I would like to keep the old value od the coordinates system to be able to restore it after my code but it seems that this function return the value you assign as parameter and not the current one. (Note : this is used in a library and I cannot know what the developer used in the main application) Here is my example : myCurrentCoordSystem := XXXXX // Here is the problem ! WCSetCoordinateSystem(True) .. .. .. my code .. .. .. WCSetCoordinateSystem(myCurrentCoordSystem) Do you have a tip for it. TIA, -- Phil Mermod Crystal Reports Library for Visual Objects http://www.pkl.ch/dev/ |
|
#2
| |||
| |||
| > WCSetCoordinateSystem(myCurrentCoordSystem) > > > Do you have a tip for it. A quick search of the VO27 SDK suggests WCGetCoordinateSystem() |
|
#3
| |||
| |||
| Thanks Malcom, I know that WCSetCoordinateSystem() was an hidden function but never heard about WCGetCoordinateSystem() BTW I could guess :-) Thanks. -- Phil Mermod Crystal Reports Library for Visual Objects http://www.pkl.ch/dev/ Malcolm wrote: > WCGetCoordinateSystem |
|
#4
| |||
| |||
| Phil Mermod wrote: > > Thanks Malcom, > > I know that WCSetCoordinateSystem() was an hidden function but > never heard about WCGetCoordinateSystem() Does not look to be very hidden in the SDK... > BTW I could guess :-) > > Thanks. > |
|
#5
| |||
| |||
| I meant it's not listed in the help file. Thanks. -- Phil Mermod Crystal Reports Library for Visual Objects http://www.pkl.ch/dev/ Malcolm wrote: > Phil Mermod wrote: > > > > Thanks Malcom, > > > > I know that WCSetCoordinateSystem() was an hidden function > > but never heard about WCGetCoordinateSystem() > > Does not look to be very hidden in the SDK... > > > > BTW I could guess :-) > > > > Thanks. > > |
|
#6
| |||
| |||
| hi so what do these two functions do ? does it mean that we have a topleft as 0,0 richard |
|
#7
| |||
| |||
| Yes. "richard.townsendrose" <richard.townsendrose@googlemail.com> wrote in message news:6cb0c76f-5964-4497-b235-343309b01bdc@v22g2000pro.googlegroups.com: > hi > > so what do these two functions do ? > > does it mean that we have a topleft as 0,0 > > richard __________ Information from ESET NOD32 Antivirus, version of virus signature database 3594 (20081107) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com |
|
#8
| |||
| |||
| Yes -- Phil Mermod Crystal Reports Library for Visual Objects http://www.pkl.ch/dev/ richard.townsendrose wrote: > hi > > so what do these two functions do ? > > does it mean that we have a topleft as 0,0 > > richard |

