Search found 17 matches: delcol

Return to advanced search

Re: Agregar/Quitar columna xbrowse tiempo ejecución

Leandro,
En la clase TXBROWSE, existe el METHOD DelCol( nPos )
by cnavarro
Mon Apr 24, 2023 2:46 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Agregar/Quitar columna xbrowse tiempo ejecución
Replies: 7
Views: 588

Re: How do I know the field name in xbrowse:column

... I cannot check the current field on ::nColSel, if the user swap column. I have these 2 functions if XBrowse_FindCol(oBrw,'COST') > 0 oBrw:DelCol( XBrowse_FindCol(oBrw,'COST')) ENDIF //------------------------------------------------------------------------------------------- Function XBrowse_FindCol(o,cField) Local ...
by dutch
Mon Jan 24, 2022 9:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 2276

Re: How do I know the field name in xbrowse:column

I have these 2 functions if XBrowse_FindCol(oBrw,'COST') > 0 oBrw:DelCol( XBrowse_FindCol(oBrw,'COST')) ENDIF //------------------------------------------------------------------------------------------- Function XBrowse_FindCol(o,cField) Local ...
by Maurizio
Mon Jan 24, 2022 8:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 2276

Re: New FTDN August/Agosto 2020 (FWH 20.08)

... haga clic con el botón derecho en el encabezado. - SetColumns() el menú emergente está alineado con la parte inferior del encabezado. - El método DelCol() estaba cambiando nCreationOrders de todas las columnas incorrectamente, cuando se elimina después de intercambiar/mover algunas columnas. Solucionado. ...
by Antonio Linares
Tue Sep 22, 2020 4:33 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN August/Agosto 2020 (FWH 20.08)
Replies: 3
Views: 2304

New FTDN August/Agosto 2020 (FWH 20.08)

... will be added to the SetColumns popup menu when header is right-clicked. - SetColumns() popup menu is aligned with the bottom of header. - method DelCol() was changing nCreationOrders of all the columns incorrectly, when deleted after swapping/moving some columns. fixed. - GroupHeaders: - When ...
by Antonio Linares
Sun Sep 20, 2020 11:38 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN August/Agosto 2020 (FWH 20.08)
Replies: 3
Views: 2304

xBrowse with ADO

... table and fields of the recordset are not identical. I solved in this way Open new Recset oNewRs FOR i := len(oBrwLis:aCols) to 1 STEP - 1 oBrw:DelCol(i) NEXT oBrw:SetADO( oNewRs ) oRsOld:Close() oBrw:GoTop() oBrw:Refresh() Is correct use oBrw:SetADO( oNewRs ) or can cause side effects ? I have ...
by Maurizio
Thu Nov 27, 2014 10:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse with ADO
Replies: 4
Views: 1287

Re: Error en Xbrowse

... donde les borro todas las columnas y las vuelvo a crear en tiempo de ejecución: Cuando las borro hago: FOR V:=LEN(oBrw:aCols) TO 1 STEP -1 oBrw:DelCol(V) NEXT y después recargo de la siguiente manera: RECARGA(oBrw,TITULO,ANCHO,DATOS,JUSTIFI) le cargo datos según lo que necesite. STAT FUNC RECARGA(oBrw,TITULO,ANCHO,DATOS,JUSTIFI) ...
by TOTOVIOTTI
Thu Nov 20, 2014 8:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en Xbrowse
Replies: 21
Views: 3979

Re: TSBrowse TXBrowse ?

... the <n>th column at the time of creation. However, we need to keep in mind that the column creation order can change after using any of oBrw:DelCol( <x> ). oBrw:ReArrangeCols(...) or oBrw:RestoreState(...)/ Another and safer way is to refer a column is to refer it by its header. oBrw:oCol( ...
by nageswaragunupudi
Mon Jan 24, 2011 7:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSBrowse TXBrowse ?
Replies: 8
Views: 3076

Re: xbrowse tree ayuda (solucionado)

Si solucionado, gracias por la ayuda a Marcelo Jingo
En este foro siempre hay alguien que nos da una mano
Esta era la solucion

IF len(obrwx:acols)>0
oBrwx:delcol(1)
ENDIF
by EASYSOFT
Thu Sep 02, 2010 8:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse tree ayuda (SOLUCIONADO)
Replies: 1
Views: 1396

Re: Mostrar una sola columna en un xbrowse

Hola:

Prueba con xLbx:DelCol( 1 ).
De esta forma no ocultas la columna sino que la eliminas del browse
by fgondi
Tue Apr 27, 2010 8:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mostrar una sola columna en un xbrowse (SOLUCIONADO)
Replies: 4
Views: 603

error justificado de columnas con xbrowse

... next nfor oBrw:aCols[nfor]:nHeadStrAlign:=0 for nfor=len(oBrw:aCols) to 6 step -1 // poner el último más uno oBrw:delcol(nfor) next nfor
by alvaro533
Sun Aug 30, 2009 6:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: error justificado de columnas con xbrowse
Replies: 8
Views: 1115

Just use the AddCol, DelCol, InsCol methods as usual and then call obrw:refresh( .t. )
by nageswaragunupudi
Tue Feb 26, 2008 6:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add column in xBrowse
Replies: 3
Views: 637

... activate dialog oDlg1 on init InitBrowse( oBrw1, oBrw ... Static Function InitBrowse( oBrw1, oBrw ) oBrw1 := oClone( oBrw ) oBrw1:delcol(2) oBrw1:nTop := 0 oBrw1:nLeft := 0 oBrw1:nRight := 10 oBrw1:nBottom := 50 Return Nil Isto não funcionou. vc va a utilizar o mesmo alias no segundo ...
by Rossine
Fri Feb 08, 2008 6:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Copiar um browse
Replies: 7
Views: 1460

Para Antonio Y los Duros De FWH " Error al abrir 3 Arch

... := { || _FIELD->DIRIP01} oCol:cHeader := "Dirección" oCol:nHeadStrAlign := AL_CENTER oCol:nDataStrAlign := AL_LEFT oCol:nWidth := 200 oBrw:DelCol(10) oBrw:DelCol(9) oBrw:DelCol(8) oBrw:DelCol(7) oBrw:DelCol(6) oBrw:DelCol(5) oBrw:DelCol(4) oBrw:DelCol(3) oBrw:DelCol(2) oBrw:DelCol(1) dbSelectArea(2) ...
by JHON JAIRO VALENCIA DIAZ
Sat Feb 02, 2008 4:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Para Antonio Y los Duros De FWH " Error al abrir 3 Arch
Replies: 7
Views: 2106

... favor, revisa el ejemplo samples\mallorca.prg. * Mejora: La clase TXBrowse no estaba procesando bKeyChar. Ahora está soportada. * Mejora: Método DelCol() en la clase TXBrowse. Gracias a Nageswararao!
by Antonio Linares
Sat Jan 05, 2008 10:22 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2008 (8.01)
Replies: 1
Views: 2756
Next

Return to advanced search