Search found 20 matches: narraycol

Return to advanced search

ERROR XBROWSE -EDIT_LISTBOX

... oBrw:aCols[3]:aEditListTxt := {"EFECTIVO", "TARJETA"} oCol:bOnPostEdit:= { |o,x,n| If( n != VK_ESCAPE, oBrw:aRow[o:nArrayCol] := x, ) } Elseif n == 4 oCol:nEditType := EDIT_GET oCol:bOnPostEdit:= { |o,x,n| If( n != VK_ESCAPE, oBrw:aRow[o:nArrayCol] := x, ) } Endif ...
by jbrita
Fri Feb 09, 2018 3:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR XBROWSE -EDIT_LISTBOX
Replies: 1
Views: 915

Ajuda com xbrowse

... } oCol := oBrw:AddCol() oCol:AddResource("CHECKON") oCol:AddResource("CHECKOFF") oCol:cHeader := "" oCol:nArrayCol := 1 oCol:nWidth := 20 oCol:bStrData := nil oCol := oBrw:AddCol() oCol:cHeader := "Nº BOLETO" oCol:nArrayCol := 2 oCol:nWidth := ...
by Wanderson
Thu Jul 21, 2016 12:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ajuda com xbrowse
Replies: 0
Views: 570

Re: xbrowse check and unckeck

... := .f. oCol:lBmpTransparent := .t. oCol:nHeadStrAlign := oCol:nDataBmpAlign := AL_CENTER oCol:cHeader := "" oCol:nWidth := 18 oCol:nArrayCol := 1
by Wanderson
Tue May 26, 2015 5:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse check and unckeck
Replies: 4
Views: 809

Re: Know the exactly field from xbrowse

Hello Silvio Local R:=oBRW:nArrayAt // rigo array Local Z:=oBRW:nCOLSEL // colonna selezionata Local oCOL:=oBRW:aCols[Z] // txcolonna Local C:=oCOL:nArrayCol // indice colonna array - come ARR_X[R][H] Local nDATO:=oCOL:Value() // dato dentro la cella Local nDATO:=ARR_X[R][C] Best Regards Santo
by vensanto
Fri May 03, 2013 10:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Know the exactly field from xbrowse
Replies: 6
Views: 1353

EDICION DE CELDA TIPO FACTURA EN XBROWSE CON ARRAY-SOLUCION

... := AL_CENTER oCol:nDataStrAlign := AL_LEFT oCol:bOnPostEdit := {|o,x| aProductos[ oBrw:nArrayAt, 1 ] := x } oCol:nEditType := EDIT_GET oCol:nArrayCol := 1
by joseluisysturiz
Mon Jul 09, 2012 7:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: EDICION DE CELDA TIPO FACTURA EN XBROWSE CON ARRAY-SOLUCION
Replies: 3
Views: 2566

Re: Saber Nª columna xbrowse

... hilo al que te mande Horacio http://forums.fivetechsupport.com/viewtopic.php?p=70102#p70102 puedes usar esto... oBrw:SelectedCol():nArrayCol o oBrw:SelectedCol():nCreationOrder pero si haces un swap de columnas no te va a servir, es decir intercambias la columna 4 con la 5, aunque ...
by Daniel Garcia-Gil
Mon Mar 05, 2012 10:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber Nª columna xbrowse
Replies: 9
Views: 1458

New FTDN January/Enero 2011 (FWH 11.01)

... size parameters are ignored. (c) ArrTranspose() function enhanced. (d) Now SeekOnArray() works on cSortOrder column if it is different from the nArraycol. This is the expected behavior. (e) COLUMNS clause in XBROWSE command now accepts multi-dimentional array with column specifications. Each ...
by Antonio Linares
Mon Feb 14, 2011 6:19 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2011 (FWH 11.01)
Replies: 0
Views: 1812

Xbrowse array autosort and seek with secundury keys

... local bOrder # endif aCols := ::oBrw:aCols cOrder := ::cOrder nLen := Len( aCols ) nAt := If( ValType( ::cSortOrder ) == 'N', ::cSortOrder, ::nArrayCol ) if Len( ::oBrw:aArrayData ) > 0 cType := ValType( ::oBrw:aArrayData[ 1 ] ) if cType == 'A' if ValType( nAt ) == 'N' .and. nAt > 0 ...
by Frank Demont
Sun Feb 13, 2011 10:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse array autosort and seek with secundury keys
Replies: 2
Views: 1061

