Search found 43 matches: lcreated

Searched query: lcreated

by Antonio Linares
Fri Jan 17, 2025 11:04 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Re: Using new Class TDeepSeek for documenting

... Descanso Terapeutas" (Therapist Block/Rest).

21. **`lSelected` (LOGICAL)**
A flag indicating whether the event is currently selected.

22. **`lCreated` (LOGICAL)**
A flag indicating whether the event has been created and initialized.

23. **`lVisible` (LOGICAL)**
A flag indicating whether the ...
by danielgustavo
Thu Jun 24, 2021 2:33 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Exportacíon Excel desde Reporte
Replies: 0
Views: 409

Exportacíon Excel desde Reporte

... Alltrim(str(oReport:aGroups[1]:nCounter));
FONT 2

oReport:lGrid := .T.
oReport:cGrandTotal := "Total Geral ==>"

END REPORT

IF !oReport:lCreated
RETU NIL
ENDIF

oReport:oTitle:aFont[1] := {|| 2 } //1ra linha do titulo, cor e fonte 2
oReport:nTopMargin := 600 //Espacio superior
oReport ...
by Otto
Fri Sep 18, 2020 7:34 am
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE COLOR ROWS
Replies: 7
Views: 1024

XBROWSE COLOR ROWS

... CLR_WHITE,rgb(240, 173, 78) }}

But if I look into the paint method of xBrowse, there are no changes:
METHOD Display() CLASS TXBrowse

local nSecs := SECONDS()

if !::lCreated
return nil
endif

fwlog Eval( ::bClrSel )
...

Can you please show me how I can change bClrStd.

Best regards,
Otto
by FranciscoA
Mon Apr 07, 2014 12:00 am
Forum: FiveWin para Harbour/xHarbour
Topic: oReport:DelColumn()
Replies: 6
Views: 807

Re: oReport:DelColumn()

