D
David
Hi,
Apologies for the title, but I am not sure what to call it or even how to
search google for it.
I want to set up a system, like so...
PageClass MyPage = new PageClass();
MyPage.WriteText = "Dave is trying to program";
MyPage.WriteText = "Dave is writing a second line";
MyPage.Tables.Add(2, 2);
MyPage.Tables.Row[0][0].WriteText = "Add something into the 1st row, 1st
column of the table I have defined";
MyPage.Tables.Row[0][1].WriteText = "Add text in the next column
I can see that the initial WriteText is just a function within the class
PageClass. However, I haven't got a clue how to do the Tables part.
In an earlier post, I thought it would be a class within a class, but
seemingly not. How do I tell PageClass that it has something called Tables,
then how do I tell Tables that it has other objects such as .Add or .Row?
What would you call what I am trying to achieve?
All help is appreciated.
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
Apologies for the title, but I am not sure what to call it or even how to
search google for it.
I want to set up a system, like so...
PageClass MyPage = new PageClass();
MyPage.WriteText = "Dave is trying to program";
MyPage.WriteText = "Dave is writing a second line";
MyPage.Tables.Add(2, 2);
MyPage.Tables.Row[0][0].WriteText = "Add something into the 1st row, 1st
column of the table I have defined";
MyPage.Tables.Row[0][1].WriteText = "Add text in the next column
I can see that the initial WriteText is just a function within the class
PageClass. However, I haven't got a clue how to do the Tables part.
In an earlier post, I thought it would be a class within a class, but
seemingly not. How do I tell PageClass that it has something called Tables,
then how do I tell Tables that it has other objects such as .Add or .Row?
What would you call what I am trying to achieve?
All help is appreciated.
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available