The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Worksheet::MoveColumns
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

rlewis

Canada
253 Posts

Posted - 12/20/2004 :  12:20:33 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version: Origin-Pro 7.5-SR5 [7.5870(B870)]
Operating System:Win-XP

The code snippet ..

if(Wks1.MoveColumns(2,2,MOVE_COL_TO_FIRST)==true)
{
// do something
}


causes the following compiler error
:Error, Member function Worksheet::MoveColumns not defined or does not have matching prototype.

Is there an easy fix/work-around for this ??

cpyang

USA
1406 Posts

Posted - 12/20/2004 :  6:41:47 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Those are Origin8 functions, if you look at wksheet.h for that function, you will see that it is inside the

#ifdef _OC_VER >= 0x0800

block.

CP


Go to Top of Page

rlewis

Canada
253 Posts

Posted - 12/20/2004 :  7:23:12 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I missed that .....

However Worksheet::MoveCols() is listed in among Programming Help documentation for Origin 7.5-SR5 ... that's how I found it ....
Go to Top of Page

ftalbot

France
Posts

Posted - 05/25/2005 :  11:02:51 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,
I had the same problem as "rlewis" with that command:
it definitely appears in Origin 7.5 SR5 help!!
However, I am not sure I understood your conclusions.
OK, it is an Origin 8 function but, practically, what is the correct function??
Is there one?
There must be a way to do that, right?

Francis.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000