var fDesc=new Array(); fDesc[0] = "This program generates code to display a Message Box within Visual Basic 4. It may also work within other versions of Visual Basic, I don't know. It features WYSIWYG creation, an intuitive interface, optional comment line as a reminder of the values returned by the message box, and the returned value can be assigned to any variable from the interface. The program offers a preview of the message box, and then allows the code to be copied into Visual Basic.

This program should be simple to use as it works on a WYSIWYG basis. Inside the main window is an editable preview of a message box. Simply click on the bit you wish to change, and change it. The icon can be changed by using the scroll bar to the right of it, the title text is editable in the normal way, as is the message text. The message text is multi-line, so to insert a line break, press Shift Enter. If there are no line breaks Windows will automatically wrap the text depending on the area of the screen. To change the buttons simply click on them. If a button is on the message box, and is clicked, it will be removed. If it is not on the message box it will be in a row beneath it, and when clicked will be placed onto the box. To set the default button click the option box beneath the desired button. This button will have the focus when the message box is displayed, and will be pressed if the user presses Enter or Space."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }