DataWindow :

- gestione zoccoli.
This commit is contained in:
SaraP
2025-03-27 14:33:32 +01:00
parent bcbb7e2e5f
commit 7c859b000b
4 changed files with 231 additions and 99 deletions
+2 -2
View File
@@ -584,12 +584,12 @@ end
---------------------------------- BOTTOMRAIL ------------------------------------
----------------------------------------------------------------------------------
-- funzione che aggiunge uno zoccolo
function WinCreate.AddBottomRail( nAreaId)
function WinCreate.AddBottomRail( nAreaId, nNbr)
local nAreaType = EgtGetInfo( nAreaId, WIN_AREATYPE, 'i')
if nAreaType == WIN_AREATYPES.FRAME then
-- recupero l'outline bottom
local nBaseOutlineLayerId = EgtGetFirstNameInGroup( nAreaId, WIN_AREAOUTLINE)
EgtSetInfo( nBaseOutlineLayerId, WIN_BOTTOMRAIL, 1)
EgtSetInfo( nBaseOutlineLayerId, WIN_BOTTOMRAIL, nNbr)
end
end