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
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Objects on Layout page

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
blt2si Posted - 02/27/2003 : 07:35:42 AM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000