Forums

This topic is locked

MMParameterList

Posted 10 Dec 2002 12:57:03
1
has voted
10 Dec 2002 12:57:03 mark lowe posted:
Hello there,

After mastering the HTTP and File read/write and Tree controles I thought this one would be a doddle ... but how easily you can be fooled !

I am currently trying to get my brain around the way the <select type="mmparameterlist"> works, namely adding/removing rows and protecting columns from input.

Does anyone have any idea how to use the control, as it would be a shame to have to develop my own classes using list boxes and input boxes.

Hope anyone out there can help ....

Thanks ... Mark Lowe
FastQuest Ltd.

Replies

Replied 31 Jul 2004 00:46:07
31 Jul 2004 00:46:07 Chris Charlton replied:
Ever find a decent reference? online or book?
Replied 26 Aug 2008 04:05:49
26 Aug 2008 04:05:49 sleep ilya1113 replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Ever find a decent reference? online or book?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

So it's taken me months to figure this out, but here's my awesome program:

Javascript:
&lt;SCRIPT language="javascript" src="../Shared/MM/Scripts/Class/GridControlClass.js"&gt;

//---------------------------
function LoadList()
{
var GridList = new GridControl("ParamList";
var testlist = new Array(1);
testlist[0]= new Array(1);
testlist[1] = new Array(1);
testlist[0][0] = "hello 00";
testlist[0][1] = "hello 01";
testlist[1][0] = "hello 10";
testlist[1][1] = "hello 11";
GridList.setContents(testlist);
//GridList.append('Hello,hi');
}
&lt;/script&gt;

HTML code:

&lt;select type="mmparameterlist" name="ParamList" columns="URLs,Report Name "style="width:400px" size="6" &gt;
&lt;/select&gt;


Take that Dreamweaver/Adobe...your documenatation is awesome except for this one really cool tool!

Replied 26 Aug 2008 17:32:53
26 Aug 2008 17:32:53 Chris Charlton replied:
Don't give the docs too much credit. I'd recommend using a documentation tool (NaturalDocs or similar) to run against a Dreamweaver configuration folder to see all the JS files that would popup and have functions/comments we may have passed up.

For those looking for DW docs, then links to the livedocs (online docs) the PDFs are available here - www.adobe.com/support/documentation/en/dreamweaver/ .

~ ~ ~ ~ ~ ~ ~
Chris Charlton <i>- DMXzone Manager</i>
<font size=1>[ PHP | SQL | XHTML/CSS | XML | ActionScript | MXML | Web Accessibility | MX Extensibility ]</font id=size1>

Reply to this topic