input not being drawn
This may or may not be a problem with ActiveWidgets, but I dont know. If anyone can point me to my problem I'd appreciate it. What I am trying to do is create a simple login window. The first time I run the code below its displays fine. But after hiding the entire object box and then running the code again the txtPassword input box doesnt get drawn.
The function displayDialogBox is what is displaying the box. If that code is needed please let me know, but all I am doing is writing the string 'data' to a box and setting the display style to block.
The function displayDialogBox is what is displaying the box. If that code is needed please let me know, but all I am doing is writing the string 'data' to a box and setting the display style to block.
data = "<p>Please enter your username and password to login.</p>";
data += "<p><span class=\"txtLabel\">Username:</span><span id=\"txtUsername\"></span></p>";
data += "<p><span class=\"txtLabel\">Password:</span><span id=\"txtPassword\"></span></p>";
data += "<p class=\"pButton\"><span id=\"btnLogin\"></span></p>";
displayDialogBox(1, data, "Login", 300);
txtPassword.refresh();
txtUsername.refresh();
btnLogin.refresh();
txtUsername.focus();
txtPassword.setControlText("");
Aaron Todd
June 11,