Search found 44 matches: addcolumn

Return to advanced search

Listview Unicode for CLASS TGrid()

hi, i have found in c:\fwh\source\winapi\listview.c what was change for Unicode   LPWSTR pWide = fw_parWide( 3 );//   lvi.pszText  = ( LPTSTR ) hb_parc( 3 );   lvi.pszText  = pWide; Question : is fw_parWide() the same as AnsiToWide() :?: --- i have now include #define UNICODE    // Made Unic...
by Jimmy
Wed Aug 30, 2023 1:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 409

Re: txbrowse totals and edit modes

... have a clue why selected items from the browse selectboxes are not written into the dbf fields? We know very well. The codebocks you have used in AddColumn() methods are readonly. They can not be used to assign values. That is the reason We (FWH Team) recommends use of COLUMNS clause. In that ...
by nageswaragunupudi
Thu Feb 17, 2022 4:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: txbrowse totals and edit modes
Replies: 6
Views: 654

Re: Report Class question

... not print two reports on a single page. I did it more than 20 years ago using FW 16 bits. I remember it was a bit tricky, using the DelColumn and AddColumn methods with bPostEnd block but it worked flawlessly. For a reason I could not discover the upgrade to FWH broke my code. As it coincided ...
by ADutheil
Sun May 10, 2020 2:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Report Class question
Replies: 4
Views: 694

Re: Fwh19.05 - New Class TDockPnel

Por qué no intentas en lugar de utilizar ADDCOLUMN, definir tus columnas previamente en el SETADO, y después ya solo tienes que definir los aspectos estéticos de cada columna?

Code: Select all  Expand view

oBrwMs:SetADO( oRsMes, .T. , .T., { "nombre", ..... } )
 
by cnavarro
Thu Dec 12, 2019 6:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fwh19.05 - New Class TDockPnel
Replies: 93
Views: 16036

Re: Compare structure of DBF on 2 locations

oCn:RenameColumn( cTable, cOldName, cNewName )
oCn:AddColumn( cTable, aColSpec )
oCn:AlterColumn( cTable, aColSpec )

aColSpec ( dbf column spec )
Eg:
{ "firstname", "C", 30, 0 }

{ "salary", "N", 10, 2 }

etc
by nageswaragunupudi
Fri Mar 08, 2019 9:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Compare structure of DBF on 2 locations
Replies: 10
Views: 1348

Re: xbrowse: picture (Solucionado)

ESTABA HACIENDO ESTO
oCol:=xLbx:AddCol() , oCol:cHeader:= cTitulo , oCol:bStrData := bCampo , oCol:nWidth := nAncho ) ,;

AHORA HAGO
oCol:=xLbx:AddColumn( cTitulo , bCampo , cPicture ,,,, nAncho , .F., .F.,,,,,, .F.,,,,, .F.,,, ) , oCol:oHeaderFont:=memvar->oDatos:oFont9 )
by silvinamazzaro
Thu Jan 26, 2017 7:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse: picture
Replies: 9
Views: 1412

Re: Crear un Browse tipo Excel.

... siempre se queda con el ultimo valor del for. Lo que necesito es saber como crear "x" columnas que pueden variar. Supongo que debo usar addcolumn pero como le asigno el element del array. Por favor necesito ayuda, estoy parado y necesito seguir. Muchas Gracias.
by Garbi
Fri Dec 02, 2016 12:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear un Browse tipo Excel.
Replies: 4
Views: 777

Re: EXCESS RELEASE OF FONT

... oFontNegr}, {oPen1, oPen2},,cImpresoraSalida,,; , lPreview,,, cCaption,; 'CENTER' , 'LEFT', 'RIGHT' ) for i=1 TO len( aContenido ) oRpt:AddColumn(TRcolumn():new({aEncabezado[i]},,; {aContenido[i] },,; {HacePicture(aPicture[i],aAnchura[i])},,; iif(aTotaliza[i]='N',.f.,.t.); ,,,,,,oRpt)) ...
by Verhoven
Wed Feb 04, 2015 8:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: EXCESS RELEASE OF FONT
Replies: 28
Views: 6876

Re: Add Xbrowse Column at runtime

No,
I think ( and I found it on this forum) I can make a function type

Function Addcolumn()
ADD TO oBrw AT 8 DATA oBrw:Rit HEADER "SlNo"
oBrw:Rit:setcheck()
return nil

where Rit ia a field .... but it not run here!!!
by Silvio.Falconi
Sun Nov 09, 2014 6:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add Xbrowse Column at runtime
Replies: 7
Views: 2537

Re: Xbrowse & Arrays of different sizes

Adolfo,

You could add a new column using oBrw:AddCol( no parameters ) or oBrw:AddColumn( ... parameters... )
by Antonio Linares
Wed Apr 09, 2014 10:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse & Arrays of different sizes
Replies: 2
Views: 667

different column color

... bLine := "{|| field->code }" oCol := TcColumn():New( cHeading , &bLine , , CLR_GREEN , CLR_WHITE , 0 , 100 , , , , , , , ) oBrw:addcolumn( oCol ) Thanks in advance Marco
by MarcoBoschi
Fri Apr 12, 2013 1:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: different column color
Replies: 7
Views: 1345

Re: Usando GUI y CUI juntos

... 'dbedit Test' @ 16, 2 prompt "Sair " message 'sair' menu to nOpc if nOpc=1 @ 11,14 to 21,71 double otbr:=tbrowsedb(12,15,20,70) otbr:addcolumn(tbcolumnnew('(FIRST)' ,{|| customer->first })) otbr:addcolumn(tbcolumnnew('(LAST)' ,{|| customer->last })) otbr:addcolumn(tbcolumnnew('(STREET)',{|| ...
by MGA
Tue Aug 14, 2012 6:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Usando GUI y CUI juntos
Replies: 26
Views: 8807

demo browse

... oDlg SIZE 200 , 400 @ 0, 0 BROWSE oBrw oCol := TcColumn():New( "First" , { || TEST->first } , , , , 0 , 60 , , , , , , , ) oBrw:addcolumn( oCol ) oCol := TcColumn():New( "Last" , { || TEST->last } , , , , 0 , 60 , , , , , , , ) oBrw:addcolumn( oCol ) oCol := TcColumn():New( ...
by brewster
Wed Jul 18, 2012 11:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: demo browse
Replies: 7
Views: 1512

Re: TsBrowse last version. Where to download ?

I had a problem with the horizontal scroll bar. I traced it down to the addcolumn method. If you use addcolumn, there is no updating of ::oHScroll. The delcolumn has the code below to update the horizontal scroll bar. So I added that code to method addcolumn ...
by Gale FORd
Wed Apr 20, 2011 2:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TsBrowse last version. Where to download ?
Replies: 14
Views: 2308

Bug in xbrowse using an array and sort

... not in use: ORDBAGNAME Stack Calls =========== Called from: => ORDBAGNAME(0) Called from: K:\pigc\ADDON32\UPDATED2\xbrowse.prg => TXBROWSE:ADDCOLUMN(5320) I temporary solved removing line 5320 from the xbrowse class * oCol:cOrdBag := ( ::cAlias )->( OrdBagName( ncOrder ) )
by Marco Turco
Sun Dec 26, 2010 4:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug in xbrowse using an array and sort
Replies: 1
Views: 404
Next

Return to advanced search