- attivata funziona che imposta path profilo
- cambiata funzione visibilita' ferramenta che riceve un boolean
This commit is contained in:
@@ -64,11 +64,11 @@ _G.SetProfilePath = SetProfilePath
|
||||
----------------------------------------------------------------------------------
|
||||
local function WinCreate_ImportProfile()
|
||||
_G.sProfile = WDG.PROFILE
|
||||
WinCreate.ImportProfile( WDG.PROFILE)
|
||||
--WinCreate.ImportProfile( WDG.PROFILE)
|
||||
-- TODO da decommentare e sostituire alla riga sopra quando la modifica è nel programma
|
||||
-- if _G.sProfilePath then
|
||||
-- WinCreate.ImportProfile( _G.sProfilePath .. '\\' .. WDG.PROFILE .. '.nge')
|
||||
-- end
|
||||
if _G.sProfilePath then
|
||||
WinCreate.ImportProfile( _G.sProfilePath .. '\\' .. WDG.PROFILE .. '.nge')
|
||||
end
|
||||
end
|
||||
_G.WinCreate_ImportProfile = WinCreate_ImportProfile
|
||||
|
||||
@@ -235,7 +235,7 @@ _G.WinGetImage = WinGetImage
|
||||
----------------------------------------------------------------------------------
|
||||
local function WinSetAuxGrpStatus()
|
||||
-- recupero il gruppo aux della ferramenta e accessori e assegno stato
|
||||
local nAuxGrp = EgtGetFistNameInGroup( GDB_ID.ROOT, WIN_AUX) or GDB_ID.NULL
|
||||
EgtSetStatus( nAuxGrp, WDG.AUXSTATUS)
|
||||
local nAuxGrp = EgtGetFirstNameInGroup( GDB_ID.ROOT, WIN_AUX) or GDB_ID.NULL
|
||||
EgtSetStatus( nAuxGrp, EgtIf( WDG.AUXSTATUS, GDB_ST.ON, GDB_ST.OFF))
|
||||
end
|
||||
_G.WinSetAuxGrpStatus = WinSetAuxGrpStatus
|
||||
|
||||
Reference in New Issue
Block a user