Opzione ReadOnly gestita da chiave di protezione
This commit is contained in:
@@ -219,7 +219,9 @@ Friend Module OptionModule
|
||||
End If
|
||||
|
||||
' verifico se il programma è in modalità di sola lettura DDF
|
||||
If GetMainPrivateProfileInt(S_GENERAL, "ReadOnly", 0) <> 0 Then
|
||||
If (IniFile.m_nKeyOptions And KEY_OPT.READ_ONLY) <> 0 Then
|
||||
OptionModule.ReadOnlyDDF = True
|
||||
ElseIf GetMainPrivateProfileInt(S_GENERAL, "ReadOnly", 0) <> 0 Then
|
||||
OptionModule.ReadOnlyDDF = True
|
||||
Else
|
||||
OptionModule.ReadOnlyDDF = False
|
||||
|
||||
Reference in New Issue
Block a user