Search found 1898 matches: len

Return to advanced search

Re: xbrowse SelectRow method

... It seem run ok if I select two or three records and deselect one, the menu in the buttonbar remains unchanged because I added an if control IiF(LEN(oBrw:aSelected)==0,Btnbar(1,.....) thanks
by Silvio.Falconi
Mon Apr 01, 2024 10:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse SelectRow method
Replies: 3
Views: 652

AYUDA Validacion LRC para datafono

... s As String) As String Dim result As String = Nothing Dim s2 As String = s.Replace(" ", Nothing) For i As Integer = 0 To s2.Length - 1 Step 2 result += Convert.ToChar(Integer.Parse(s2.Substring(i, 2), System.Globalization.NumberStyles.HexNumber)) Next Return result End Function ...
by russimicro
Sat Mar 30, 2024 6:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA Validacion LRC para datafono
Replies: 2
Views: 469

Re: Hide/show search system on a dialog - Resolved

... oBar:ntop-40 else oSay[1]:hide() oSay[2]:hide() oGet:hide() oBrw:oSortCbx:hide() oBrw:nTop:=2 oBrw:nHeight:= oBar:ntop-40 Endif for n=1 to Len(aBtn) aBtn[n]:ntop:= oBar:ntop-40 aBtn[n]:refresh() next return nil
by Silvio.Falconi
Mon Mar 25, 2024 11:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Hide/show search system on a dialog - Resolved
Replies: 6
Views: 1159

Re: Another for Btnbmp

I wish only delete that internal Black Box https://i.postimg.cc/Z5y5F83c/llll.png I tried also with For n= 1 to len(oBtn) obtn[n]:bClrGrad := < |u,oBtn| local clr := RGB( 245,245,235) if oBtn:lActive if oBtn:lMOver clr := {{ 1, RGB( 250,250,245),RGB( 250,250,245) }} ...
by Silvio.Falconi
Wed Mar 20, 2024 11:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 4844

Problemas con comportamiento de XBrowse.

... *---------------------------------------------------------------------------// function veo(nApu,oLbx,aAcciones,nKey) nApu:=ascan(aAcciones,{|x|IF(LEN(X)>4,x[5]==nKey,.F.)}) if empty(nApu) return .f. else return .t. endif *------------------------------------------------------------------------------------ ...
by José Camilo
Fri Mar 15, 2024 2:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con comportamiento de XBrowse.
Replies: 1
Views: 385

FW_DbfSqlQuery con campos mayores de 256 carracteres

... FW_DbfSqlQuery(), también mediante la conexión con ADO pero la información que me devuelve siempre es truncada. Partiendo de una tabla: CODIGO LEN 10 NOMBRE LEN 50 OBSERVACION LEN 1024 PAIS LEN 50 Si realizo la siguiente consulta: TEXT INTO cQuery      SELECT CODIGO, NOMBRE, PAIS       FROM ...
by VictorCasajuana
Tue Mar 05, 2024 9:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: FW_DbfSqlQuery con campos mayores de 256 carracteres
Replies: 3
Views: 642

Re: To Nageswrao Del Objs on TscrollPanel

function DeleteControl( oPanel, nItem )   local nTop, nLeft      for n := Len( oPanel:aControls ) to nItem + 1 STEP -1      oPanel:aControls[ n ]:nTop := oPanel:aControls[ n - 1 ]:nTop      oPanel:aControls[ n ]:nLeft:= oPanel:aControls[ ...
by Silvio.Falconi
Mon Mar 04, 2024 8:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 630

Re: To Nageswrao Del Objs on TscrollPanel

Nages oPanel:aControls[ nItem ]:End() HB_ADel( oPanel:aControls[ nItem ], nItem, .t. ) ASize( oPanel:aControls, Len( oPanel:aControls ) ) oPanel:SetRange() oPanel:refresh() I saw on oPanel:aControls there are also the records https://i.postimg.cc/QNKWmS1C/mm.png ...
by Silvio.Falconi
Thu Feb 29, 2024 8:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 630

To Nageswrao Del Objs on TscrollPanel

... items on xbrowse except product number 1 and del item on adata and refresh the oBrw how I can resolve ? I Tried with ( but run bad) FOR i := 1 TO LEN(oBrw:aCols) oCol := oBrw:aCols[ i ] oCol:bLDClickData := { || Erase_Items(oBrw,oPanel) } NEXT Function Erase_Items(oBrw,oPanel) local nItem:= oBrw:aArrayData[ ...
by Silvio.Falconi
Mon Feb 26, 2024 12:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 630

Add a new taskPanel on Explorerbar ( on line)

... Main()   local oWnd, oExBar                    // name,Bitmap,Len,active    local  adata:={  {"One", "..\bitmaps\32x32\case.bmp",100,.t.  } ,;                     {"two", ...
by Silvio.Falconi
Sun Feb 25, 2024 5:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add a new taskPanel on Explorerbar ( on line)
Replies: 2
Views: 212

Re: Count xbrowse records

Silvio.Falconi wrote:perhaps

len(oBrw:aArrayData )

or

oBrw:nDataRows


Thank you!
by wartiaga
Fri Feb 23, 2024 4:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Count xbrowse records
Replies: 5
Views: 244

Re: Count xbrowse records

perhaps

len(oBrw:aArrayData )

or

oBrw:nDataRows
by Silvio.Falconi
Thu Feb 22, 2024 1:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Count xbrowse records
Replies: 5
Views: 244

Re: New function ADiff( aArray1, aArray2 )

Fw_ValToExp_Mia(a) --> (C) Len: 37 "{'uno',{'hola','adios'},'dos','tres'}" Fw_ValToExp_Mia(b) --> (C) Len: 45 "{'uno','cuatro',{'hola','adios'},'cinco',123}" Fw_ValToExp_Mia(c) --> (C) Len: 35 "{{'hola','adios'},'dos','tres',123}" ...
by paquitohm
Thu Feb 15, 2024 4:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New function ADiff( aArray1, aArray2 )
Replies: 5
Views: 296

Re: Search by line

... endif function AtLine(itm, xBk)  local st, nOk:=0 ** itm - string  ** xBk - code block  xBk:=&xBk for st=1 to len(itm) if eval(xBk, itm[st]) nOk:=st exit endif next return nOk It works fine, but I wanted to know if there is already a similar function
by Natter
Tue Feb 06, 2024 4:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Search by line
Replies: 8
Views: 308

Re: Creating table with Trichedit

... HEADERFONTSIZE 10; HEADERAPPEAR BOLD_ON; HEADERHALIGN CENTER //; DEFINE CELL FORMAT oRTF ; CELLSHADE aMarca lFormato:=.F. For nRow= 1 to Len(aTable) FOR nCol := 1 TO oRTF:nTblColumns WRITE NEWCELL oRTF TEXT aTable[nRow][nCol] ALIGN CENTER NEXT next END TABLE oRTF CLOSE RTF oRtf /* Go ...
by Silvio.Falconi
Mon Jan 29, 2024 3:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 1439
Next

Return to advanced search