<<<< Disabling the ControlBox, MinButton and MaxButton >>>> 
Author Message
 <<<< Disabling the ControlBox, MinButton and MaxButton >>>>

Hi,

is it possible to disable the minimize- ,the maximize- and the close button
on the navigator window with VBScript ? I know it's possible when you create
a form in Visual Basic...

I tried the following code (implemented in my HTML document header), with no
luck:

    <script language="vbscript">
        ControlBox = False;
        MinButton = False;
        MaxButton = False;
    </script>

Regards,
Dave VD



Sat, 18 Jan 2003 03:00:00 GMT  
 <<<< Disabling the ControlBox, MinButton and MaxButton >>>>

No, that part of the GUI belongs to the browser and the user, not to the document or the script it
contains.

You do have (limited) control over the GUI elements of windows you open via code (e.g., via
window.open(), showModalDialog(), showModelessDialog(), etc.)...

--
Michael Harris
MVP Scripting

Hi,

is it possible to disable the minimize- ,the maximize- and the close button
on the navigator window with vbscript ? I know it's possible when you create
a form in Visual Basic...

I tried the following code (implemented in my HTML document header), with no
luck:

    <script language="vbscript">
        ControlBox = False;
        MinButton = False;
        MaxButton = False;
    </script>

Regards,
Dave VD



Sat, 18 Jan 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. <<<<<<<<ComboBox>>>>>>>>>>>>

2. HELP >>>>>>WIN API <<<<<<<<<<

3. --------<<<<<<MONEY>>>>>>--------- id 9543

4. help me out please!!!!<<<<<<<<<<<<<<<<<<<<<<<thanks>>>>>>>>>>>>>>>>>>>>>>>>

5. <><><>HELP<><><> PCMCIA Motorola Montana 33.6

6. >>>> WAV file GRAPH <<<<<<<

7. >>>>HELP ME WITH DATEVALUE IN UK FORMAT<<<<<<<

8. VB5<->RDO2<->ODBC<->ORACLE Procedure Problem

9. <<<Cneck Box>>>

10. <<<Gif Files>>>

11. <<<CD ROM>>>

12. <<<Win32Api.TXT>>>

 

 
Powered by phpBB® Forum Software