Search found 141 matches: keyno

Return to advanced search

Error Fwh 24.02 con XBROWSE

... := .T. :lIncrFilter := .F. :nStretchCol := STRETCHCOL_WIDEST :bClrSel := { || { CLR_BLACK, CLR_HGRAY } } :bClrStd := {|| IIf( oBrw:KeyNo() % 2 == 0, { CLR_BLACK, RGB( 198, 255, 198 ) }, { CLR_BLACK, RGB( 232, 255, 232 ) } ) } END AEval( oBrw:aCols, {|o| o:nHeadStrAlign := AL_CENTER, ...
by CARLOS ATUNCAR
Mon Apr 08, 2024 6:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error Fwh 24.02 con XBROWSE
Replies: 0
Views: 97

Re: RAO advice on using Mysql

METHODS: RecCount(), LastRec(), KeyCount(),RecNo(), KeyNo() GoTop(),GoBottom(),GoTo(nRec),KeyGoTo(nKey),Skip(n) FCount(),FieldPos(c),FieldName(),FieldLen(),FieldDec(),FieldType() FieldGet(),FieldPut() SetOrder(cSort,,lDescend) Save() Close() or End() ...
by nageswaragunupudi
Fri Feb 02, 2024 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RAO advice on using Mysql
Replies: 12
Views: 979

Re: Browse Json

To better explain I can do this:

for each h in oJson
Msginfo( h["keyno"] )
Msginfo( h["name"] )
Msginfo( h["abbr"] )
next

It goes through all of the 7 records in the table.
by byron.hopp
Thu Jan 11, 2024 1:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Browse Json
Replies: 8
Views: 833

Browse Json

I am using Microsoft Sql 2016 calling this query:
select keyno,name,abbr from hospital for json auto

It returns JSON which I use HB_JsonDecode(cJson,@oJson)

oJson is an array of hashes.

Can I browse this, if so how do I set it up.

Thanks,
by byron.hopp
Thu Jan 11, 2024 12:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Browse Json
Replies: 8
Views: 833

CONTROLAR CLICK SOBRE COLUMNA EN XBROWSE

... := 2 // Número de líneas en el footer oBrw:bClrHeader := {|| { nRGB(000,000,000), nRGB(128,255,128) } } oBrw:bClrStd := {|| If( oBrw:KeyNo() % 2 == 0, { CLR_BLACK, RGB( 224, 236, 255 ) }, { CLR_BLACK, RGB( 189, 211, 253 ) } ) } oBrw:bClrFooter := {|| { nRGB(000,000,000), nRGB(150,200,200) ...
by kpidata
Fri Sep 01, 2023 7:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONTROLAR CLICK SOBRE COLUMNA EN XBROWSE
Replies: 1
Views: 331

evitar que se active columna con xbrowse al dar un click

... := 2 // Número de líneas en el footer oBrw:bClrHeader := {|| { nRGB(000,000,000), nRGB(128,255,128) } } oBrw:bClrStd := {|| If( oBrw:KeyNo() % 2 == 0, { CLR_BLACK, RGB( 224, 236, 255 ) }, { CLR_BLACK, RGB( 189, 211, 253 ) } ) } oBrw:bClrFooter := {|| { nRGB(000,000,000), nRGB(150,200,200) ...
by kpidata
Fri Sep 01, 2023 7:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Inhabilitar columna en xBrowse - Disable column in xBrowse
Replies: 8
Views: 1077

Re: ERROR XBROWSE CON MERGEVERT

... COLSIZES 150,150,250; ARRAY acDatos UPDATE FOOTERS LINES AUTOCOLS CELL olbx1:l2007:=.t. olbx1:gotop() olbx1:bClrStd:={|| aClrCol [ olbx1:keyno%2+1]} olbx1:bClrSel:={|| { nRGB( 0, 0,255), aGradBarSel } } olbx1:bClrSelFocus := { || { CLR_BLACK, aGradBarSelFocus } } olbx1:nColDividerStyle ...
by elmoiquique
Mon Aug 28, 2023 3:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR XBROWSE CON MERGEVERT
Replies: 8
Views: 569

Re: Line number

oBrw:KeyNo
by nageswaragunupudi
Sun May 14, 2023 9:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Line number
Replies: 4
Views: 173

Re: XBROWSE : BookMark what is it for ?

... etc. oBrw:BookMark := n is equivalent to ( oBrw:cAlias )-> GOTO( n ) for DBF and is equivalent to oBrw:oRs:BookMark := n for ADO Same way oBrw:KeyNo is same is OrdKeyNo() for DBF, AbsolutePosition of ADO, etc XBrowse can handle many types of datasources, which use different methods, functions ...
by nageswaragunupudi
Sun Apr 16, 2023 10:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : BookMark what is it for ?
Replies: 1
Views: 199

XBrowse con xBase - Efecto Pijama - Error en Red

Buenos días Usando XBrowse, estas 3 opciones para lograr el efecto pijama oBrw:bClrStd:= { || { CLR_Txt, { CLR_Fdo1, CLR_Fdo2 }[ oBrw:KeyNo % 2 +1 ] } } oBrw:bClrStd:= { || { CLR_Txt, if( oBrw:KeyNo % 2 == 0, CLR_Fdo1, CLR_Fdo2 ) } } oBrw:bClrStd:= { || { CLR_Txt, if( int( oBrw:KeyNo / 2 ...
by José
Tue Mar 21, 2023 3:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse con xBase - Efecto Pijama - Error en Red
Replies: 3
Views: 406

alternate columns colors

coloring alternate rows we can do oBrw:bClrStd := { || { CLR_BLACK, If( oBrw:KeyNo % 2 == 0, nColor1, nColor2 ) } } how can we color the columns alternately? For a sample if I wish colorized only the 4th colomn I made Function Alternate_Columns(nColor1,oBrw)  ...
by Silvio.Falconi
Mon Jan 09, 2023 12:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: alternate columns colors
Replies: 0
Views: 176

Re: Xbrowse, cambio color texto y celda

... siguiente: - Si en la base de datos la forma de pago es Giro, y está pagada, (Color fuente y fondo normal) :bClrStd:= { || { CLR_BLACK, If( oLbx:KeyNo % 2 == 0, nRGB(242,247,252),nRGB(226,226,208) ) } } - Si en la base de datos la forma de pago es Giro y no está pagada, (Color fuente normal y ...
by JoseLuis
Sun Aug 28, 2022 7:54 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Xbrowse, cambio color texto y celda (Solucionado)
Replies: 5
Views: 411

Re: Xbrowse, cambio color texto y celda

... If(((aAlias[22])->clasef="1" .and. (aAlias[22])->estado="1" ),{CLR_BLACK,nRGB(250,219,216)}, {CLR_BLACK,If( oLbx:KeyNo % 2 == 0, nRGB(242,247,252),nRGB(226,226,208) )}) } nRGB(242,247,252),nRGB(226,226,208) )}) } Endif Next I
by jacgsoft
Sun Aug 28, 2022 3:46 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Xbrowse, cambio color texto y celda (Solucionado)
Replies: 5
Views: 411

Xbrowse color group

I have the xbrowse with oApp():oGrid:bClrStd := { || { CLR_BLACK, If( oApp():oGrid:KeyNo % 2 == 0, RGB(160,225,255), CLR_WHITE ) } } this is the pijama effect I need to colorize all columns but in different groups I have these groups :SetGroupHeader( "Estrazione", ...
by Silvio.Falconi
Sat Apr 02, 2022 8:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse color group
Replies: 2
Views: 246

Re: search highest digit in the array

... to do it and anyway I think it always takes the last calculated? I made nRowSelect:=Colorize_Max(oBrw,RGB( 255, 0,0 ),RGB( 252, 235, 220 )) oBrw:KeyNo:= nRowSelect static Function Colorize_Max(oBrw,nColor1,nColor2) local avals:= oBrw:aArraydata local atest:= aFindMax( aVals ) local nRow:= atest[1] ...
by Silvio.Falconi
Thu Mar 10, 2022 8:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: search highest digit in the array
Replies: 7
Views: 471
Next

Return to advanced search