| RE: mdx.dll > listview questionNovember 29 2003 at 11:51 AM No score for this post | MAN (no login) from IP address 211.28.96.69 |
Response to mdx.dll > listview question |
|
Ok this isnt the easiest quiestion for me to answer, cos I dont use MDX enough. BUT if you read the help file, you will know you need to use the output page.
alias mdx.page {
var %dname, %did
if ($0 = 1) {
set %dname $dname
set %did $1
}
else {
set %dname $1
set %did $2
}
did -i %dname %did 1 page $prop
return $gettok($did(%dname, %did, 1), 3-, 32)
}
Thats straight from the Help file. send it $mdx.page($dname, $did).pageName (the page names are in the help file for listview im not putting them here).
Now your question was to find out what was selected.
Guess what... all you need to use is $did().sel (surprised?) now its not all that simple, you just gotta know that line 2 is the top line, 3 the second and so on.
ALso in the help file it says, 'Any lines that are checked off will be represented as a negative value in $did().sel'
I hope by this You now know MORE to what you asked... and will feel embarresed about asking that question and read the help file. | |
| | Responses |
|
|