Search found 244 matches: narrayat

Return to advanced search

Re: xbrowse cell on two sections

... the second number is the delay on old procedure I set ADD COLUMN TO oBrw HEADER "Ruota" DATA {|v,oCol| oCol:oBrw:aArrayData[oCol:oBrw:nArrayAt,1] } CENTER ADD COLUMN TO oBrw HEADER "Num" DATA {|v,oCol| oCol:oBrw:aArrayData[oCol:oBrw:nArrayAt,2,1] } CENTER ADD COLUMN TO oBrw ...
by Silvio.Falconi
Thu Oct 31, 2024 7:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse cell on two sections
Replies: 7
Views: 331

Re: Browse of my ADO Class

New test using a dummy array, nArrayAt and bOnSkip only    LOCAL cnSQL := ADOLocal(), aDummy, aCol   cnSQL:Execute( "SELECT * FROM " + workarea + " ORDER BY " + oTbrowse[ 1, 1 ] )   IF cnSQL:RecordCount() ...
by JoséQuintas
Sat Sep 21, 2024 2:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 43
Views: 1984

Re: Need Help giide for my program

... nil ) :bClrStd := { || If( oBrw:aRow == oBrw:aAppend, { CLR_BLACK, CLR_YELLOW }, { CLR_BLACK, oBrw:nClrPane } ) } :bChange := { || If( oBrw:nArrayAt < oBrw:nLen, CheckAppendRow( oBrw ), nil ) } :bPastEof := { || If( oBrw:aAppend != nil .and. Empty( oBrw:aAppend[ 3 ] ), nil, ; ( AAdd( ...
by Otto
Fri Jul 19, 2024 7:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need Help guide for my program.
Replies: 38
Views: 2345

Re: To nages : modify of a xbrowse

What is this? :aCols[1]:bEditBlock := { |r,c|IIF(oBrwFilter:nArrayAt = 1,MsgInfo("not"),) } What is the purpose of bEditBlock? I not Know I found this line on this forum on first colum I use :aCols[1]:nEditType := EDIT_LISTBOX ...
by Silvio.Falconi
Thu May 09, 2024 8:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To nages : modify of a xbrowse
Replies: 8
Views: 954

Re: To nages : modify of a xbrowse

... on first column I made :aCols[1]:nEditType := EDIT_LISTBOX :aCols[1]:aEditListTxt := acOperators :aCols[1]:bEditBlock := { |r,c|IIF(oBrwFilter:nArrayAt = 1,MsgInfo("not"),) } I not want the end use can select the combobox if is on first line ( SEE THE PICTURE) https://i.postimg.cc/4NbFm215/filter.jpg
by Silvio.Falconi
Wed May 08, 2024 7:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To nages : modify of a xbrowse
Replies: 8
Views: 954

To nages : modify of a xbrowse

... the first column I wish it not show the listbox when is the first line of array this not run :aCols[1]:bEditBlock := { |r,c,oCol|IIF(!oBrwFilter:nArrayAt = 1, MsgInfo("Non puoi")) } for the 4th column I have problem because I cannot insert more characters
by Silvio.Falconi
Wed May 08, 2024 10:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To nages : modify of a xbrowse
Replies: 8
Views: 954

Re: combobox color

hi Otto,
Otto wrote:In TComboMetro, the combobox is done with an xbrowse.

::bClrStd := { || If( ::nArrayAt == ::nHoverAt .and. ::nArrayAt > ::nBlankRows, ;
{ CLR_WHITE, CLR_BLUE }, { CLR_BLACK, CLR_WHITE } ) }
i did not know that, so it should be easy when is based on xbrowse
by Jimmy
Sun Apr 28, 2024 6:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: combobox color
Replies: 22
Views: 2638

Re: combobox color

... and then pass the color along with it. Or just pass another ARRAY with the colors. And then compare it in ::bClrStd. ::bClrStd := { || If( ::nArrayAt == ::nHoverAt .and. ::nArrayAt > ::nBlankRows, ; { CLR_WHITE, CLR_BLUE }, { CLR_BLACK, CLR_WHITE } ) } Best regards, Otto
by Otto
Sun Apr 28, 2024 5:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: combobox color
Replies: 22
Views: 2638

Re: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna

Prueba asi y debería funcionar: oBrw:aCols[ 2 ]:bEditWhen = { || oBrw:nArrayAt != 8 } luego es el valor que esté devolviendo la expresión Prueba a hacer esto para saber el tipo de valor que hay: olbx101c:acols[4]:bEditWhen:= { || MsgInfo( ValType( olbx101c:aArrayData[olbx101c:nArrayAt][5] ...
by elmoiquique
Thu Mar 28, 2024 9:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna
Replies: 10
Views: 3449

Re: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna

Prueba asi y debería funcionar: oBrw:aCols[ 2 ]:bEditWhen = { || oBrw:nArrayAt != 8 } luego es el valor que esté devolviendo la expresión Prueba a hacer esto para saber el tipo de valor que hay: olbx101c:acols[4]:bEditWhen:= { || MsgInfo( ValType( olbx101c:aArrayData[olbx101c:nArrayAt][5] ...
by Antonio Linares
Thu Mar 28, 2024 8:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna
Replies: 10
Views: 3449

Re: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna

Hola Antonio

Una consulta,,, como desabilito un EDIT_BUTTON dentro de un xbrowse, dependiendo de la condicion

olbx101c:acols[4]:bEditWhen:= { || olbx101c:aArrayData[olbx101c:nArrayAt][5]="1" }

lo hago de esta manera pero no me funciona, sigue estando habilitado

Gracias
by elmoiquique
Thu Mar 28, 2024 4:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna
Replies: 10
Views: 3449

Re: To Nageswrao Del Objs on TscrollPanel

... ] oCol:bLDClickData := { || Erase_Items(oBrw,oPanel) } Function Erase_Items(oBrw,oPanel,aData,oDlg,oFontSmall) local nItem:= oBrw:aArrayData[ oBrw:nArrayAt ][2] oBrw:Delete() oBrw:Refresh() DeleteControl( oPanel, nItem ) return nil function DeleteControl( oPanel, nItem ) local nTop, nLeft for n ...
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: 2323

To Nageswrao Del Objs on TscrollPanel

... := oBrw:aCols[ i ] oCol:bLDClickData := { || Erase_Items(oBrw,oPanel) } NEXT Function Erase_Items(oBrw,oPanel) local nItem:= oBrw:aArrayData[ oBrw:nArrayAt ][2] aDel(oBrw:aArraydata,nItem-1) // xbrowser oBrw:aArraydata oPanel:aControls[nItem]:destroy() oBrw:refresh() oPanel:refresh() return nil ...
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: 2323

show a string into xbrowse

I have a field numeric and I wish show the string + "gg"

:bEditValue :={ || str(oBrw:aArrayData[ oBrw:nArrayAt,1])+"gg" }

why not run ?
by Silvio.Falconi
Thu Dec 07, 2023 11:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: show a string into xbrowse
Replies: 4
Views: 526

Re: copy a row of xbrowse

...   ) For many rows selected Not run ok oBrw:aSelected give number or numbers not the row oBrw:aRow is as ::aArrayData[ ::nArrayAt ] you can make For n= 1 to Len( oBrw:aselected) nAt := oBrw:aArrayData[ oBrw:aselected[n] ] aadd( acopy, aclone(nat)) next just an idea
by Silvio.Falconi
Wed Dec 06, 2023 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 7666
Next

Return to advanced search