topic
stringlengths
1
63
text
stringlengths
1
577k
xBrowse - ToolTip em BOTÃO
Karinha, gostaria do TOOLTIP apenas no botão da coluna, não na coluna entende. obrigado de qualquer forma
xBrowse - ToolTip em BOTÃO
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=34818">viewtopic.php?f=6&t=34818</a><!-- l -->
xBrowse - ToolTip em BOTÃO
This code [code=fw:3sp7jqp2]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp;oBrw:<span style="color: #000000;">bToolTips</span> := <span style="color: #000000;">&#123;</span> | oBrw,r,c,f,oMouseCol,nMouseRow| MyColToolTip<span style="color: #000000;">&#40;</span> oBrw,r,c,f,oMouseCol,nMouseRow <span st...
xBrowse - Tooltip
Gente: Tengo el siguiente browse [img:1fcfevyk]http&#58;//imageshack&#46;com/scaled/medium/401/fd14&#46;jpg[/img:1fcfevyk] El acceso, mediante boton de la columna Banco, abre otro Browse para selección. Devuelve un array con código y descripción, el código se visualiza la lado del boton (como se ve arriba). Hasta aquí...
xBrowse - Tooltip
Mario, creo que esto puede llegar a darte una idea de como hacerlo. El FW Samples\TestxBr3.prg tiene una función ShowFunction() que adaptándola te puede llegar a servir. No tengo una PC a mano para probar pero fijate. Un gran brazo amigo. Miguel
xBrowse - Tooltip
A ver Marito si esto te sirve. Tomado de ejemplos de FH (XbRowEd.Prg y TestxBr3.prg chusmeando los prg se puede llegar a encontrar cada joyita .... Grande ANTONIO !!!) con algunas modificaciones. Hay que pulir un poco el código, (lo hice medio a las disparadas) pero te puede dar una idea. [code=fw:177fwpz2]<div class=...
xBrowse - Tooltip
Miguelito querido! Muchas gracias. Muy bueno el Tip Lo estoy estudiando a ver si se puede adaptar Hay que "inventar" una reunión! <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
xBrowse - Tooltip
2do. ejemplo un poco mas sofisticado [code=fw:baino550]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">/*<br />*<br />* XbRowEd.Prg<br />*<br />* Using oBrw:CurrentRow() object for popup edits<br />*<br />*/</span><br /><br /><br /><span style="color: #00D7D7;">#include</span> <...
xBrowse - Tooltip
Miguel; Muchas gracias por tu tiempo! Interesante la función. Ahora bien, en mi pretensión, la idea es que funcione como un Tooltip (el que por lo que observo, no funciona al señalar una celda, sino que lo hace sobre la cabecera). O sea, la idea es que al señalar un "celda" que contiene un código, muestre su descripció...
xBrowse - Tooltip
Mario, Yo lo tengo implementado, asi como dices tu, un tooltip que devuelve un texto variable sobre las lineas de cuerpo del browse, pero para la clase TSBrowse(). Mi clase TSBrowse(), literalmente, "da miedo" por la cantidad de cambios y hackings que tiene. Basicamente, como lo tengo, es interviniendo el metodo :Mous...
xBrowse - Tooltip
[quote="MarioG":cnst4fyy]Miguel; Muchas gracias por tu tiempo! Interesante la función. Ahora bien, en mi pretensión, la idea es que funcione como un Tooltip (el que por lo que observo, no funciona al señalar una celda, sino que lo hace sobre la cabecera). O sea, la idea es que al señalar un "celda" que contiene un códi...
xBrowse - Tooltip
Hola Creo que la clase TXBrwColumn de XBrowse tiene una DATA bToolTip Este es el código que aparece con los parámetros que son pasados al codeblock [code=fw:3mynx6vv]<div class="fw" id="{CB}" style="font-family: monospace;"><br />cTxt := eval<span style="color: #000000;">&#40;</span> oCol:<span style="color: #000000;"...
xBrowse - Tooltip
Rolando, gracias! Lo uso en botones... pero estoy contra reloj... asi es que quedará como tarea pendiente
xBrowse - Tooltip
hmpaquito. Muchas gracias por tu interés Miguel: Que torpe!. No miré la declaración de DBLCLIC en el XBROWSE CNavarro: gracias!. Lo estoy probando
xBrowse - Tooltip
Mario, si le agregas a [code=fw:2zr3gpbc]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> CreateButtons<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TXBrwColumn<br /><br />...<br /><b...
xBrowse - Totales en footers
Antonio: Si fuera posible hacer los footers el xBrowse con la posibilidad de colocar totales de las columnas. Saludos y Gracias Ruben Fernandez
xBrowse - bSeek Ayuda
Amigos:Necesito un ejemplo de un xBrowse que al digitarun nombre se mueva el browse hasta el nombre ese que se digitaMuchas gracias.(Disculpen, me estoy cambiando de Browse)Saludos y GraciasRuben Fernandez
xBrowse - bSeek Ayuda
Hola Rubén:A ver si es esto lo que estás buscando:[code:16oc8sed] &#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46; REDEFINE GET oGet VAR cText ID 801 PICTURE "@!" OF oDlg; ON CHANGE &#40; Self&#58;Assign&#40;&#41;,; Locator&#40;""+SubStr&#40;cText,1,Self&#58;nPo...
xBrowse - bSeek Ayuda
Gracias Manuel:Lo pruebo y te aviso.Gracias y SaludosRuben Fernandez.
xBrowse - bSeek Ayuda
Manuel:Funciono perfecto, ahora deseo enmcontrar la funcion similar del twBrowse de HDC para xBrowse. No necesita tener un get,solo digitar lo que buscas.Muchas gracias, por ahora esta solucionadoSaludosRuben Fernandez.
xBrowse - bSeek Ayuda
Usando bkeydown podrías conseguirlo. La siguiente función te desplaza el browse según la letra que digitas. Con algunas modificaciones creo que te servirá para implementar lo que buscas.[code:1o6mjq7u] &#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46; oLbx&#58;bkeydown&#58;=&#123;|nKey|DO...
xBrowse - bSeek Ayuda
Manuel:Espectacular, muchas gracias.SaludosRuben Fernandez
xBrowse - bSeek Ayuda
Lo que te comenta Manuel esta bien y seguro que funciona, pero para xBrowse lo ideal sería emplear sus Datas y metodos que proporciona para busquedas.Lo primero crear un objeto say, que irá visualizando la cadena de busqueda.Una vez creado el say, añades las siugientes lineas, y ya tienes la busqueda implementada.[code...
xBrowse - bSeek Ayuda
Muchas gracias Biel. Va uno heredando código antiguo, que aunque funciona, no es lo mejor.
xBrowse - bSeek Ayuda
Gracias Biel.SaludosRuben Fernandez.
xBrowse - beditblock (RESOLVIDO)
Para validar eu pego o valor do GET ASSIM: obRW:aCols[4]:bEditValid := {|oGet| validget(oGet)} E para avaliar code block get_button corrente: ex: obRW:aCols[6]:nEditType := EDIT_GET_BUTTON obRW:aCols[6]:bEditBlock := {|oget ??? | validget(oget) } Como fazer? Grato
xBrowse - beditblock (RESOLVIDO)
O pessoal, preciso de um help... Como eu chamo uma função com a beditblock e carrego o get corrente com o valor retornado, já forçando um enter para validar o campo... Heeeeeeeeelp Grato
xBrowse - beditblock (RESOLVIDO)
RESOLVIDO
xBrowse - bmp en columna (SOLUCIONADO)
Amigos, FELIZ 2015 y sobre todo muuuucho codigo (vendido! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->) Intento mostrar en un xbrowse de campos de dbf, una columna con un bmp, bajo condición de seleccion Se que puedo hacerlo con un campo verdadero/falso, pero mi por raz...
xBrowse - bmp en columna (SOLUCIONADO)
This is another alternative: [code=fw:3h01cel0]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">local</span> oDlg, nAt, aSelected := <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span> <br /><br /><span style="color: #0000ff;">REDEFINE</span> <sp...
xBrowse - bmp en columna (SOLUCIONADO)
Sin novedad? <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> No se entiende o no se puede?
xBrowse - bmp en columna (SOLUCIONADO)
GREAT! many thanks!!
xBrowse - bmp en columna (SOLUCIONADO)
La manera que pretendía! (Another way!): [code=fw:12f4jz29]<div class="fw" id="{CB}" style="font-family: monospace;">    <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oLstChq <span style="color: #0000ff;">ID</span> BRW_XBRW <span style="color: #0000ff;">OF</span> oDlg ;<br /...
xBrowse - bug?
I have a databases with just one field When I move the horizontal thumb to the right I get the following error: Error description: Error BASE/1132 Bound error: array access Args: [ 1] = A { ... } [ 2] = N 0 Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:TXBROWSE(418) Called...
xBrowse - bug?
Yes this is a bug while browsing a single column. Horizontal scroll is only used by xbrowse for skipping column to column. It is not used for scrolling text in a single wider column. Anyway the horizontal scroll bar does not serve your purpose. Let us await bug-fix. Till then disable horizontal scroll bar for single c...
xBrowse - busqueda incremental (SOLUCIONADO)
Buen dia Gente trillado tema... <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> He definido un xBrowse así: [code=fw:9ex0dz40]<div class="fw" id="{CB}" style="font-family: monospace;">   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</sp...
xBrowse - busqueda incremental (SOLUCIONADO)
[quote:zl39vwp0]SELECT ID,TUTOR1 FROM BDF2WS01 WHERE FEAFIP1 UNION SELECT ID,TUTOR2 FROM BDF2WS01 WHERE FEAFIP2 ORDER BY TUTOR1 [/quote:zl39vwp0] estimado, los WHERE estan bien?, no me parece una expresio valida. <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> has probado e...
xBrowse - busqueda incremental (SOLUCIONADO)
Carlos; muchas gracias por interesarte en el tema. La sentencia es correcta, la descubrí por casualidad en algun momento que no escribi: CampoLogico=TRUE y no dió error (tal como la seguí escribiendo hasta ahora). Al parecer funciona a partir de ADS 10.x Aunque si queremos estar seguro nada mejor que indicar la igualda...
xBrowse - busqueda incremental (SOLUCIONADO)
Sip, es que la instruccion sql es mas legible si indicas la igualdad, siempre a la orden.
xBrowse - búsqueda incremental
Estimados: Algo hago mal y no puedo encontrarle la vuelta Pretendo buscar en una DBF que la abro mediante tDBF (de M. Exposito) Cuando tecleo, no se mueve el cursor, como tampoco muestra lo que escribo en el SAY puesto al efecto [code=fw:3vdfh12o]<div class="fw" id="{CB}" style="font-family: monospace;">   <span style=...
xBrowse - búsqueda incremental
Hola Mario, lo hago asi en la version 1204: [code=fw:9n30v0rh]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; WITH OBJECT oBrw<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">nMarqueeStyle</span> &nbsp; &nbsp;:= MARQSTYLE_HIGHLROW &nbsp;<span style="color: #B900B9;">//_HIGHLROWMS</span><br />...
xBrowse - búsqueda incremental
Francisco La metodología funciona, muchas gracias! Lo que me confunde es que en los samples (pocos), no usan :bSeek Saludos
xBrowse - búsqueda incremental
Continúo con este tema ya que si bien he solucionado la búsqueda incremental con lo sugerido por Horacio, luego. mirando el sample: xbincflt.prg, y luego de muchas pruebas, finalmente, consigo la búsqueda con el siguiente código: [code=fw:3my3nkva]<div class="fw" id="{CB}" style="font-family: monospace;">   <span style...
xBrowse - búsqueda incremental
Sin solución para esto?
xBrowse - búsqueda incremental
Mario, Deberías por favor proporcionar un ejemplo autocontenido para que el equipo de Fivetech lo mire. Siempre que he tenido un problema les facilito el ejemplo para que lo puedan reproducir <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->.
xBrowse - búsqueda incremental
Lucas, gracias por la recomendación. Lo estoy preparando
xBrowse - control de combinacion de teclas
Hola Gente; En un xBrowse tengo lo siguiente [code=fw:10x2rr7i]<div class="fw" id="{CB}" style="font-family: monospace;">      oBrw:<span style="color: #000000;">bKeyDown</span>:= <span style="color: #000000;">&#123;</span>|nK| <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> GetKeyStat...
xBrowse - control de combinacion de teclas
[code=fw:bk39o3rv]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">bKeyDown</span> := <span style="color: #000000;">&#123;</span> | nKey | StdKey<span style="color: #000000;">&#40;</span> nKey <span style="color: #000000;">&#41;</span> <span style="color: #...
xBrowse - control de combinacion de teclas
Gracias Karinha!!
xBrowse - dbSeek
If there is no index order selected and you use oxBrw:bSeek := {|c| DbSeek( Upper( c ) ) } xBrowse crashes. Perhaps xBrowse could handle this. I use oxBrw:bSeek := {|c| iif( indexord() > 0,; DbSeek( Upper( c ) ) ,( msginfo("keine Sortierung ausgewähl...
xBrowse - dbSeek
Otto, With what error? You should either be using alias referencing or better, a database object. James
xBrowse - dbSeek
Hello James, thank you for your answer. Workarea not in use. I only think that xBrowse should handle such input errors and act like a blackbox. You can reproduce what I mean if you insert a set order to before: oxBrw:bSeek := {|c| DbSeek( Upper( c ) ) } Best regards, Otto Best regards, Otto
xBrowse - dbSeek
Otto, Try this: oxBrw:bSeek := {|c| (::cAlias)->(DbSeek( Upper( c ) )) } Take a look at TXBrowse:setRDD(). If you use that and set lAutoOrder =.t. then you bSeek will be set automatically by xbrowse. James
xBrowse - dbSeek
[quote:2nac3ime]oxBrw:bSeek := {|c| (::cAlias)->(DbSeek( Upper( c ) )) }[/quote:2nac3ime] Even this fails if no order is set. XBrowse assigns a default bSeek only when lAutoOrder is specified. When we specify lAutoOrder, it is better to leave the responsibility of defining bSeek to XBrowse. If lAutoOrder is not speci...
xBrowse - drag & drop
Could someone please test: For me oBrw:oDragCursor := oCursor does only show the oCursor if the mouse is inside the rowselector column. Best regards, Otto
xBrowse - drag & drop
can have a small test to test it ? have you seen this <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=17893&p=93466#p93466">viewtopic.php?f=3&t=17893&p=93466#p93466</a><!-- l --> ? it run ok but if I use 4 group and 4 xbrowse on different folders it not run Perhaps you...
xBrowse - drag & drop
[quote="Otto":2vwean31]Could someone please test: For me oBrw:oDragCursor := oCursor does only show the oCursor if the mouse is inside the rowselector column. Best regards, Otto[/quote:2vwean31] For me drag cursor is working even when the mouse is in data area. May I know which version are you using? What you said w...
xBrowse - drag & drop
Hello Mr. Rao, Now I tested with the last FWH release and all works as suspected. Thank you for your help. Best reagrds, Otto
xBrowse - drag - getfocus - error
I have 2 xBrowse on a WINDOW. If you click inside the left and then in the right xBrowse xBrowse the drag mode starts although you don’t hold down the mouse key. When the twin browses are on a dialog there is no problem. But the problem is when the browses are on a window. Thanks in advance Otto [code=fw:2bok7u4...
xBrowse - drag - getfocus - error
I too confirm the problem. The problem is only when the window is activated in MAXMIZED mode, not when activated normally.
xBrowse - drag - getfocus - error
I began to log control.prg, windows.prg and xbrowse: This is what I found so fare: This is when I stay inside the xBrowse and click on different rows: [quote:1b4cyg9c]06.10.2010 12:31:20: LButtonDown xbrowse##### 06.10.2010 12:31:20: -(4)--->><LButtonDown xbrowse##### return Super:LButtonDown 06.10.2010 12:31:20: C...
xBrowse - drag - getfocus - error
Mr. Otto please comment the SysRefresh in METHOD LButtonDown( nRow, nCol, nFlags ) CLASS TXBrowse [code=fw:3vzti55l]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #B900B9;">// &nbsp; &nbsp; SysRefresh()</span></div>[/code:3vzti55l] (just only one) test this change please
xBrowse - drag - getfocus - error
Mr. Otto please comment the SysRefresh in METHOD LButtonDown( nRow, nCol, nFlags ) CLASS TXBrowse [code=fw:3t0rajmu]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #B900B9;">//     SysRefresh()</span></div>[/code:3t0rajmu] (just one) test this change please
xBrowse - drag - getfocus - error
Hallo Daniel, thank you so much. The problem is solved. Best regards, Otto
xBrowse - dumb question
Hello Everyone, Sorry for asking this question, I have not been able to find exact answer on forum or in sample code. 1. How do I highlight entire xBrowse row? At this point I am only able to highlight individual cells. 2. I am using ADO to connect to SQL, after I insert a new record, I would like cursor position of...
xBrowse - dumb question
Darrell, 1. oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROW
xBrowse - dumb question
Darrell, 2. Basically you have to do this (thats what we do and works in FWH samples FiveDBU.prg): [code=fw:22k9qi3p]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> RSAppendBlank<span style="color: #000000;">&#40;</span> oRS <span style="color: #000000;">&#41;</...
xBrowse - dumb question
Daniel [quote:3k91xenk] 1. How do I highlight entire xBrowse row? At this point I am only able to highlight individual cells. [/quote:3k91xenk] [code=fw:3k91xenk]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oLbx:<span style="color: #000000;">nMarqueeStyle</span> := MARQSTYLE_HIGHLROW<br /> </div>[/co...
xBrowse - dumb question
Darrell, 3. You use bookmarks. Basically: local nAt := oRs:BookMark ... oRs:BookMark = nAt FWH xbrowse provides a Method that automatizes all that (including the refresh of the browse): local nAt := oBrw:BookMark ... oBrw:BookMark := nAt
xBrowse - dumb question
Awesome! Thank you so much!
xBrowse - edit
Hi all, how can I change the possibiltiy to edit a value on the fly depending on special condition ? If the condition is .t., user can edit, if it is .f. editing is not allowed. So the permission to edit changes from row to row. oBrw:aCols[3]:nEditType := IIF (oBrw:aCols[2]= 0, EDIT_NONE, EDIT_GET) is not working.
xBrowse - edit
Stefan, Try to use oBrowse:bChange to do it: oBrw:bChange := { || oBrw:aCols[3]:nEditType := IIF (oBrw:aCols[2]= 0, EDIT_NONE, EDIT_GET) }
xBrowse - edit
How can oBrw:aCols[2] be Zero ?
xBrowse - edit
Antonio, that´s it, it´s working perfectly <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Thanks. NageswaraRao, I´m browsing an array and the value on the second position (that is the second column) is zero. But you are right, exactly I should write Eval(oBrw:aCo...
xBrowse - edit
Nedittype change into block, that is very good. obrow:acols[2]:nedittype:={||mycondition} Some other codes change ocol:nedittype into if(valtype(ocol:nedittype)=="B",eval(ocol:nedittype),ocol:nedittype) Regards! Shuming Wang
xBrowse - edits of dbf doesn't stick
What am I missing? i. Whatever value I keyed-in doesn't stick (in other words, not saved). ii. The combobox displays 'Sunday' as 'Su' only. Here's a self-contained sample. [code=fw:2tobw5dc]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="colo...
xBrowse - edits of dbf doesn't stick
[quote="hua":3bq87y2s]ii. The combobox displays 'Sunday' as 'Su' only.[/quote:3bq87y2s] [code=fw:3bq87y2s]<div class="fw" id="{CB}" style="font-family: monospace;"> <br />fields person-><span style="color: #000000;">&#40;</span>recno<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><s...
xBrowse - edits of dbf doesn't stick
Thanks Patrizio. That's an embarrassing mistake <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> . Just shows the more one rush the later will it be finished <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->. Anyone ...
xBrowse - edits of dbf doesn't stick
Coded the xBrowse part this way [code=fw:1ot27vzb]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; <span style="color: #0000ff;">redefine</span> <span style="color: #0000ff;">xbrowse</span> oBrw <span style="color: #0000ff;">id</span> <span style="color: #000000;">13</span> <span style="color: #00...
xBrowse - error en con los footer y font
Hola a todos: Tengo un problema grave con los footer al usar la clase xbrowse. 1) Lo que sucede es que no reconoce un font de diferente tamaño al que esta definido para el browse. Parte del codigo es el siguiente: [code:1qhix76x] DEFINE FONT aFont&#91;1&#93; NAME "Wingdings" SIZE 0, -32 BOLD DEFINE FONT a...
xBrowse - error en con los footer y font
Hola Juan: Contestando a tus dos cuestiones: (1) Sí, es un 'bug', se corrige fácilmente en la clase xBrowse cambiando la línea 3610 del METHOD PaintFooter() donde pone: [code:kpd1hjnl]oFont &#58;= &#58;&#58;oHeaderFont[/code:kpd1hjnl]debe poner: [code:kpd1hjnl]oFont &#58;= &#58;&#58;oFooterFont[/code:kpd1hjn...
xBrowse - error en con los footer y font
Ramón, te agradezco MUCHISIMO tu AYUDA. Estaba bien complicado, con ese error. Y no sabía como hacerlo, muchas gracias de nuevo. Las otras sugerencias, las voy a aaplicar tambien <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> . Saludos,
xBrowse - extractline - speed
function ExtractLine( cText, nFrom ) I found out that if I use instead of nAt := At( CRLF, SubStr( cText, nFrom ) ) nAt := At( CRLF, cText, nFrom ) the speed of the function is much better. Is it save to remove SubStr here? Thanks in advance Otto function ExtractLine( cText, nFrom ) local cLine, nAt nA...
xBrowse - extractline - speed
[quote:o8bcrw5g]Is it save to remove SubStr here?[/quote:o8bcrw5g] Yes in xHarbour. This extended syntax is not supported by Harbour ( to my knowledge )
xBrowse - frames request
Hi, I have a request to add a new option in xbrowse(). It would me nice that we can add a frame on each cell. For example, if you pass 1 to a variable, the a upper-line is displayed, a 2 a left, 3 upper and left.... I have a planning program, and want to combine some cells. Now I do something like this with bitmaps, ...
xBrowse - grave problema en borrado de filas con array.
Hola Foro: Tengo un problema grave con el xBrowse, he mirado la clave pero no existe un metodo para borrar una fila determinada del browse, al trabajar con arreglos (ARRAY ). Si hay para borrar columnas, pero no de filas ( rows ). Alguien sabe como solucionar esto, pues no se como hacerlo, he intentado con usar: ...
xBrowse - grave problema en borrado de filas con array.
No es un problema del browse, el problema es de ADEL() [code:25f4lwih] LOCAL aMatriz aMatriz &#58;= &#123; 1, 2, 3 &#125; // Resultado&#58; aMatriz es // ahora &#123; 1, 2, 3 &#125; ADEL&#40;aMatriz, 2&#41; // Resultado&#58; aMatriz es ...
xBrowse - grave problema en borrado de filas con array.
Hola Pedro, Gracias por tus indicaciones, voy a probarlas. Recibe afectuosos saludos, Juan
xBrowse - grave problema en borrado de filas con array.
Pedro, todo funcionando O.K. ¡¡GRACIAS!! Juan
xBrowse - how to oXbrw:gotop() after header is click?
If user select a header to sort on or change ascending/descending order, how do I get xbrowse to always perform a oXbrw:goTop() afterwards?
xBrowse - how to oXbrw:gotop() after header is click?
[code=fw:3qdafpek]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">bOnSort</span> := <span style="color: #000000;">&#123;</span> |o| o:<span style="color: #000000;">GoTop</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="c...
xBrowse - how to oXbrw:gotop() after header is click?
Thanks for the prompt reply Rao. But doesn't seem to work with FWH11.08. I ended up with an extra column called BONSORT
xBrowse - how to oXbrw:gotop() after header is click?
Sorry, FWH11.08 is more than ten year old and did not support this. Let me see the source code of FWH1108 and advise you.
xBrowse - how to oXbrw:gotop() after header is click?
Please try: [code=fw:1cwioc17]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; &nbsp; &nbsp;oBrw:<span style="color: #000000;">bLClickHeaders</span> := <span style="color: #000000;">&#123;</span> |r,c,f,o| <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> EMPTY<span styl...
xBrowse - how to oXbrw:gotop() after header is click?
Thank you very much Rao. It works! On another topic, is it possible to get a sorting based on a group of column ? For example, if click on header of col A, sorting is actually col A+col B> TIA
xBrowse - how to oXbrw:gotop() after header is click?
DBF files?
xBrowse - how to oXbrw:gotop() after header is click?
Yes. Is it as simple as creating an index with the expression A+B?
xBrowse - how to oXbrw:gotop() after header is click?
[quote="hua":3w2kdmw5]Yes. Is it as simple as creating an index with the expression A+B?[/quote:3w2kdmw5] Yes, and a little more. Also assign oCol:cSortOrder := <OrderTag> and oCol:cOrdBag := <cOrdBag> // if separate Example (DBFCDX): INDEX ON COLA+COLB TAG IDXAB TO TMP MEMORY oCol:cSortOrder := "IDXAB" oCol:cOrdBag...
xBrowse - how to oXbrw:gotop() after header is click?
Thank you very much Rao!
xBrowse - how to update
Hello Daniel, would you be so kind to show me how to update the xbrowse in my special case. I select some rows and press the button to start the function: Backuploeschen(oBrw) But I don’t find an easy way to update the xbrowse. The code below is working but a 2. array seems a little time-consuming. Thanks in advanc...