Quantcast
Viewing all articles
Browse latest Browse all 15804

Form.ControlBox property

Hi,

I'm working on Jingle Palette source code (https://github.com/nagyrobi/Jingle_Palette) so I did several fixed and added some new features.

I added a "Fullscreen" checkbox in Settings form , it's value is stored in jp.ini file.

I would set the ControlBox property at software

On "frmMain" Form_Load, I added :
Code:

        If FullScreen Then
            'MsgBox "FS ON"
            'frmMain.ControlBox = False
            Me.ControlBox = False
        Else
            'MsgBox "FS OFF"
            'frmMain.ControlBox = True
            Me.ControlBox = True
        End If

But I get an error (in french, but I found the same message in english )
Quote:

Compile error :

Function or interface marked as restricted, or the function uses an Automation type not supported in Visual Basic
With the OK button, and that's all.

How can I set this property on software launch ?

Thanks and merry X-Max :D

Couin

Viewing all articles
Browse latest Browse all 15804

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>