xBrowse array problem

... oBrw:bClrSel := {|| { Frente, Fundo } } oBrw:bClrSelFocus := {|| { Frente, Fundo } } oCol := oBrw:AddCol() oCol:cHeader := "CLI" oCol:nArrayCol := 1 oCol:nWidth := 30 oCol := oBrw:AddCol() oCol:cHeader := "Nº NOTA" oCol:nArrayCol := 2 oCol:nWidth := 80 My Add line: AADD( ...
by Wanderson
Mon Jul 12, 2010 12:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse array problem
Replies: 3
Views: 852

Re: Set oCol image with xBrowse binary column

fraxzi wrote:Dear RAO,

but if other type i want to put my own image.. how to determine if column type is other than image?


oCol:bEditValue := { || If( IsBinaryData( oBrw:aRow[ oCol:nArrayCol ] ) .and. FITypeFromMemory( oBrw:aRow[oCol:nArrayCol] <= 0, <cOurImage>, oBrw:aRow[oCol:nArrayCol] ) }
by nageswaragunupudi
Fri Jun 18, 2010 7:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Set oCol image with xBrowse binary column
Replies: 6
Views: 974

Re: Ejemplo de xbrowse

... 13 STEP 2 IF ! EMPTY( aCatalog[nForm, i] ) && Agrega columnas al xBrowse WITH OBJECT ( oCol := :AddCol() ) :cHeader := aCatalog[nForm, i] :nArrayCol := aCatalog[nForm, i + 1] // :cPicture := aCatalog[nEl, 33 + ii] // Picture :nWidth := aCatalog[nForm, 28 + ii] :nHeadStrAlign := AL_CENTER ...
by jcenteno
Tue Apr 27, 2010 6:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejemplo de xbrowse
Replies: 4
Views: 1121

Re: xBrowse y SetArray(aArray) (SOLUCIONADO)

... time(), nValor } ) dFecha += 10 nValores+=nValor nValor ++ EndDo oBrw:SetArray(aMiArray) AEval( oBrw:aCols, {|oCol| oCol:cHeader := aTitCols[oCol:nArrayCol] ,; oCol:bFooter := aFootCols[oCol:nArrayCol] ,; oCol:nWidth:= aWidthCols[oCol:nArrayCol] ,; oCol:cEditPicture:= aPictCols[oCol:nArrayCol] ...
by FranciscoA
Sat Sep 26, 2009 3:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse y SetArray(aArray) (SOLUCIONADO)
Replies: 12
Views: 4270

Re: xBrowse y SetArray(aArray)

Francisco...

Falta el recurso para construir el ejemplo...

Pero prueba agreando esto a cada definicion de columna

oCol:nArrayCol := 1
oCol:nArrayCol := 2

y haces como te lo indica pablo
by Daniel Garcia-Gil
Mon Sep 21, 2009 6:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse y SetArray(aArray) (SOLUCIONADO)
Replies: 12
Views: 4270

Re: Xbrowse to Antonio

... Lailton if you want the real column position dont use obrw:selectedcol(), this return column number from visual column try with oBrw:SelectedCol():nArrayCol or oBrw:SelectedCol():nCreationOrder test oCol:bOnPostEdit := {|o, v, n| msginfo(oBrw:SelectedCol():nArrayCol)} or oCol:bOnPostEdit := {|o, ...
by Daniel Garcia-Gil
Sat Mar 07, 2009 4:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse "SOLVED"
Replies: 3
Views: 676

puedes usar esto...

oBrw:SelectedCol():nArrayCol
o
oBrw:SelectedCol():nCreationOrder

pero si haces un swap de columnas no te va a servir, es decir intercambias la columna 4 con la 5, aunque este primero ahora la 5 que la 4 seguiran siendo 5 y 4, espero hacerme entender
by Daniel Garcia-Gil
Sat Nov 22, 2008 12:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como obtebgo la columna en que estoy posicionado en xbrowse?
Replies: 5
Views: 1287
Next

Return to advanced search