topic
stringlengths
1
63
text
stringlengths
1
577k
xbrowse y tmysql
yo tarde una semana en agarrarle el modo a tmysql, pero tambien hay que resaltar la ayuda que me brindo el amigo willy. fue muy facil el saldo de dbf a sql. saludos willy.
xbrowse y totales
Hola a todos, Como hace rato no pregunto nada... pos aca la segunda inquietud, tengo un xbrowse y una columna calculada, pues cuando calculo esa columna NO refresca el footer que totaliza esa columna aqui el code : [code=fw:h9qin3te]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: ...
xbrowse y totales
Ariel... [code=fw:11sqh1wi]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">static</span> <span style="color: #00C800;">function</span> DelRow<span style="color: #000000;">&#40;</span> oBrw <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color...
xbrowse y totales
Como puedo obtener las sumas, datos o valores de los footers del xbrowse,
xbrowse+ADO NO REFRESCA EL BROWSE
Hola Amigos Tengo lo siguiente en un xbrowse con recordset de detalle si ya tiene registros y le agrego mas, lo muestra sin problema... peroooooo mi problema es al ingresar un maestro(cabecera) nuevo obviamente muestra el browse vacío y al irle agregando nuevos en el detalle no los muestra no refresca, mas si los gr...
xbrowse+ADO NO REFRESCA EL BROWSE
Hola Miguel Discúlpame si no lo entiendo, ya que no lo veo, añades registros ¿dónde? ¿en el Xbrowse, o en un diálogo y luego quieres ver el registro en el Xbrowse? Si lo añades en el Xbrowse, deberías de poner como lo haces, para que veamos, si podemos, por qué no se muestra. Y si lo haces en un diálogo lo más lógico...
xbrowse+ADO NO REFRESCA EL BROWSE
Gracias por tu interés Pedro y tienes razon debì ilustrarlos con mas codigo lo que se me vino a la mente es el que como funciona cuando ya existen registros del detalle solo les puse lo que hago cuando añado un maestro (cabecera) nuevo. [code=fw:14qua91m]<div class="fw" id="{CB}" style="font-family: monospace;"><br /...
xbrowse+ADO NO REFRESCA EL BROWSE
Hola Miguel No veo por ningún lado el fastedit ni el bpasteof(), tampoco en las columnas el bOnpostEdit. La verdad es que nunca he intentado grabar directamente sobre la tabla, ya que soy muy mal pensado y creo que el usuario es tan ¿==(=)/(%%$% que cuando está terminando el albarán o la factura, va y dice que quiere...
xbrowse+ADO NO REFRESCA EL BROWSE
Mr Miguel Salas After opening new recordset, you should assign it to oBrwDet:oRs := <newrecordset> and then call oBrwDet:Refresh()
xbrowse+ADO NO REFRESCA EL BROWSE
Hints for browsing Parent and Child tables with XBrowse using ADO. It is not necessary to close and reopen record set every time the row in parent table changes. It is easier to open full child table and keep changing oRsChild:Filter. Instead of using SQL INSERT statements, it is better to use RecordSet's AddNew() meth...
xbrowse+ADO NO REFRESCA EL BROWSE
Aqui tienes una versión actualizada de FiveDBU (incluye todo el código fuente) que añade registros correctamente en un recordset de ADO: [url:1imw1dqz]https&#58;//code&#46;google&#46;com/p/fivewin-contributions/downloads/detail?name=fivedbu_20130530&#46;zip[/url:1imw1dqz] Como puedes comprobar, añade registros y el b...
xbrowse+ADO NO REFRESCA EL BROWSE
Muchas gracias por sus respuestas , voy a revisar y les cuento, saludos
xbrowse+ADO NO REFRESCA EL BROWSE
Revisa el código de la funcion RSAppendBlank( oRS ) en fivedbu.prg
xbrowse+ADO NO REFRESCA EL BROWSE
checando sus recomendaciones detecté lo siguiente: no es solo en el browse detalle, limpiando la tabla padre, tampoco muestra el primer registro agregado,(lo hace cuando cierro el dialogo y entro de nuevo) entonces concluyo que es al crear un browse:setado(oRs) con un recordset vacío cuando no se refresca. estamos ce...
xbrowse+ADO NO REFRESCA EL BROWSE
Miguel, por qué no pruebas a crear un registro vacío en el recordset y lo modificas? Era lo que yo hacía cuando usaba el recordset a pelo y no me daba problemas.
xbrowse+tmysql Blank record
hi forum, somethig idea, i used xbrowse+tmysql(contrib) and this is my result, ever ever at the end append blank record, see image oBrw2 := TXBrowse():New( oDlg ) oBrw2:SetMySql( oQry2, .F. ) <!-- m --><a class="postlink" href="http://imageshack.us/photo/my-images/825/recblank.jpg/">http://imageshack.us/photo/my-imag...
xbrowse+tmysql Blank record
After creating xBrowse, [code=fw:2iom9ijb]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">bSkip</span> := <span style="color: #000000;">&#123;</span> |n,x| x := oBrw:<span style="color: #000000;">oMySql</span>:<span style="color: #000000;">RecNo</span><span style="color: #0...
xbrowse+tmysql Blank record
hi rao, i have this error: Error description: Error BASE/1081 Error de argumento: + Args: [ 1] = N 1 [ 2] = U variable "x" is NIL then no work.. regards paco
xbrowse+tmysql Blank record
Please try this revised code instead of the above: [code=fw:1ch9lgld]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">bSkip</span> := <span style="color: #000000;">&#123;</span> |n,x| x := oBrw:<span style="color: #000000;">oMySql</span>:<span style="color: #000000;">RecNo</s...
xbrowse+tmysql Blank record
RRAAOO,, many many thanks, simply amazing !!!! Works fine!!! where is the bug, in xbrowse.prg? thanks regards paco
xbrowse+tmysql Blank record
RAO, in xbrowse.prg in methos setmysql change: this -> DEFAULT ::bSkip := {| n | ::oMysql:Skip( n ) } and put this -> DEFAULT ::bSkip := { |n,x| x := ::oMySql:RecNo(), ; ::oMySql:GoTo( Max( 1, Min( ::oMySql:LastRec(), x + IfNil( n, 1 ) ) ) ), ; ...
xbrowse+tmysql Blank record
[quote="Francisco Horta":2ixjkrwe]RAO, in xbrowse.prg in methos setmysql change: this -> DEFAULT ::bSkip := {| n | ::oMysql:Skip( n ) } and put this -> DEFAULT ::bSkip := { |n,x| x := ::oMySql:RecNo(), ; ::oMySql:GoTo( Max( 1, Min( ::oMySql:LastRec(), x + IfNil( n, 1 ) )...
xbrowse font from footer
Mr. Linares, in xbrowse the font from footer are always the font from header! Please check the source from method PaintFooter. Wrong is oFont := ::oHeaderFont.
xbrowse mysql y los checkbox... como?
hola. tengo una tabla en mysql con un campo definido como TINyINT, lo definí asi porque no existe el boolean y necesito que en el xbrowse se vea con un checkbox, no logro hacer que dicho campo sea editable en el xbrowse. logre que se muestre como un checkbox haciendo esto: [code=fw:1yc38l4r]<div class="fw" id="{CB}" ...
xbrowse mysql y los checkbox... como?
Hola goosfancito Leete este post completo, alli encontraras un ejemplo, esta en ADO pero te servira, encontraras cosas importantes alli como el driver de MySql a usar y el tipo de dato a definir en la BD. <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=14911&start=0&hil...
xbrowse mysql y los checkbox... como?
[quote="Daniel Garcia-Gil":3uddo53y]Hola goosfancito Leete este post completo, alli encontraras un ejemplo, esta en ADO pero te servira, encontraras cosas importantes alli como el driver de MySql a usar y el tipo de dato a definir en la BD. <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/v...
xbrowse pintado de row completo?
cual es la data que hay que poner para que cuando mueva el cursor sobre una xbrowse marque toda la linea y no la celda? gracias.
xbrowse pintado de row completo?
Depende de lo que quieras que se vea marcado [code=fw:24bjtimo]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">DATA</span> nMarqueeStyle; &nbsp;<span style="color: #B900B9;">// Marquee style (row selected)</span><br />&nbsp; &nbsp; &nbsp; &nbsp; AS NUMERIC &nbsp; &nbsp; &nb...
xbrowse pintado de row completo?
es lo que utilizo, pero me marca la celda, no toda la linea y no estoy editando... [code=fw:23dofj7v]<div class="fw" id="{CB}" style="font-family: monospace;">  oBrw:= TXBROWSE<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">new</span><span style="color:...
xbrowse preserve existing filter.
Good day, By using the class xbrowse noticed that preexitentes filters were not being maintained during the call to xbrowse, I made a small change in class to solve the problem if you can add the xbrowse. I do not know if the code is well written, can adapt to better performace. Thank U. xbrowse.prg [code=fw:16yi...
xbrowse. bdata y array
hola. Quiero cambiar un valor en un xbrowse; intente esto y no da, como lo hago? [code=fw:3k6rur56]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; &nbsp; &nbsp; &nbsp; oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">6</span><span...
xbrowse. bdata y array
oBrw:aCols[6]:bEditValue
xbrowse. bdata y array
bedit no es para cuando se quiere editar la celda?
xbrowse. bdata y array
[quote="goosfancito":3m9mi35u]bedit no es para cuando se quiere editar la celda?[/quote:3m9mi35u] No bEditValue is the codeblock for the value to be shown. Note: Use of bStrData is deprecated years ago. Instead we should use bEditValue. bEditValue can also be a SetGet block.
xbrowse. bdata y array
ok. try.
xbrowse. cada vez que toma el foco vuelve a calcular?
Hola. Mi definicion: [code=fw:106hegra]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #000000;">AddCol</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WITH object :<span style="...
xbrowse. cada vez que toma el foco vuelve a calcular?
+1 esto sucede desde hace algunas versiones, creo q desde febrero o marzo en adelante Salu2, Ariel.
xbrowse. cada vez que toma el foco vuelve a calcular?
[quote="Ariel":1dt51gn3]esto sucede desde hace algunas versiones, creo q desde febrero o marzo en adelante[/quote:1dt51gn3] Me atreveria a decir que sucede desde siempre, es un comportamiento totalmente logico, pues las veces que un objeto toma el foco refresca su area visual, eso no exime al xbrowse, por ende cada ve...
xbrowse. cada vez que toma el foco vuelve a calcular?
[quote:2fkar3ko]Aparte el ejemplo mostrado por goosfancito no ayuda mucho, este intencificara el repintado, pues por cada "?" (msginfo) que muestra, el xbrowse pierde el foco y al quitar el msginfo retoma el foco y volvera a refrescarse[/quote:2fkar3ko] Probablemente asi ayudara a apreciar mejor el malefecto: [code=fw...
xbrowse. definir color pero en HEXADECIMAL (solucionado)
hola. como le digo al xbrowse que una celda debe ser pintada pero con este valor: #FFFFFF gracias. Hoy dia me cuesta pensar... aca la solucion. [code=fw:3jtj9al3]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">FUNCTION</span> hextoRGB<span style="color: #000000;">&#40;</span>s...
xbrowse.. y barras.
Estimados amigos.. trabajo con xbrowse.. FW13.2, xharbour,, usando tdolphin... el tema es que cuando genero el browse... no me aparecen o salen las barras horizontales y verticales... he intentado de todo pero no me salen, aca parte del codigo oBrw:=TxBrowse():New(oDlg) oBrw:nMarqueeStyle := MARQSTYLE_HIGHLR...
xbrowse.. y barras.
Yo lo hago desde el PellesC En el recurso pongo en Window Styles 0x50B00000 Saludos
xbrowse.. y barras.
Saludos, justamente uso Pelles, trabajaba con workshop y nunca me paso, pero con pelles si, disculpa la ignorancia.. en que parte puedo editar para colocar ese texto, o va en las propiedades del recurso, con workshop, se podia editar todo el recurso y aca no encuentro eso. Atte.,
xbrowse.. y barras.
[quote="kpidata":2umqt6yd]Saludos, justamente uso Pelles, trabajaba con workshop y nunca me paso, pero con pelles si, disculpa la ignorancia.. en que parte puedo editar para colocar ese texto, o va en las propiedades del recurso, con workshop, se podia editar todo el recurso y aca no encuentro eso. Atte.,[/quote:2umqt...
xbrowse...Color a cell
I need some code to color a cell on screen and print, in an xbrowse when there is a value in the cell. Thanks
xbrowse...Color a cell
Harvey,I don't understanding what you want but, this example changes the colors of a xbrowse row:[code:1ufjriag]oBrw&#58;bClrStd &#58;= &#123;|| iif&#40; empty&#40; oBrw&#58;aCols&#91;1&#93;&#58;Value&#40;&#41; &#41; &#41;, &#123; CLR_WHITE, CLR_HGRAY &#125;, &#123; CLR_BLACK, getSysColor&#40; 5 &#41; &#125; &#41; &#12...
xbrowse...Color a cell
Harvey,Maybe this is what you want?[code:35gfd5ir]FOR I = 1 TO LEN&#40;oBrw&#58;aCols&#41; oBrw&#58;aCols&#91;I&#93;&#58;bClrStd &#58;= &#123;|| &#123;CLR_BLUE, If&#40; DET->SDETAIL, CLR_YELLOW, CLR_WHITE&#41; &#125; &#125; NEXT[/code:35gfd5ir]Regards,James
xbrowse...Color a cell
Thanks for the replys. I've been out of town and not able to try suggestions. They don't seem to work.I need to color a cell (just one cell) when a variable is inacted. I'm using oBrw from resources. The variable is a calculation of several numeric variables. If the result is 500 or more, color the cell.[code:3cjp0iw...
xbrowse...Color a cell
try...[code:29i0s66p] FOR I = 1 TO LEN&#40;oBrw&#58;aCols&#41; oBrw&#58;aCols&#91;I&#93;&#58;bClrStd &#58;= &#123;|| If&#40; nVara-nVarb, &#123;CLR_BLUE, CLR_YELLOW&#125;, &#123;CLR_BLUE, CLR_WHITE &#125; &#41; &#125; NEXT [/code:29i0s66p]
xbrowse...Color a cell
[quote="hag":20b6imx4]I tried this: [code:20b6imx4] FOR I = 1 TO LEN&#40;oBrw&#58;aCols&#41; oBrw&#58;aCols&#91;I&#93;&#58;bClrStd &#58;= &#123;|| &#123;CLR_BLUE, If&#40; nVara-nVarb, CLR_YELLOW, CLR_WHITE&#41; &#125; &#125; NEXT [/code:20b6imx4] [/quote:20b6imx4]May be I'm missing something but... the function IF(...
xbrowse...Color a cell
Carlos is right, it needs to be a logical. Also, you need to use the data in the cell, rather than vars. Something like this:[code:3v96xdni]FOR I = 1 TO LEN&#40;oBrw&#58;aCols&#41; oBrw&#58;aCols&#91;I&#93;&#58;bClrStd &#58;= &#123;|| &#123;CLR_BLUE, If&#40; val&#40;eval&#40;oBrw&#58;aCols&#91;i&#93;&#58;bStrData&#41;...
xbrowse...Color a cell
Hello James,What happens after Col-swapping ?I think, it has to be a function.[img:1o4yu1dv]http&#58;//www&#46;pflegeplus&#46;com/pictures/cellcolor1&#46;jpg[/img:1o4yu1dv][img:1o4yu1dv]http&#58;//www&#46;pflegeplus&#46;com/pictures/cellcolor2&#46;jpg[/img:1o4yu1dv]RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/ico...
xbrowse...Color a cell
Uwe,Good point. It would be better to define it when defining the column.[code:22k16763]oCol&#58;bClrStd &#58;= &#123;|| &#123;CLR_BLUE, If&#40; val&#40;eval&#40;oCol&#58;bStrData&#41;&#41;>500 , CLR_YELLOW, CLR_WHITE&#41; &#125; &#125;[/code:22k16763]James
xbrowse...Color a cell
Thanks all Still having problems:It colors the row perfectly with this code:[code:1yhtrn0n] oBrw&#58;bClrStd &#58;= &#123;|| &#123;CLR_BLACK,CLR_WHITE, If&#40; nVara-nVarb > 500, CLR_YELLOW, CLR_WHITE&#41; &#125; &#125; [/code:1yhtrn0n]I can't get the color confined to a single cell. I'm using xbrowse, column browse ...
xbrowse...Color a cell
oBrw:aCols[ [b:2rv7nq83]n[/b:2rv7nq83] ]:bClrStd := {|| {CLR_BLACK,CLR_WHITE, If( oBrw:aRow[ [b:2rv7nq83] z [/b:2rv7nq83] ] > 500, CLR_YELLOW, CLR_WHITE) } }n = column get singel cell z = column into row to evalue (cell)it evalue cell by cellmy case...oBrw:aCols[ 3 ]:bClrStd := { ||{ CLR_BLACK,if (oBrw:aRow[ 1 ] = "NB...
xbrowse...Color a cell
Thanks for all the help. I have it working to highlight row but not single cell. aCol[] and aRow[] is the problem. How do i get the number of the array elements for these?
xbrowse...Color a cell
Cell-color for a certain field-value :[img:2fe5n1di]http&#58;//www&#46;pflegeplus&#46;com/pictures/brwcell1&#46;jpg[/img:2fe5n1di][code:2fe5n1di] #include "FiveWin&#46;ch" #include "xbrowse&#46;ch" #define WID 350 #define HGT 200 REQUEST DBFCDX function Main&#40;&#41; local oDlg, oBrw , oCol, nFor DEFINE F...
xbrowse...Color a cell
Uwe and all:My issue seems to be that I'm not using oCol:addCol() to set up colums. I'm using ADD COLUMN for each column and the oCol:bClrStd doesnt work. I'm using oBrw:bClrstd which places the color on the entire row. Is there a way to have it color the cell when using ADD COLUMN?
xbrowse...Color a cell
ADD COLUMN oCol TO oBrw...oCol:bClrstd:=...
xbrowse...Color a cell
James and all others thanks for the help. James: I'll send some code but so far not working.
xbrowse: caps lock plus scroll down buttons
Hello, should select multiple rows with caps lock plus scroll down button work in xBrowse? Thanks in advance Otto
xbrowse: caps lock plus scroll down buttons
Otto As you probably know you have to use the MargueeStyle below to turn on the mult-row select .. caps lock and scroll does not work but, the standard Hi-Lite first row and Shift and Click on the last row does select all rows in-between. Hope that helps? Rick Lipkin [code=fw:1ymxqevy]<div class="fw" id="{CB}" styl...
xbrowse: picture
Hola: estoy usando xbrowse y no se cómo darle formato a los campos para que me los muestre bien en el browse x que esto oCol:cEditPicture:="@z 999,999.99" lo respeta solo en la edición hay alguna manera de hacerlo? necesito que me muestre blancos cuando es cero.. sldos Silvina
xbrowse: picture
Yo lo tengo así : oCol:bEditValue :={|| (v:POL:cAlias)->z0Cta } oCol:cEditPicture:='@Z 999,999,999.99' funciona muy bien, tal vez tengas oCol:bStrData en lugar de oCol:bEditValue. saludos!!
xbrowse: picture
no entendí los parámetros que son, te recuerdo que lo que quiero es el picture en el browse no en la edición.. [quote="Joel Andujo":2evd8yqq]Yo lo tengo así : oCol:bEditValue :={|| (v:POL:cAlias)->z0Cta } oCol:cEditPicture:='@Z 999,999,999.99' funciona muy bien, tal vez tengas oCol:bStrData en lugar de oCol:bEd...
xbrowse: picture
umm, revisando el codigo me encuentro: [code=fw:1ht2lhfn]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp;<span style="color: #00C800;">DATA</span> xEditPicture <span style="color: #00C800;">PROTECTED</span> &nbsp;<span style="color: #B900B9;">// Picture mask to be used for Get editing and d...
xbrowse: picture
Intenta con esto: [code=fw:vtylpg3e]<div class="fw" id="{CB}" style="font-family: monospace;">XbrNumFormat<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'A'</span>, .t. <span style="color: #000000;">&#41;</span><br /><br />@<span style="color: #000000;">1</span>,<span style="color: #000000;">1...
xbrowse: picture
Hola, no se, para que sirve XbrNumFormat ? no hace nada... lo que yo quiero es formatear las columnas, poner el picture en los importes para que me muestre la columna como yo quiera o sea, no el ceditpicture no lo respeta, calculo que es solo para la edición [quote="FranciscoA":1dugf9em]Intenta con esto: [code=fw:1du...
xbrowse: picture
Silvina Has intentado con TRANSFORM [code=fw:ja2xfefp]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oCol:<span style="color: #000000;">bEditValue</span> :=<span style="color: #000000;">&#123;</span>|| TRANS<span style="color: #000000;">&#40;</span>CAMPO,<span style="color: #ff0000;">"@Z 999,999.99) ...
xbrowse: picture
no sé si se entendió la pregunta, quiero ponerle un formato para mostrar en el browse, no para la edición... si, utilizando trans() funciona pero me transforma la columna de nca a alfanca y luego no la reconoce el maketotal , etc [quote="acuellar":1loanjha]Silvina Has intentado con TRANSFORM [code=fw:1loanjha]<div c...
xbrowse: picture
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 )
xbrowse: picture
Esto es lo que buscas: [quote:26vwjluj] WITH OBJECT ::oBrwCab:TotalVenta :nHeadStrAlign:= :nDataStrAlign:= AL_RIGHT :nWidth := 85 [b:26vwjluj]:cEditPicture:= "@E( 999,999,999.99"[/b:26vwjluj] END [/quote:26vwjluj]
xbrowse: too many recoursive handler calls error
Hi, a customer reported me the error in subject that was appairing after pressing the xbrowse scroll bar. I have been unable to repeat this problem.This is the image of the error:[img:3vggyxlt]http&#58;//www&#46;softwarexp&#46;co&#46;uk/beta/error&#46;gif[/img:3vggyxlt]Any ideas ?Thanks in advance.
xbrowse: too many recoursive handler calls error
Marco,Unfortunately, the first error is not visible. The second error is caused by the error handler processing the same error over and over.Can the customer repeat the error? If so, can you get them to send you a screenshot showing the first error?James
xbrowse: too many recoursive handler calls error
Unfortunately, when such errors occur, there is no way to stop the loop in errorsys. Also __sometimes__ when there are array bound problems, error appears without any clue about the offending code.These situations are very difficult to handle. I find no other way except to start with simplest code ( commenting out man...
xbrowse: too many recoursive handler calls error
many times the error.log is generated with the original error, try reviewing it.
xbrowse: too many recoursive handler calls error
Maybe this error is the same as reported on 24/6/2006. I had never a answer and made some changes in the source from xbrowse to avoid the problem :On 24/6/2006 i reported (Bug report and fixes)Using xbrowse , i have problems with bPasteof() when the verical scroll bar is used . This bar can be used to scroll trough the...
xbrowse: too many recoursive handler calls error
Frank and others,When you post a question and you don't get an answer, please insist and also email me directly.Sometimes we miss to answer questions, and the only way to get an answer is to insist asking for a solution, unless we publically comment that we don't know how to solve it yet.We are going to review this iss...
xbrowse: too many recoursive handler calls error
If we keep pressing the down arrow of the vertical scroll bar, method godown is executed so many times and naturally the bPastEof is evaluated as many times as we keep the arrow button pressed. I think we need to expect this.
xbrowse: too many recoursive handler calls error
Here is a very simple program to append new records using bPastEof. The sample uses sales.dbf in the fwh\samples folder.[code:10n56s7t] #include 'fivewin&#46;ch' #include 'xbrowse&#46;ch' //----------------------------------------------------------------------------// function Main&#40;&#41; local oWnd, oBrw ...
xbrowse: too many recoursive handler calls error
Frank,Besides Nageswararao's excellent example, here you have your modified code so it properly works:[code:1655slo6] #include 'fivewin&#46;ch' #include 'xbrowse&#46;ch' function Main&#40;&#41; local oChild, oBrw, oCol local nFor use sales alias test DEFINE WINDOW oWnd TITLE "Auto edit browse" ...
xbrowse: too many recoursive handler calls error
Marco,Please check your error.log file and find the first error that generates the recursive error. Thanks,
xbrowse: too many recoursive handler calls error
I required the error.log to my customer.I will know you as soon as I will receive it. Thanks to all.
xbrowse: too many recoursive handler calls error
[quote="nageswaragunupudi":72qz9cee]If we keep pressing the down arrow of the vertical scroll bar, method godown is executed so many times and naturally the bPastEof is evaluated as many times as we keep the arrow button pressed. I think we need to expect this.[/quote:72qz9cee]Excuse me , but i sayed 'clicked' , not 'p...
xbrowse: too many recoursive handler calls error
>>Excuse me , but i sayed 'clicked' , not 'pressing'>>Yes. Clicking more than once. Pressing amounts to clicking more than once.>>the user expects that bpasteof will be executed only one time>>Definitely so. Thats what we should take care of in our code. Both the above examples handle this properly.>>>> ...
xbrowse: too many recoursive handler calls error
[quote="nageswaragunupudi":2nif0zp3]>> >>>> # ifdef FRANKDEMONT IF PROCNAME(1) <> "TXBROWSE:VSCROLL" Eval( ::bPastEof ) END # else Eval( ::bPastEof ) # endif >>>> This means, pressing down arrow button on vertia...
xbrowse: too many recoursive handler calls error
Hi all,pls. find as follows the error.log info about this error.Any ideas ?Application=========== Path and name: C:\pigc\pigc.exe (32 bits) Size: 7,785,256 bytes Time from start: 26 hours 34 mins 22 secs Error occurred at: 29/07/08, 18:37:54 Error description: Error BASE/1132 Bound error: array access Arg...
xbrowse: too many recoursive handler calls error
Can you please let us know the FWH version? The line number in the error log does not correspond to any executable code either in 8.06 or 8.07.In any case, since the error is in oBrw:aRow method, it appears that ::nArrayAt is 0 (Zero) at the time of the call. A relook into the code is needed.
xbrowse: too many recoursive handler calls error
Hi,I'm using FWH May 2008.The problem appairs in the row METHOD aRow INLINE ( ::aArrayData[ ::nArrayAt ] )The strange is that I didn't make any changes on the nArrayAt value,the error start from a simply sysrefresh().In order to increase the selection speed I made in my function a routine that execute ...
xbrowse: too many recoursive handler calls error
Frank,> what is your opinion on this matter ?Windows has its own rules to generate and manage events. If Windows allows to click several times and keep generating an event, then we have to adapt our code to Windows.
xbrowse: too many recoursive handler calls error
Marco,This could be a possible temporary workaround:METHOD aRow INLINE ( ::aArrayData[ Max( ::nArrayAt, 1 ) ] ) orMETHOD aRow INLINE If( Len( ::aArrayData ) > 0, ::aArrayData[ Max( ::nArrayAt, 1 ) ], "" ) // maybe nil instead of ""Please try it and lets see what further info we get
xbrowse: too many recoursive handler calls error
I just sent to my customer an update with the turn-around.I will know you if the problem still appairs.Thanks for the support.
xbrowse:brwfitsize(.T.)
[code=fw:n9lxnl7i]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"xbrowse.ch"</span><br />PROC MAIN<span style="color: #000000...
xbrowse:brwfitsize(.T.)
Glad to see somone using this method. The method was originally written for one time use initially to adjust sizes. Your use of this method is interesting. Incorporated your suggestion in the next release.
xbrowse:brwfitsize(.T.)
[quote="nageswaragunupudi":15o96vta]Glad to see somone using this method. The method was originally written for one time use initially to adjust sizes. Your use of this method is interesting. Incorporated your suggestion in the next release.[/quote:15o96vta] Thanks for your kind words. Another possible solution is t...
xbrowse:cHeader
Desde hace bastante tiempo se puede llamar a las columnas de xbrowse con Llamada a la columna de xbrowse con oBrw:cHeader en lugar de usar oBrw:oCol( <cHeader> ) El problema es que ahora tengo que cambiar el nombre de algunas columnas durante la ejecución, y por tanto el sistema genera errores. Ejemplo: La columna "De...
xbrowse:cHeader
Fernando, Aunque Rao es el gran expero de XBrowse, en mi opinión se está usando el METHOD OnError( uParam1 ) CLASS TXBrowse Prueba a poner un MsgInfo() ahí y debería llamarse en esos casos
xbrowse:cHeader
Antonio, Sí figura ahí la sustitución. Muchas gracias por tu ayuda.
xbrowse:cHeader
Yo no las llamo por el nombre sino por el numero de la columna, asi si cambia el nombre es transparente, lo uso asi, nose si eso te ayude...saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> oBrw:aCols[nCol]
xbrowse:cHeader
Muchas gracias José Luis, Antes también lo usaba así. Llamando por el número de la columna. Pero eso conllevaba 2 problemas: 1º Que cambien el orden de las columnas. 2º Con el tiempo, al leer el código, saber que columna es la que estoy modificando, ya que sólo veía oBrw:aCols[ nCol ] La mejor solución que encontré ...