... StrToHex( <c> )
#xtranslate hb_AScan( [<x,...>] ) => AScan( <x> )
#xtranslate hb_RAScan( [<x,...>] ) => RAScan( <x> )
#xtranslate hb_AIns( [<x,...>] ) => AIns( <x> )
#xtranslate hb_ADel( [<x,...>] ) => ADel( <x> )
#xtranslate hb_At( [<x,...>] ) => At( <x> )
#xtranslate hb_DateTime ...
Pesquisa resultou em 56 ocorrências: +AIns
Termo pesquisado: +ains
- 25 Mar 2025 15:06
- Fórum: [x]Harbour
- Tópico: PROBLEMAS AO CONVERTER HB_BASE64 UTF8 UTF-8
- Respostas: 14
- Exibições: 3270
- 29 Mai 2023 10:26
- Fórum: MiniGui
- Tópico: hmg extend com oop
- Respostas: 29
- Exibições: 7864
hmg extend com oop
... cName != "Mainwin"
RETURN Nil
ENDIF
aList := { ::cName }
oThis := Self
oThisAnt := oThis
DO WHILE ( oThis := oThis:oParent ) != Nil
hb_AIns( aList, 1, oThis:cName, .T. )
oThisAnt := oThis
ENDDO
DoMethod( hb_ArrayToParams( aList ), cName )
IF cName == "Activate"
::lCreated := .T ...
RETURN Nil
ENDIF
aList := { ::cName }
oThis := Self
oThisAnt := oThis
DO WHILE ( oThis := oThis:oParent ) != Nil
hb_AIns( aList, 1, oThis:cName, .T. )
oThisAnt := oThis
ENDDO
DoMethod( hb_ArrayToParams( aList ), cName )
IF cName == "Activate"
::lCreated := .T ...
- 29 Mai 2023 09:28
- Fórum: MiniGui
- Tópico: hmg extend com oop
- Respostas: 29
- Exibições: 7864
hmg extend com oop
... LOCAL aList, oThis, oThisAnt
aList := { ::cName }
oThis := Self
oThisAnt := oThis
DO WHILE ( oThis := oThis:oParent ) != Nil
hb_AIns( aList, 1, oThis:cName, .T. )
oThisAnt := oThis
ENDDO
IF oThisAnt:lCreated
DoMethod( hb_ArrayToParams( aList ), cName )
ENDIF
RETURN Nil ...
aList := { ::cName }
oThis := Self
oThisAnt := oThis
DO WHILE ( oThis := oThis:oParent ) != Nil
hb_AIns( aList, 1, oThis:cName, .T. )
oThisAnt := oThis
ENDDO
IF oThisAnt:lCreated
DoMethod( hb_ArrayToParams( aList ), cName )
ENDIF
RETURN Nil ...
- 29 Mai 2023 08:25
- Fórum: MiniGui
- Tópico: hmg extend com oop
- Respostas: 29
- Exibições: 7864
hmg extend com oop
Olá Quintas;
Use hb_AIns( <aArray>, [<nPos>], [<xValue>], [<lAutoSize>] ) → aArray
Quanto ao assunto não depender do fonte HMG; é justamente o oposto do que penso, pois posso usar o designer para posicionar os objetos rapidamente sem interferir em absolutamente nada e quanto a mudanças no núcleo da ...
Use hb_AIns( <aArray>, [<nPos>], [<xValue>], [<lAutoSize>] ) → aArray
Quanto ao assunto não depender do fonte HMG; é justamente o oposto do que penso, pois posso usar o designer para posicionar os objetos rapidamente sem interferir em absolutamente nada e quanto a mudanças no núcleo da ...
- 28 Mai 2023 22:13
- Fórum: MiniGui
- Tópico: hmg extend com oop
- Respostas: 29
- Exibições: 7864
hmg extend com oop
Parece piada, mas apanhando com coisa básica.
Aquele AIns()..... não deu certo.
AIns() insere, mas ele não altera o tamanho do array, então o array ficava sempre só com um elemento.
Aquele AIns()..... não deu certo.
AIns() insere, mas ele não altera o tamanho do array, então o array ficava sempre só com um elemento.
- 28 Mai 2023 17:42
- Fórum: MiniGui
- Tópico: hmg extend com oop
- Respostas: 29
- Exibições: 7864
hmg extend com oop
... METHOD DoMethod( cName ) CLASS WINDOWClass
LOCAL aList, oThis
aList := { ::cName }
oThis := Self
DO WHILE ( oThis := oThis:oParent ) != Nil
AIns( aList, 1 )
aList[ 1 ] := oThis:cName
ENDDO
DoMethod( hb_ArrayToParams( aList ), cName )
RETURN Nil
METHOD GetProperty( cName ) CLASS ...
LOCAL aList, oThis
aList := { ::cName }
oThis := Self
DO WHILE ( oThis := oThis:oParent ) != Nil
AIns( aList, 1 )
aList[ 1 ] := oThis:cName
ENDDO
DoMethod( hb_ArrayToParams( aList ), cName )
RETURN Nil
METHOD GetProperty( cName ) CLASS ...
- 28 Mai 2023 17:28
- Fórum: MiniGui
- Tópico: hmg extend com oop
- Respostas: 29
- Exibições: 7864
hmg extend com oop
... METHOD DoMethod( cName ) CLASS WINDOWClass
LOCAL aList
aList := { ::cName }
oThis := Self
DO WHILE ( oThis := oThis:oParent ) != Nil
AIns( aList, 1 )
aList[ 1 ] := oThis:oParent:cName
ENDDO
DoMethod( hb_ArrayToParams( aList ), cName )
RETURN Nil
Pra usar tipo: DoMethod( "form1 ...
LOCAL aList
aList := { ::cName }
oThis := Self
DO WHILE ( oThis := oThis:oParent ) != Nil
AIns( aList, 1 )
aList[ 1 ] := oThis:oParent:cName
ENDDO
DoMethod( hb_ArrayToParams( aList ), cName )
RETURN Nil
Pra usar tipo: DoMethod( "form1 ...
- 02 Nov 2021 11:47
- Fórum: [x]Harbour
- Tópico: Qual a última versão do Harbour 3.2?
- Respostas: 40
- Exibições: 8235
Qual a última versão do Harbour 3.2?
... StrToHex( <c> )
#xtranslate hb_AScan( [<x,...>] ) => AScan( <x> )
#xtranslate hb_RAScan( [<x,...>] ) => RAScan( <x> )
#xtranslate hb_AIns( [<x,...>] ) => AIns( <x> )
#xtranslate hb_ADel( [<x,...>] ) => ADel( <x> )
#xtranslate hb_At( [<x,...>] ) => At( <x> )
#xtranslate hb_DateTime ...
#xtranslate hb_AScan( [<x,...>] ) => AScan( <x> )
#xtranslate hb_RAScan( [<x,...>] ) => RAScan( <x> )
#xtranslate hb_AIns( [<x,...>] ) => AIns( <x> )
#xtranslate hb_ADel( [<x,...>] ) => ADel( <x> )
#xtranslate hb_At( [<x,...>] ) => At( <x> )
#xtranslate hb_DateTime ...
- 22 Set 2020 13:50
- Fórum: [x]Harbour
- Tópico: Classe obtendo nome do método/propriedade faltante
- Respostas: 2
- Exibições: 899
Classe obtendo nome do método/propriedade faltante
... aParams := hb_aParams()
if "(" $ aParams[ 1 ]
aParams[ 1 ] = StrTran( aParams[ 1 ], "()", "" )
endif
ASize( aParams, Len( aParams ) + 1 )
AIns( aParams, 1 )
aParams[ 1 ] = Self
return hb_execFromArray( aParams )
#endif
//------------------------------------------------//
METHOD ...
if "(" $ aParams[ 1 ]
aParams[ 1 ] = StrTran( aParams[ 1 ], "()", "" )
endif
ASize( aParams, Len( aParams ) + 1 )
AIns( aParams, 1 )
aParams[ 1 ] = Self
return hb_execFromArray( aParams )
#endif
//------------------------------------------------//
METHOD ...
- 17 Set 2020 12:03
- Fórum: Contribuições, Dicas e Tutoriais
- Tópico: Adicionando uma coluna em um vetor bidimensional
- Respostas: 7
- Exibições: 1912
Adicionando uma coluna em um vetor bidimensional
... L1, L2, L3 }
Quer adicionar um elemento em cada uma das listas
AEval vai processar cada uma das listas
AEval( aPrincipal, { | e | AAdd( e, 4 ) } )
É isso?
Ou vai adicionar uma lista nova?
AAdd( aPrincipal, { 1, 2, 3 } )
O AIns() é pra INSERIR em outra posição que não seja a última
Quer adicionar um elemento em cada uma das listas
AEval vai processar cada uma das listas
AEval( aPrincipal, { | e | AAdd( e, 4 ) } )
É isso?
Ou vai adicionar uma lista nova?
AAdd( aPrincipal, { 1, 2, 3 } )
O AIns() é pra INSERIR em outra posição que não seja a última
- 17 Set 2020 11:28
- Fórum: Contribuições, Dicas e Tutoriais
- Tópico: Adicionando uma coluna em um vetor bidimensional
- Respostas: 7
- Exibições: 1912
Adicionando uma coluna em um vetor bidimensional
Usando aEval e Hb_aIns, usado para adicionar em vetor bidimensional
Só pra não perder a dica.
Código: Selecionar todos
aAdd( aVetor, {"1", "2", "3"})
aEval( aVetor, {|e,n| Hb_aIns( aVetor, n, { e[1], e[2], e[3], "4" } ) } )
- 18 Ago 2020 17:54
- Fórum: Interface com Clientes
- Tópico: MediaMonkey / Aplicativos
- Respostas: 18
- Exibições: 10652
MediaMonkey / Aplicativos
... 20, 80, "Filter" )
DO WHILE .t.
acTxtActive := ::FilterOptionsAsArray( .f. )
aSize( acTxtActive, Len( acTxtActive ) + 4 )
FOR nCont = 1 TO 4
AIns( acTxtActive, 1 )
NEXT
acTxtActive[ 1 ] := "Select Fields"
acTxtActive[ 2 ] := "Show Data"
acTxtActive[ 3 ] := "Change Filter"
acTxtActive[ 4 ...
DO WHILE .t.
acTxtActive := ::FilterOptionsAsArray( .f. )
aSize( acTxtActive, Len( acTxtActive ) + 4 )
FOR nCont = 1 TO 4
AIns( acTxtActive, 1 )
NEXT
acTxtActive[ 1 ] := "Select Fields"
acTxtActive[ 2 ] := "Show Data"
acTxtActive[ 3 ] := "Change Filter"
acTxtActive[ 4 ...
- 17 Ago 2020 16:52
- Fórum: Interface com Clientes
- Tópico: MediaMonkey / Aplicativos
- Respostas: 18
- Exibições: 10652
MediaMonkey / Aplicativos
... 20, 80, "Filter" )
DO WHILE .t.
acTxtActive := ::FilterOptionsAsArray( .f. )
aSize( acTxtActive, Len( acTxtActive ) + 4 )
FOR nCont = 1 TO 4
AIns( acTxtActive, 1 )
NEXT
acTxtActive[ 1 ] := "Select Fields"
acTxtActive[ 2 ] := "Finish Filter"
acTxtActive[ 3 ] := "Change Filter"
acTxtActive ...
DO WHILE .t.
acTxtActive := ::FilterOptionsAsArray( .f. )
aSize( acTxtActive, Len( acTxtActive ) + 4 )
FOR nCont = 1 TO 4
AIns( acTxtActive, 1 )
NEXT
acTxtActive[ 1 ] := "Select Fields"
acTxtActive[ 2 ] := "Finish Filter"
acTxtActive[ 3 ] := "Change Filter"
acTxtActive ...
- 21 Mai 2020 21:40
- Fórum: [x]Harbour
- Tópico: Migrar do Clipper 5.2e para Harbour
- Respostas: 1
- Exibições: 1148
Migrar do Clipper 5.2e para Harbour
... LIB clipper
BEGINAREA
# C/ASM Modules from CLIPPER.LIB
MOD accept, acopy, adel, ains, appexit, appinit, atail, cmem, dbcmd0
MOD dbcmd1, dbcmd2, dbcmd3, dbcmd4, dbcmd5, dbcreate, dbgapi, dbgshado
MOD dbnubs, dbstruct, delimdyn ...
BEGINAREA
# C/ASM Modules from CLIPPER.LIB
MOD accept, acopy, adel, ains, appexit, appinit, atail, cmem, dbcmd0
MOD dbcmd1, dbcmd2, dbcmd3, dbcmd4, dbcmd5, dbcreate, dbgapi, dbgshado
MOD dbnubs, dbstruct, delimdyn ...
- 05 Abr 2017 10:50
- Fórum: Legislação Fiscal e Tributária
- Tópico: ACBRMONITORPLUS TCP/IP
- Respostas: 26
- Exibições: 27334
ACBRMONITORPLUS TCP/IP
... pn>)]
* ADEL_VET -> Apaga um elemento do vetor e reajusta o seu tamanho
#DEFINE ADEL_VET(VET,NUM) adel(VET,NUM) ; asize(VET,len(VET) - 1)
* AINS_VET -> Insere in elemento em um vetor
#define AINS_VET(vetor,n_elem,conteudo) ;
iif(n_elem > len(vetor),aadd(vetor,conteudo),vetor[n_elem ...
* ADEL_VET -> Apaga um elemento do vetor e reajusta o seu tamanho
#DEFINE ADEL_VET(VET,NUM) adel(VET,NUM) ; asize(VET,len(VET) - 1)
* AINS_VET -> Insere in elemento em um vetor
#define AINS_VET(vetor,n_elem,conteudo) ;
iif(n_elem > len(vetor),aadd(vetor,conteudo),vetor[n_elem ...