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
 Objects on Layout 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

blt2si

Germany
37 Posts

Posted - 02/27/2003 :  07:35:42 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi All,

I hope you are well. I have construct a interface to modify .txt files into an appropiate format(spreadsheet). I want to display the headings and other important information form these files I have selected on the interface (layout page).

For this I was thinking of using a couple of single-column multi-row tables derived from Dataobject class and declared in the header file WORKSHEET.H. I was hoping to place data into each row via the following code:
"%M" is the argument used
"DatTxt" is the name given to the column
"V1$" would refer to row one


LT_set_str("%M",dataName); string cellText;

if (j==0)
{
LT_execute("DatTxt.V1$=%M;"); //heading information
Worksheet Data1(dataName);
Data1.GetCell(4,6, cellText); LT_set_str("%M",cellText); LT_execute("DatAufg.V1$=%M;");

Question:
How do you make the column exactly cos I am having trouble. I do not know how to create the column with the required number of rows and heading? I have an example with me but I can not open the properties. Is this code correct, or would there be a better way?

Thanks

Blank
  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