Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Todos os parâmetros são recebidos na User Function via PARAMIXB, conforme consta no documento: Execblock / Customização.

08. EXEMPLO

...

languagecpp
titleExemplo
linenumberstrue
collapsetrue

...

------

#INCLUDE "PROTHEUS.CH"

...

User

...

Function

...

OM200OK()

...


Local

...

lRet

...

:=

...

.T.

...


Local

...

aPedido

...

:=

...

ParamIxb[1]

...

If

...

SubStr(Time(),

...

1,

...

2)

...

>=

...

'14'

...


         MsgInfo ('Pedido

...

'

...

+

...

aPedido[1][5]

...

+

...

'

...

do

...

cliente

...

'

...

+ALLTRIM(

...

aPedido[1][8]

...

)

...

+

...

'

...

não

...

pode

...

ser

...

carregado

...

após

...

14h.',

...

'PE

...

OMS2000K'

...

)
         lRet :=

...

.F.

...


EndIf

...

Return

...

lRet

------


Templatedocumentos


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;
}

.aui-tabs.horizontal-tabs>.tabs-menu>.menu-item.active-tab a::after { 
	background: #FF9900; !important 
}

.menu-item.active-tab { 
	border-bottom: none !important; 
}

</style>