Descrição
Essa função é responsável por verificar se o ambiente que está sendo utilizado é SmartERP.
Sintaxe
MPIsSmart → lRet
Retorno
lRet- Lógico (.T. ou .F.)
Exemplo
Bloco de código |
---|
#include "protheus.ch"
User Function MyTest()
If MPIsSmart()
Conout('Ambiente SmartERP')
EndIf
Return |
HTML |
---|
<style>
div.theme-default .ia-splitter #main {
margin-left: 0px;
}
.ia-fixed-sidebar, .ia-splitter-left {
display: none;
}
#main {
padding-left: 10px;
padding-right: 10px;
overflow-x: hidden;
}
.aui-header-primary .aui-nav, .aui-page-panel {
margin-left: 0px !important;
}
.aui-header-primary .aui-nav {
margin-left: 0px !important;
}
</style>
|