Search found 416 matches: nat

Return to advanced search

Re: ejemplo mantenimiento dbf usando webview2

... //----------------------------------------------------------------------------// //function WebView2_OnEval( cJson, hWebView ) // // local nAt := AScan( aWebViews, { | o | o:hWebView == hWebView } ), nResult // // if nAt != 0 .and. ! Empty( aWebViews[ nAt ]:bOnEval ) // nResult = Eval( ...
by cpheraclio
Mon Oct 07, 2024 7:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ejemplo mantenimiento dbf usando webview2
Replies: 10
Views: 572

Re: Xbrowse and oBrw:RestoreState()

Sorry,
I just copy the command wrong. The right is:

ADD COLUMN TO XBROWSE oLbxBrw DATA {|| oLbxBrw:oDbf:Fields(cCampo):value } HEADER Rtrim(oVfa5:titulo) SIZE aFields[oBrw:nAt,3]*10
by vilian
Fri Aug 30, 2024 11:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse and oBrw:RestoreState()
Replies: 3
Views: 878

Re: Separar nombre y apellidos en una consulta mysql

... no es la solución definitiva, te sugiero le tires una mirada a la función SUBSTRIN_INDEX() o a la sunción SUBSTRING() apoyada por la función nAt() Digo que no es una solución definitiva porque el problema será cuando el nombre o apellido sea compuesto, por ejemplo Luis San Juan Pérez, Diego ...
by Armando
Mon Jun 24, 2024 7:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Separar nombre y apellidos en una consulta mysql
Replies: 15
Views: 1612

Re: At() and Rat() return the same value on a character string

Enrico cName :- "Amy Halady" What I expect nAt := at( " ", cName ) scans forward from left to right so starting with "Amy " so space is the 4th character nRat := rat( " ", cName ) scans backwards from right to ...
by Enrico Maria Giordano
Thu May 16, 2024 2:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: At() and Rat() return the same value on a character string
Replies: 4
Views: 522

Re: At() and Rat() return the same value on a character string

Enrico cName :- "Amy Halady" What I expect nAt := at( " ", cName ) scans forward from left to right so starting with "Amy " so space is the 4th character nRat := rat( " ", cName ) scans backwards from right to ...
by Rick Lipkin
Thu May 16, 2024 2:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: At() and Rat() return the same value on a character string
Replies: 4
Views: 522

Re: How to find out the IDs of controls and types?

Dear Jimmy,

nAt = AScan( ::aControls, { | oControl | oControl:hWnd == hChild } )
::aControls[ nAt ]
by Antonio Linares
Tue Jan 09, 2024 6:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find out the IDs of controls and types?
Replies: 16
Views: 2760

Re: copy a row of xbrowse

... ( IIF(Len(oBrw:aselected) >1,aClone:=Giverows(oBrw),; aCopy := aclone(oBrw:aRow)),; oBrw:SetFocus() ) Function Giverows(oBrw) local n,atmp:={},nAt For n= 1 to Len( oBrw:aselected) nAt := oBrw:aArrayData[ oBrw:aselected[n] ] aadd( aTmp, aclone(nat)) next return aTmp But then the paste is wrong
by Silvio.Falconi
Wed Dec 06, 2023 12:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 7744

Re: copy a row of xbrowse

... run ok oBrw:aSelected give number or numbers not the row oBrw:aRow is as ::aArrayData[ ::nArrayAt ] you can make For n= 1 to Len( oBrw:aselected) nAt := oBrw:aArrayData[ oBrw:aselected[n] ] aadd( acopy, aclone(nat)) next just an idea
by Silvio.Falconi
Wed Dec 06, 2023 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 7744

Re: copy a row of xbrowse

... IIF(Len(oBrw:aseleted) >1,Aclone:= Giverows (oBrw),aCopy := aclone(oBrw:aRow)),; oBrw:SetFocus() ) Function Giverows (oBrw) local n,uBook,nAt local aTmp:= {} For n = 1 to len(oBrw:aselected) uBook := Eval( oBrw:bBookMark ) nAt := Ascan( oBrw:aSelected, uBook ) aCopy:= aclone(oBrw:aArrayData[ ...
by Silvio.Falconi
Wed Dec 06, 2023 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 7744

Ayuda, busqueda incremental

... xbusco, obusco, oRS1 ), oBrw:recset := ors1 ) of odlgSTK REDEFINE combobox oOrden var xOrden items tOrden ID 212 on change ( xOrden := oOrden:nAt, CambioOrden( ors1 ,xorden), obusco:setfocus() ) OF odlgSTK REDEFINE XBROWSE oBrw ID 181 recset oRS1 OF oDlgSTK FIELDS ; iif ( ( oRS1:Fields( "disconti" ...
by jpcavagnaro
Wed Nov 22, 2023 11:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ayuda, busqueda incremental
Replies: 1
Views: 408

error TXBROWSE:CARGOS

... var xdomic ID 206 OF ofld1:aDialogs[ 1 ] REDEFINE COMBOBOX oAudit_ant var wAudit_Ant ITEMS Taudit_antf ; ON CHANGE ( xAudit_Ant := oAudit_ant:nAt, CargoAntInfo( xAudit_Ant, ofld1:aDialogs[ 1 ] ) ) ; ID 4001 OF ofld1:aDialogs[ 1 ] when len( Taudit_antf ) > 0 REDEFINE say oNaudit var xnaudit ...
by jpcavagnaro
Wed Aug 30, 2023 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error TXBROWSE:CARGOS
Replies: 3
Views: 521

combobox indices y datos ...

... esta forma tengo que almacenar en un array y despues en el boton de acceso a los datos que seleccione del combobox tengo que leer el array por un :nAt del combobox, lo que quisiera es no tener que hacer eso, directamente que cuando seleccione del combobox me devuelva la columna del "indice" ...
by goosfancito
Thu Jul 27, 2023 2:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: combobox indices y datos ...
Replies: 1
Views: 273

Ayuda por favor con folder y listbox

... var xdomic ID 206 OF ofld1:aDialogs[ 1 ] REDEFINE COMBOBOX oAudit_ant var wAudit_Ant ITEMS Taudit_antf ; ON CHANGE ( xAudit_Ant := oAudit_ant:nAt, CargoAntInfo( xAudit_Ant, ofld1:aDialogs[ 1 ] ) ) ; ID 4001 OF ofld1:aDialogs[ 1 ] when len( Taudit_antf ) > 0 ......... *------------------------------------------------------------------------------------------------------------- ...
by jpcavagnaro
Wed Mar 29, 2023 12:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ayuda por favor con folder y listbox
Replies: 1
Views: 286

Re: COMBOBOX WITH Sort

Perhaps, if you are using pellesC, you need to "remove" the SORT variable in the combobox as NO.

Maybe:
ON Change := cTipo_Cli[ oCbx:nAt ]

Regards, saludos.
by karinha
Fri Mar 24, 2023 2:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: COMBOBOX WITH Sort
Replies: 2
Views: 266

Re: delete identical records

... local nValore:= 6 local nTipo := 3 run ok For n= 1 to 90 For k= 1 to 90 For j= 1 to 90 nTotale := Calcolo_3_numeri(n,k,j,ntipo) If nTotale=nvalore nAt := AScan( aTmp, { |a| a[1] = k .and. a[2] = n .or. a[3] = j } ) If nAt == 0 aadd(aTmp,{n,k,j}) Endif Endif next next next I understood the error ...
by Silvio.Falconi
Wed Nov 02, 2022 10:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: delete identical records
Replies: 6
Views: 477
Next

Return to advanced search