Search found 176 matches: aarraydata

Return to advanced search

Re: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna

... devolviendo la expresión Prueba a hacer esto para saber el tipo de valor que hay: olbx101c:acols[4]:bEditWhen:= { || MsgInfo( ValType( olbx101c:aArrayData[olbx101c:nArrayAt][5] ) ), olbx101c:aArrayData[olbx101c:nArrayAt][5] == "1" } Hola Antonio, Gracias por contestar,,,, implemente ...
by elmoiquique
Thu Mar 28, 2024 9:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna
Replies: 10
Views: 2239

Re: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna

... devolviendo la expresión Prueba a hacer esto para saber el tipo de valor que hay: olbx101c:acols[4]:bEditWhen:= { || MsgInfo( ValType( olbx101c:aArrayData[olbx101c:nArrayAt][5] ) ), olbx101c:aArrayData[olbx101c:nArrayAt][5] == "1" }
by Antonio Linares
Thu Mar 28, 2024 8:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna
Replies: 10
Views: 2239

Re: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna

Hola Antonio

Una consulta,,, como desabilito un EDIT_BUTTON dentro de un xbrowse, dependiendo de la condicion

olbx101c:acols[4]:bEditWhen:= { || olbx101c:aArrayData[olbx101c:nArrayAt][5]="1" }

lo hago de esta manera pero no me funciona, sigue estando habilitado

Gracias
by elmoiquique
Thu Mar 28, 2024 4:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna
Replies: 10
Views: 2239

Re: To Nageswrao Del Objs on TscrollPanel

... := oBrw:aCols[ 2 ] oCol:bLDClickData := { || Erase_Items(oBrw,oPanel) } Function Erase_Items(oBrw,oPanel,aData,oDlg,oFontSmall) local nItem:= oBrw:aArrayData[ oBrw:nArrayAt ][2] oBrw:Delete() oBrw:Refresh() DeleteControl( oPanel, nItem ) return nil function DeleteControl( oPanel, nItem ) local ...
by Silvio.Falconi
Mon Mar 04, 2024 8:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 664

Re: xbrowse No existe el metodo: LREADONLY

... parametro oBrw a la funcion y le asigno el valor del array en SetArray por lo tanto no es necesario devolver el array modificado ni tampoco usar aArrayData ya que el method SetArray lo hace. De todas maneras la funcion GetUsuarios_FS84( aArray, oBrw ), trabaja bien (tambien habia probado retornando ...
by JoseAlvarez
Sun Mar 03, 2024 8:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse No existe el metodo: LREADONLY
Replies: 16
Views: 468

Re: xbrowse No existe el metodo: LREADONLY

... it possible to have simple reduced sample, which we can try at our end? Code: *** oBrw:SetArray( aArray) <------------ no volver a asignar oBrw:aArrayData = aArray <------------ actualiza datos y refresca oBrw:Refresh() This is what I suggest too.
by nageswaragunupudi
Sat Mar 02, 2024 2:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse No existe el metodo: LREADONLY
Replies: 16
Views: 468

Re: xbrowse No existe el metodo: LREADONLY

... parametro oBrw a la funcion y le asigno el valor del array en SetArray por lo tanto no es necesario devolver el array modificado ni tampoco usar aArrayData ya que el method SetArray lo hace. De todas maneras la funcion GetUsuarios_FS84( aArray, oBrw ), trabaja bien (tambien habia probado retornando ...
by albeiroval
Fri Mar 01, 2024 7:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse No existe el metodo: LREADONLY
Replies: 16
Views: 468

To Nageswrao Del Objs on TscrollPanel

... oCol := oBrw:aCols[ i ] oCol:bLDClickData := { || Erase_Items(oBrw,oPanel) } NEXT Function Erase_Items(oBrw,oPanel) local nItem:= oBrw:aArrayData[ oBrw:nArrayAt ][2] aDel(oBrw:aArraydata,nItem-1) // xbrowser oBrw:aArraydata oPanel:aControls[nItem]:destroy() oBrw:refresh() oPanel:refresh() ...
by Silvio.Falconi
Mon Feb 26, 2024 12:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 664

Re: Count xbrowse records

Silvio.Falconi wrote:perhaps

len(oBrw:aArrayData )

or

oBrw:nDataRows


Thank you!
by wartiaga
Fri Feb 23, 2024 4:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Count xbrowse records
Replies: 5
Views: 253

Re: Count xbrowse records

perhaps

len(oBrw:aArrayData )

or

oBrw:nDataRows
by Silvio.Falconi
Thu Feb 22, 2024 1:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Count xbrowse records
Replies: 5
Views: 253

Re: I'm not asking for the moon...

... using STRTRAN(). It is the solution here. Yes, do you test with STRTRAN ? run all ok ? sure ? IF nMode==2 //modify ntest1 := STRTRAN(str(oBrowse:aArraydata[nRecord][2]), ".", ",") ntest2 := STRTRAN(str(oBrowse:aArraydata[nRecord][3]), ".", ",") ntest3 := ...
by Silvio.Falconi
Fri Jan 19, 2024 10:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2149

Insert an record on array

... xbrowse. I need to insert a record between two rows the first field must be "codsep" field how can I do ? TO paste an record of oBrw:aArrayData I use an array aCopy where I save the row Copied (oBrw:aselected) and I use these commands oBrw:Lock()              For n=1 to Len(acopy)  ...
by Silvio.Falconi
Fri Jan 12, 2024 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Insert an record on array
Replies: 4
Views: 826

Re: SetArray xBrowser

oBrowser:aArrayData :=aArray
by JoseAlvarez
Tue Dec 12, 2023 3:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SetArray xBrowser
Replies: 5
Views: 514

SetArray xBrowser

... Browser like the xBrimag3.prg example, but built with Array. When searching the database, I build a new array, and then empty the array - oBrowser:aArrayData := {}, try to reload the array by giving a SetArray - oBrowser:SetArray( aArray ), and then renew obrowser - oBrowser: Refresh(). However, ...
by oliveiros junior
Tue Dec 12, 2023 3:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetArray xBrowser
Replies: 2
Views: 275

SetArray xBrowser

... como el ejemplo xBrimag3.prg, pero construido con Array. Cuando busco en la base de datos, construyo una nueva matriz y luego la vacío - oBrowser:aArrayData := {}, intento recargar la matriz dando un SetArray - oBrowser:SetArray( aArray), y luego renuevo el navegador - oBrowser: Refresh (). Sin ...
by oliveiros junior
Tue Dec 12, 2023 3:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SetArray xBrowser
Replies: 5
Views: 514
Next

Return to advanced search