elements!
so
document.formname.elements["elementname"].value
*or*
document.forms["formname"].elements["elementname"].value
*for it to work in Netscape!
so:
document.forms["my_form"].elements["my_list"].value
you can access all the controls...
The way I see it, you have 2 options. One is to inherit the tListView and change the MouseClick routine, or secondly, more simply... just
private
{ Private declarations }
// Add a private declaration for a global var:
strSelectedItems: string;
...
// add a listview enter...
no worries... go for the second suggestion - put a semi colon in - I always overcomplicate everything!! - listen to tleish. (and blah was just because I couldn't be bothered to type in the parameters you were using). Cheers.
Just create another function called something like "validateAll" and in it, just have the 2 calls and call this new function from the OnSubmit.
So
function validateAll(blah...) {
return (validateCheckBoxes(blah,blah) && checkData());
}
Yeah? and...
lately I get an access violation at bordbk50.dll file, which is relating to the Delphi 5 debugger. It occurs when I turn the debugger on and off without closing Delphi down.
I tried many approaches to solve this error but none has succeded so far.
I re-installed Delphi 5 along with the...
Because they are the application (a Delphi ISPAI app as it happens) run in 2 instances of the browser, so the user runs it in 2 seperate browser instances selects some data and a window pops up with it, etc. etc. So app 1 pops up with the same window name as the other app and so the window name...
Is it possible to get a unique ID which will identify the browser instance the user is running uniquely. I have a situation where we need to support a user running several instances of a browser on a single machine so they can compare values from one to the other and because this requirement...
why not set the action to "JavaScript:checkform();" and at the end of the checkform function where you are currently returning true, do this instead: (or something simular)
document.mailform.action = "mailpromo.asp";
document.mailform.submit();
this is the way I do it...
The key lies in the name of the window, if you call your windows different names, they appear as seperate instances. So instead of calling them both "my_window" call them "window1" and "window2" etc...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.