| 1 | <html> |
|---|
| 2 | <head> |
|---|
| 3 | <title>AlexTableScript: mShowTable</title> |
|---|
| 4 | </head> |
|---|
| 5 | <body bgcolor="#FFFFFF"> |
|---|
| 6 | <font face="Arial" size=4>mShowTable<br> |
|---|
| 7 | </font><font color="#C80000">-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br> |
|---|
| 8 | -- xxxxxxxxxxxxxxxxxx Invoke the table (STARTING POINT)<br> |
|---|
| 9 | -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<p> |
|---|
| 10 | -- invoke the table by calling the following handler:<br> |
|---|
| 11 | -- <itemlist> and <tableformatlist> specify the values and properties of the table. these lists can be composed on the fly<br> |
|---|
| 12 | -- or the values can be stored in a container (see my script "sampleTableList" for details)<p> |
|---|
| 13 | <br> |
|---|
| 14 | -- if you want to compose the table only without to show it right away => prepare or preprocess it, then set the onlyPrepare flag<br> |
|---|
| 15 | -- since it can take some time to compose huge tables, especially if the text must be renderend, instead of images<br> |
|---|
| 16 | -- or if you need to know the dimension of the table in case of setting the #adjustToFit property to #none<br> |
|---|
| 17 | -- (which may change the dimension of the displayrect according to the contents), before displaying the table<p> |
|---|
| 18 | -- optional you can specify a callbackhandler to get an event as soon as the table is prepared,<br> |
|---|
| 19 | -- if left out, the mTablePrepared() handler of this script receives the event and can be customized to fit your needs<p> |
|---|
| 20 | -- if you have specified a callbackhandler you can also specify an instance which receives the call<br> |
|---|
| 21 | -- if left out, the callbackhandler is called on moviescript level with 'do'<br> |
|---|
| 22 | -- so if you specify a custom callbackhandler without callbackInstance, make sure the handler does exist to avoid script errors<br> |
|---|
| 23 | -- as soon as callbackInstance is specified, a missing callBackHandler won't cause errors, but just fails silently<p> |
|---|
| 24 | </font><font color="#000000">mShowTable</font><font color="#0000C8"> me</font><font color="#000000">, itemlist, tableformatlist, tabname, onlyPrepare, callBackHandler, callbackInstance</font></body> |
|---|
| 25 | </html> |
|---|