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
 SetLabel for a Page
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

jhuntnz

New Zealand
Posts

Posted - 11/25/2003 :  8:24:25 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Okay - I'm must be doing something dumb. Please somebody elighten this poor fella how you go about setting the label of a WorksheetPage (ie what is displayed on the window) seperate from the name. I can see that SetLabel works for setting the column label but how do u set it the page (it doesn't seem to have a member SetLabel) - I'm sure it must be easy or I'm missing something.

Thanks in advance.
Jonny

cpyang

USA
1406 Posts

Posted - 11/25/2003 :  8:47:52 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
It seems the OriginC documentation is not able to pick up comments from class properties, so you might need to look up page.h in the system folder.


WorksheetPage wp;
if( wp.Create(NULL) )
{
wp.Label = "My Label";
wp.TitleShow = WIN_TITLE_SHOW_LABEL;
}





CP


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