... tu tiempo e interes.
Precisamente como indicas, asi lo estoy haciendo:
//Las 2 maneras trabajan bien, pero como no se puede capturar nTotal con :lCreated
//borra todas las columnas porque las toma como 0, y con :bEnd borra solo en la
//linea de totales.
/* for n:=1 to nCols oCol := oReport:aColumns ...
by FranciscoA
Sun Apr 06, 2014 11:33 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Capturar nTotal de columnas en TReport
Replies: 3
Views: 622

Re: Capturar nTotal de columnas en TReport

... las columnas con totales 0
Asi es como lo tengo, pero el caso es que quiero automatizar esto.

Lo siguiente trabaja perfectamente:
if oReport:lCreated oReport:DelColumn(10) //col 10 del reporte oReport:DelColumn(13) //col 14 "" oReport:DelColumn(17) //col 19 "" oReport ...
by FranciscoA
Sat Apr 05, 2014 6:54 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Capturar nTotal de columnas en TReport
Replies: 3
Views: 622

Capturar nTotal de columnas en TReport

... la sumatoria de las columnas numericas.
Lo que quiero hacer es poder identificar cuales columnas tienen su nTotal en 0, pero desde oReport:lCreated. ¿Se puede?
Por ejemplo:
Con oReport:bEnd se pueden identificar //ok
Con oReport:bPostEnd se pueden identificar //ok
Con if oReport:lCreated NO se ...
by FranciscoA
Sat Apr 05, 2014 3:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Delete columns from oReport
Replies: 4
Views: 752

Re: Delete columns from oReport

... gracias.
Asi lo hago. El caso es que quiero eliminar ciertas columnas del reporte cuyo nTotal sea 0.
Si trato de identificarlas desde oReport:lCreated, no lo hace, todas las detecta como 0.
Si lo hago desde el :bEnd, si las identifica, pero al aplicar el DelColumn() + Stabilize(), solo borra las ...
by Antonio Linares
Wed Jun 05, 2013 3:09 pm
Forum: WhatsNew / Novedades
Topic: New FTDN May/Mayo 2013 (FWH 13.05)
Replies: 0
Views: 3121

New FTDN May/Mayo 2013 (FWH 13.05)

... for ADO in \fwh\source\function\olefuncs.prg
New: FW_ShowAdoError( oCn ) --> shows last ado error
New: FW_CreateMDB( cFile[.mdb|.accdb] ) --> lCreated
Creates new MS Access Database file.
For creation of accdb file, Microsort ACE.12.0 need to be installed.
By default creates mdb if no ...
by MdaSolution
Thu Aug 18, 2011 3:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Treport bug ?
Replies: 0
Views: 442

Treport bug ?

... FOOTER ::cTitleFoot, "Data: "+dtoc(date())+ " Página.: "+str(::oReport:nPage,3) ;
CAPTION "" PREVIEW


.....
......
...




IF ::oReport:lCreated
IF ::lGrid
::oReport:SetPenColor(::nColore) ------------> not run !!!!
::oReport:CellView()
::oReport:SetShdColor(CLR_GRAY)
ENDIF
::oReport ...
by diegopolverelli
Mon Jul 25, 2011 5:15 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Grupos en Treport
Replies: 4
Views: 766

Re: Grupos en Treport

Como diria el sr. Burns... Excelente...
Lo unico, te corrijo una pequeña cosita, para que le quede al resto de los lectores... el lcreated va concatenado a oreport con un ":"...
o sea, quedaria asi:
...
IF oreport:lCREATED
...

el resto todo OK, y anda. Mil gracias...!!!
by FranciscoA
Mon Jul 25, 2011 3:44 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Grupos en Treport
Replies: 4
Views: 766

Re: Grupos en Treport

Diego, prueba asi:

local n
...
...
IF oREPORT lCREATED
...
...
for n:=1 to len(oReport:aColumns)
oReport:aColumns[n]:bTotalFont := {|| 3 }
next
ENDIF
Saludos
by FranciscoA
Fri May 06, 2011 8:48 pm
Forum: FiveWin para Harbour/xHarbour
Topic: CLASE REPEXCEL
Replies: 9
Views: 1830

Re: CLASE REPEXCEL

Renomas:
Lo he hecho así (no he logrado encontrar la solución modificando TSalxls):


IF oReport:lCreated
// oReport:lSeparator := .t.
//oReport:CellView()
// oReport:lBoxOnTotal:=.t.
ENDIF

ACTIVATE REPORT oReport ;
ON STARTGROUP ( oReport:NewLine(), EVAL(bSECCION) ) ; // ;
ON CHANGE oReport ...
by FranciscoA
Fri May 06, 2011 4:55 pm
Forum: FiveWin para Harbour/xHarbour
Topic: CLASE REPEXCEL
Replies: 9
Views: 1830

Re: CLASE REPEXCEL

... donde meterle mano. ¿Hay alguien que lo haya hecho y pueda suministrarme un ejemplo?

He logrado que funcione parcialmente así:
IF oReport:lCreated
// oReport:lSeparator := .t.
//oReport:CellView()
oReport:lBoxOnTotal:=.t.
ENDIF

ACTIVATE REPORT oReport ;
ON CHANGE oReport:Separator ...
by Silvio
Sun Apr 17, 2011 4:22 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR ON REPORT CLASS : To Josè and to All
Replies: 0
Views: 460

ERROR ON REPORT CLASS : To Josè and to All

... run ok I not understood why ?




for the fonts I use the same and then the commnd END REPORT I insert these lines :

END REPORT
IF ::oReport:lCreated


::oReport:SetTxtColor(::nColoreFont1,1)
::oReport:SetTxtColor(::nColoreFont2,2)
::oReport:SetTxtColor(::nColoreFont3,3)

::oReport ...
by Ramon Paredes
Tue Mar 08, 2011 4:48 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Pregunta sobre GROUP ON
Replies: 6
Views: 1673

Re: Pregunta sobre GROUP ON

... TITLE "Nacionalidad" DATA oRs:Fields( "nacionalidad" ):Value

// Deberia ir aqui : GROUP ON oRsRpt:Fields( "dias" ):Value

END REPORT

if oRpt:lCreated

oRpt:bSkip := { || ( nDesde++, oRs:MoveNext() ) }

endif

ACTIVATE REPORT oRpt WHILE nDesde <= nHasta

o bien puedes hacerlo desde el ACTIVATE ...