topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
xBrowse with array | Spoke to soon - sorry!!
If i have an xBrowse on a single dimension array and i move the horizontal scroll bar to the right, i get a bound error array message, see below:
Error description: Error BASE/1132 Bound error: array access
Args:
[ 1] = A { ... }
[ 2] = N 0
Stack Calls
===========
... |
xBrowse with array | Pete,
We are going to check it, anyhow in the meantime just remove the style WS_HSCROLL in your resource.
Also, please right click on it after that to check if it keeps failing, thanks |
xBrowse with array | I was going to try oBrw:lHscroll := .F. but i couldnt get that to work so I will remove the WS_HSCROLL.
I tried to right click and it did look as if it failed multiple times.
The error only occurs when you drag the thumbnail - clicking on the left/right buttons is ok.
Pete |
xBrowse with array | Pete,
Please modify the Method ColAtPos() in Class TXBrowse this way:
[code=fw:3kfj5dpo]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #00C800;">METHOD</span> ColAtPos<span style="color: #000000;">(</span> nPos <span style="color: #000000;">)</span> <span style... |
xBrowse with array | Antonio,
i get this error when dragging the scroll bar to the right, sorry
Error description: Error BASE/1132 Bound error: array access
Args:
[ 1] = A { ... }
[ 2] = N 0
Stack Calls
===========
Called from: C:\FWH\source\classes\xbrowse.prg => (b)TXBROWSE:TXBROWSE(478)
Called from: =>... |
xBrowse with array | Pete,
Yes, you did it right <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Please try it this way:
[code=fw:2mmkknj1]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">METHOD</span> ColAtPos<span style="color: #000000;">(</s... |
xBrowse with array | Still getting an error i'm afraid:
Error description: Error BASE/1132 Bound error: array access
Args:
[ 1] = A { ... }
[ 2] = N 0
Stack Calls
===========
Called from: C:\FWH\source\classes\xbrowse.prg => (b)TXBROWSE:TXBROWSE(479)
Called from: => TXBROWSE:COLATPOS(0)
Called from: C:\... |
xBrowse with array | Pete,
I guess we just have a missing try <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
[code=fw:22xiuvmr]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">METHOD</span> ColAtPos<span style="color: #000000;">(</span> nPos <s... |
xBrowse with array | Even this does not work.
This problem arises when we use HScroll thumb with any single column xbrowse, whether it is array or dbf.
We need to trace the problem starting from method hscroll(..) |
xBrowse with array | Antonio,
Still get the error with 10.06 i'm afraid <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
Error description: Error BASE/1132 Bound error: array access
Args:
[ 1] = A { ... }
[ 2] = N 0
Stack Calls
===========
Called from: .\source\classes\... |
xBrowse with array | Yes. The problem is not yet fixed, even in 10.06.
Let us await the fix.
Meanwhile we try to avoid HScroll bar for single column xbrowse. |
xBrowse with array showing numb in fields and not data -Rao | To All
I have been going nuts trying to solve this problem .. I am using xBrowse aData for data and aHeader for columns ..
[code=fw:1ux41tco]<div class="fw" id="{CB}" style="font-family: monospace;"><br />aData := <span style="color: #000000;">{</span><span style="color: #000000;">}</span> <span style=... |
xBrowse with array showing numb in fields and not data -Rao | Rao
Is there something I am doing wrong with the above code ?
Rick Lipkin |
xBrowse with array showing numb in fields and not data -Rao | 1. Please prepare a self contained sample we can compile and test.
2. COLUMNS ... and AUTOCOLS are confilicting.
3. The problem must be with the way you are using aHeaders and aData |
xBrowse with array showing numb in fields and not data -Rao | Rao
I will try to put together a sample .. this uses Ms Access for the database .. here is the code and how the aHeader and aData are created .. here are the fields in table P_Trips :
[code=fw:ama5089h]<div class="fw" id="{CB}" style="font-family: monospace;"><br />cSql := <span style="color: #ff0000;">"CREATE TABLE [... |
xBrowse with array showing numb in fields and not data -Rao | Rao
Here is a self contained sample that shows the problem with columns 6 or greater resolving the column number and not the aData information:
[code=fw:3jicvdaj]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// Main.prg</span><br /><br /><span style="color: #00D7D7;">#In... |
xBrowse with array showing numb in fields and not data -Rao | To All
Thanks to Rao ... here is the fix .. :
[code=fw:c0xwf0lm]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oLbx ARRAY aData <span style="color: #0000ff;">AUTOCOLS</span> ;<br /> HE... |
xBrowse with resource file | What am I doing wrong
Regards
Peter
Error description: Error FiveWin/2 Duplicated Id: No: 101
Stack Calls
===========
Called from: .\source\classes\DIALOG.PRG => TDIALOG:DEFCONTROL( 366 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:CREATEFROMCODE( 1122 )
Called from: C:\_WA\RESTEST1.prg =>... |
xBrowse with resource file | [quote="reds":1ubgok6w]What am I doing wrong
Regards
Peter
Error description: Error FiveWin/2 Duplicated Id: No: 101
Stack Calls
===========
Called from: .\source\classes\DIALOG.PRG => TDIALOG:DEFCONTROL( 366 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:CREATEFROMCODE( 1122 )
Called from:... |
xBrowse with resource file | No please.
Just remove the line
[code=fw:1p2tcwn2]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> oBrw:<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> </div>[/code:1p2tcwn2]
Do NOT add oBrw:Creat... |
xBrowse with resource file | Thanks
too busy checking for resource errors to notice the obvious error <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Regards
Peter |
xBrowse with resources is possible? | Antonio,
It is possible to use xBrowse in dialogbox resources? |
xBrowse with resources is possible? | Vilian,
Yes, of course.
Please review samples\TestXBrw.prg and TestXBrw.rc |
xBrowse with resources is possible? | Antonio,
But does not exist a command REDEFINE ? |
xBrowse with resources is possible? | Vilian,
No, it is not implemented as a command. Just as a method call.
We may implement it <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
xBrowse with round corners ?? | Hello,
like the new Class < TFoldex >, could it be possible, to show a xBrowser with round corners ?
I completed the MDI-frame-test and added a stand-alone xBrowse.
I think with round Corners it would be better looking.
I don*t know, if it is possible.
[img:71aqq0t4]http://www.pflegeplus.com/pictures/ro... |
xBrowse with round corners ?? | Any news on this?
Best regards,
Otto |
xBrowse with round corners ?? | I think it can be a ggod Idea but it now NOT is the modify to make because there are many other modify to make ... I see my applications no stables... I cannot make this, I cannot make that, this not run ok, that could run if...
We must reviosed all out controls before to make this jokes |
xBrowse with round corners ?? | Ewe,
How about putting the browse inside a NOWAIT dialog without a caption bar?
James |
xBrowse with round corners ?? | James,
I tested with Dialogs, but it doesn't work, because of connection problems using 2 dialogs.
I think a embedded xbrowse inside a VTitle can be a good looking Solution :
[img:1fi6p37m]http://www.pflegeplus.com/pictures/embedded.jpg[/img:1fi6p37m]
@ 50, 30 TITLE oTitle size 313, 211 of oWnd SH... |
xBrowse with round corners ?? | Looks good, Uwe. That was the effect I was hoping you could get using a dialog.
James |
xBrowse with round corners ?? | Dear Sir Uwe,
Using resource, what control should i use in using title? is it UDC control? do u have a sample of it... thanks in advance..
regards,
apollo |
xBrowse with round corners ?? | xbrowse with round corners
[url=http://img33.imageshack.us/i/xbrwround.jpg/:27d84zba][img:27d84zba]http://img33.imageshack.us/img33/6756/xbrwround.jpg[/img:27d84zba][/url:27d84zba] |
xBrowse with round corners ?? | Dear Sir RAO,
Do u have a sample which uses resource? Can u please post it. thanks...
regards,
apollo |
xBrowse with „Meter“ | Call: send in bStrData block:„#“ shows it is a meter + 10 characters for the maximum + the value as stringoCol:bStrData := { || "#"+"50000 "+ALLTRIM(str(field->test))}Change the METHOD PaintData as follows:[code:2gr61gha]
METHOD PaintData( nRow, nCol, nHeight, lHighLite, lSelected, nOrder ) CLASS TXB... |
xBrowse with „Meter“ | Hello Otto,it'a a good idea.A customer of mine is selling software for schools.There are different prices in relation to schoolsize ( schoolchilden ).In the moment i have a val-field, that shows just a number.I can change the field with a gradient-background :start with green and change to red for the highest value.[im... |
xBrowse with „Meter“ | [quote="Otto":29erd8wb]„#“ shows it is a meter +
10 characters for the maximum + the value as string[/quote:29erd8wb]Nice idea Otto!Antonio, should we not have someting standard in xBrowse? Is it possible to have a REAL meter per cell?Patrick |
xBrowse with „Meter“ | Patrick,Its a better solution to paint a meter, as Otto has done, instead of using real meter controls, as we may need to manage lots of them, scroll them (change their coordinates), hide them, etc. |
xBrowse y ::Refresh() | Foro <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->Estoy usando 2 xbrowse padre e hijo......qual es la manera correcta de refrescar un xbrowse????Estou aplicando um Scope en uno de los xbrowse cada vez que muevo el puntero del registro ...El xBrowse se refresca.. mas no lo p... |
xBrowse y ::Refresh() | ....Porque es necesario antes de aplicar un::Refresh() a un xBrowse ir al ultimo com ::GoBottom() o al inicio com ::GoTop()y solo asi el xBrowse se pinte correctamente???Este codigo funciona mas no hace pintar bien el xBrowse : (ON CHANGE para um combobox)[code:2z9oinsb]
ON CHANGE ( oDbfCta:SetScope("",""... |
xBrowse y ::Refresh() | Ricardo,Al ir al top ó bottom del browse, despues de haber cambiado los scopes en la base de datos, el browse reajusta sus valores.Tu forma de hacerlo es correcta. |
xBrowse y ::Refresh() | Antonio : Tks <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> ! |
xBrowse y ADO | Hola a todos:
Estoy usando un browse con setado, el problema es que navego en el y al editar el registro simpre me abre el primero, no en el que estoy posicionado con el puntero. alguna pista
[code=fw:4war0c7r]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBrwDet:<span style="color: #000000;">SetAdO</... |
xBrowse y ADO | Miguel:
En el msginfo pídele que te muestre el contenido de algún campo de la tabla, a ver que te muestra?
o con esto otro MsgInfo(oRsTuRecordSet:BookMark())
Saludos |
xBrowse y ADO | Gracias por responder Armando.
el bookmark muestra 1.0000 en todos los registros |
xBrowse y ADO | Miguel:
Y el Msginfo con algún campo de tu tabla?
El browse te lo muestra bien?
Ojala pudieras mostrar la parte del código donde creas el recordset
Saludos |
xBrowse y ADO | Te comento que antes de esto tenía definido el browse con las columnas que necesito únicamente, pero me mostraba el primer registro en todos los casos es decir como si estuviera repetido el registro tantas veces como registros había en el detalle. Ahora que lo puse "abierto" con todas las columnas ya me aparecen los da... |
xBrowse y ADO | [code=fw:3lfdmocd]<div class="fw" id="{CB}" style="font-family: monospace;"> cSQL := <span style="color: #ff0000;">"SELECT * FROM DETORDSRV WHERE ordensrv = "</span> + cClave2<br /><br /><br /> oRsDetOrdSrv := TOleAuto<span style="color: #000000;">... |
xBrowse y ADO | Miguel,
Has comprobado el numero de registros del recordset ?
MsgInfo( oRsDetOrdSrv:RecordCount() ) |
xBrowse y ADO | Hola Antonio:
si, de hecho muestra todos correctamente si recorro el recordset , no se si tenga que indicarle algo al editar?
saludos gracias |
xBrowse y ADO | Prueba esto a ver si sigue mostrando 1:
oBrwDet:bLDblClick := { || msginfo( oBrwDet:oRs:absoluteposition()) } |
xBrowse y ADO | Miguel:
Otra sugerencia, cambia estas líneas
[code=fw:23z1nn9n]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oRsEmp:<span style="color: #000000;">CursorLocation</span> := adUseClient<br />oRsEmp:<span style="color: #000000;">LockType</span> := adLockOptimistic<br />oRsEmp:<span style="colo... |
xBrowse y ADO | Funcionó con lo de Antonio.
lo que no me queda claro es porque en el primer browse si funciona y en el otro ya no. Voy empezando en esto del recordset.
muchas gracias saludos |
xBrowse y ADO | Miguel:
Tienes alguna dirección de correo?
Saludos |
xBrowse y DESCENDING | Alguien sabe por que al usar un indice descendente el xBrowse se vuelve loco? alguien ha corregido esto?
Muchas gracias.
Fernando Castro
México, D.F. |
xBrowse y EDIT_LISTBOX | Hola Antonio:
Unos detallitos en xBrowse cuando oCol:nEditType := EDIT_LISTBOX:
1) Se puede editar cuando no se satisface oCol:bEditWhen
Se corrige cambiando en el Method CreateButtons()
::oBtnList:bAction := { || ::ShowBtnList() }
por
::... |
xBrowse y Excel | Gente;
Se que :ToExcel() hace maravillas, pero obviamente no siempre lo que nosotros necesitamos <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: -->
La consulta es:
Deseo exportar a una hoja Excel datos pero que arranquen desde una fila específica, y sin enviar las cab... |
xBrowse y Excel | Hola Mario,
Se me ocurre que pases las "filas específicas" a un array y luego haces un browse como HIDE() y lo mandas al excel.
Así lo hago yo.
Saludos.
Rolando <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
xBrowse y Excel | gracias Rolando;
muy bueno el Tip! |
xBrowse y GoRight | Colegas, por defecto xBrowse cuando presiono return pasa a la siguiente columna ( GoRight ). hay alguna manera de desactivar este comportamiento ?. Muchas gracias
Saludos |
xBrowse y GoRight | oBrw:bKeyChar := { |k| If( k == VK_RETURN, 0, nil ) }
But in case of editable browse, this will no more invoke edit when pressed.
Just curious, why do you want to disable this default behavior? |
xBrowse y GoRight | Gracias Rao por responder. Normalmente utilizo VK_RETURN para abrir un dialogo de modificación de datos. Si la tabla tiene una cantidad de columnas que exceden la longitud del control las primeras columnas se ocultan y quiero evitar ese comportamiento.
Saludos |
xBrowse y GoRight | Horacio;
edita xBrowse.ch y vas a encontrar entre otros defines lo que necesitas
[code=fw:y1cv13z4]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#define</span> MOVE_RIGHT <span style="color: #000000;">1</span><br /><span style="color: #00D7D7;">#define</span> MOVE_LE... |
xBrowse y GoleftMost | Pedro;
No probaste con:
[b:129lcgdu]oCol:nMoveType[/b:129lcgdu]:= MOVE_LEFT //MOVE_FAST_LEFT (no se si esta va a la mas lejana, que seria la primera para tu caso no?)
Saludos |
xBrowse y GoleftMost | Hola a todos
Tengo el siguiente código en un xBrowse :
[code=fw:3idx80kt]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> oBrw:<span style="color: #000000;">lFastEdit</span> := .T.<br /> oBrw:<span style="color: #000000;">bPastEof</span> = <span style="color: #000000;">... |
xBrowse y GoleftMost | Hola Mario
Se supone que GoleftMost es para irse al principio a la primera columna del xBrowse y nMoveType es para indicar al browse cual va a ser el movimiento pro defecto.
Al final lo he solucionado colocando oBrw:aCols[1]:Edit(), no es muy ortodoxo ya que cuando pongas un código y lo valides te abre un registro nue... |
xBrowse y GoleftMost | Hola Pedro:
¿Ya intentaste con: oBrw:nColsel := 1, oBrw:Refresh()?
Saludos. |
xBrowse y GoleftMost | JM;
En mi caso tengo tres columnas de edicion: Una EDIT_GET y dos EDIT_LISTBOX, en las dos primeras indico, como bien decis por defecto MOVE_RIGHT y en la última incluyo en :bOnPostEdit := {|...|... oLst:GoDown(), [b:2wtb6a8h]oLst:nColSel[/b:2wtb6a8h]:= col_3 ...} para ir a la columna 3 (como bien sugiere Francisco, ... |
xBrowse y GoleftMost | fe de erratas: donde dice JM debe decir Pedro <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> |
xBrowse y GoleftMost | Francisco, he probado lo que me indicas, y me hace lo mismo que con el GoleftMost, es decir, ni caso, va a la segunda columna.
Mario, yo también tengo un bOnposEdit en todas las columnas, el tema es que con un lector de códigos de barra los datos entran a partir de la primera columna y el usuario, éste en concreto, só... |
xBrowse y GoleftMost | Pedro,
Tengo un sist de Contabilidad en el que hago algo parecido a lo que necesitas. Prueba asi:
oCol:bOnPostEdit = { | oCol, xVal, nKey | If( RecCount() == 0, ( DbAppend(), oBrw:Refresh() ),) ,;
If( nKey == VK_RETURN, ((cAlias)->SSSCta := xVal,if(lCtaOK(oBrw),[b:l6ai2fmy](oBrw:nColSel:=1,D... |
xBrowse y GoleftMost | Hola Francisco
Así lo he puesto pero no funciona,
[code=fw:lpznopx2]<div class="fw" id="{CB}" style="font-family: monospace;"> oCol = oBrw:<span style="color: #000000;">AddCol</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> oCol:<span style="color: ... |
xBrowse y Listbox | Con la siguientes instrucciones:
[code:39bk10t3]
oBrw1:aCols[ 3 ]:nEditType( EDIT_GET_LISTBOX )
oBrw1:aCols[ 3 ]:aEditListTxt := aYesNo
[/code:39bk10t3]
creo una lista para seleccionar "Yes" o "No" en la columna 3 de mi browse.
Que debo hacer para que la seleccion que yo haga se que... |
xBrowse y Listbox | [code:1bd87mqi]
Private aStatusInc := {"Adicionar","Ignorar","Aberto","Remover"},;
aStatusExt := {"Extrair" ,"Ignorar"}
****************************************************************************
oCol:= oLbx:aCols[3]
oCol:bStrData := {|| CampoStatus("NOME") }
oCo... |
xBrowse y Listbox | Obrigado Sambom
George |
xBrowse y MULTISELECT | Hola a todos,
hay alguna forma de poder elegir varios registros con el click del mouse nomás , no con CTRL+CLICK ????
Gracias.
Salu2, Ariel. |
xBrowse y MULTISELECT | Saludos, sino quieres usar el ctrl podrias usar una columna para marcar y desmarcar los registros que estes seleccionando...es una emulacion , asi lo hago cuando uso un browse con seleccion de cheques o de varios registros a eliminar, espero te de idea, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif"... |
xBrowse y Maketotals con condicion | Saludos, una consulta
Tengo un xBrowse con 2 campos, un campo caracter que uso para Marcar y Desmarcar, segun los documentos que se seleccionan o no y un campo importe donde hago un maketotal, quiero mostrar el total de los documentos marcados, no marcados y todos, osea si tengo 10 documentos y solo selecciono/marco 3... |
xBrowse y Maketotals con condicion | If you want to display all the three totals, you need to calculate the totals yourself and display them in the footer.
[code=fw:30aumx3k]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">nFooterLines</span> := <span style="color: #000000;">3</span><br />oCol:<span style="color... |
xBrowse y Maketotals con condicion | Thanks Mr. Rao, please help, does not show sum of marked :
[code=fw:1ur5sung]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">... |
xBrowse y Maketotals con condicion | Mr Rao, please any idea ... Thanks |
xBrowse y Maketotals con condicion | Hola Enrique:
Yo lo hago de la siguiente manera y me funciona perfecto:
// Col 7
oCol := oBrowse:AddCol()
oCol:bStrData := { || Transform( ( oBoleta:caAlias )->PRESTAMO,"999,999,999.99" ) }
oCol:cHeader := "Préstamo"
oCol:nHeadStrAlign := 2 // Center
oCol:nWidth := 100
oCol:nDataStrAlign := AL_RIGHT... |
xBrowse y Maketotals con condicion | Eduardo, gracias por tu respuesta.
Sucede que necesito que se cambie la condicion, al momento, presionando la barra espaciadora, cambia de un estado al otro, habia que aumentar el Maketotals() en este caso, para que recalcule y pinte la nueva suma segun se vaya marcando o desmarcado ... |
xBrowse y Scrollbar | Hola amigos del foro
Tengo una interrogante, en un dialogo aumento el FONT a 28.
Dentro del dialogo tengo un xBrowse, y efectivamente el los datos me aparencen con el font correcto.
El problema es la diminuta Scrollbar Vertical, no se como hacerla proporcional a la fuente, es decir agrandarla.
Estoy usando dos versio... |
xBrowse y Scrollbar | Alguna idea <!-- s:idea: --><img src="{SMILIES_PATH}/icon_idea.gif" alt=":idea:" title="Idea" /><!-- s:idea: -->
Debo aclarar que esto lo estoy usando en una pantalla touch, y creanme que es dificil hacer uso de la barra con dedos gorditos <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very H... |
xBrowse y Scrollbar | Blessed
has intentado usar kineticScroll del xbrowse, esta diseñado para eso.... |
xBrowse y Scrollbar | Hola Daniel,
De que forma lo puedo usar, he buscado en la Wiki la referencia de "kineticScroll" y aun en el foro y no lo he encontrado, y si bien no he estado pendiente del foro en los ultimos meses, no se por donde iniciar <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:... |
xBrowse y Scrollbar | Blessed
es un apropiedad que esta activada por default en el browse
presionas sobre el browse y mueves sin dejar de presionar (estilo ipone/ipad/ipod) |
xBrowse y Scrollbar | Segun he visto, no esta para la 9.06 que es con la que estoy desarrollando.
Veo algunos ejemplos para la 10.9 pero la tengo para huzmear y creo que desarrollare en ella en un par de meses.
saludos |
xBrowse y SetArray(aArray) (SOLUCIONADO) | Amigos del Foro: Solicito un pequeño ejemplo, u orientación sobre el uso de xbrowse con arrays. (ya he visto los ejemplos en samples y aquí en el foro, pero no encuentro lo que deseo)
Antes que nada, esto lo tengo resuelto con TWinbrowse, pero quiero pasarlo a TxBrowse.
El caso es el siguiente: Tengo un dialogo con... |
xBrowse y SetArray(aArray) (SOLUCIONADO) | [code=fw:2xbm3x0k]<div class="fw" id="{CB}" style="font-family: monospace;"><br />aMiArray:=<span style="color: #000000;">{</span><span style="color: #000000;">}</span><br />aMiArray:=<span style="color: #000000;">{</span><span style="color: #000000;">{</span><span style="color: #ff0000;">"nvo dato"... |
xBrowse y SetArray(aArray) (SOLUCIONADO) | Pablo, Gracias por contestar. Agradezco tu interés.
Es correcto como tú indicas. Ya lo había probado así, pero sólo me presenta un registro del array. Mejor dicho, el Browse muestra tantos registros como contiene el array, pero todos con los mismos datos del primer registro.
Como dije anteriormente, si lo hago así: oB... |
xBrowse y SetArray(aArray) (SOLUCIONADO) | Aqui dejo un ejemplo funcional de lo que estoy haciendo. Agradeceré cualquier ayuda.
Saludos.
[code=fw:3jijfhlt]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <s... |
xBrowse y SetArray(aArray) (SOLUCIONADO) | Francisco...
Este es un ejemplo
[code=fw:21upplnl]<div class="fw" id="{CB}" style="font-family: monospace;"><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 /><br /><s... |
xBrowse y SetArray(aArray) (SOLUCIONADO) | Francisco...
Falta el recurso para construir el ejemplo...
Pero prueba agreando esto a cada definicion de columna
oCol:nArrayCol := 1
oCol:nArrayCol := 2
y haces como te lo indica pablo |
xBrowse y SetArray(aArray) (SOLUCIONADO) | Daniel, muchas gracias por contestar. Aquí está el recurso (.rc)
Hice los ajustes que indicas en el primer post y sigue lo mismo. Tu ejemplo me ha dado otras ideas, y por supuesto me es útil. Continúo luchando con lo que quiero hacer. Gracias, nuevamente.
Saludos.
pd: A mi ejemplo hay que quitarle las lineas ref... |
xBrowse y SetArray(aArray) (SOLUCIONADO) | Francisco
El ejemplo que he publicado funciona perfectamente... voy a subir un ejecutable |
xBrowse y SetArray(aArray) (SOLUCIONADO) | Francisco...
aqui dejo el ejecutable como he prometido
[url:1h3yrpuz]http://www.sitasoft.com/fivewin/test/xbrarra2.rar[/url:1h3yrpuz] |
xBrowse y SetArray(aArray) (SOLUCIONADO) | Daniel, efectivamente tu ejecutable funciona bien.
El ejemplo compila y ejecuta sin ningún problema, pero al "clickear" en el boton append o delete no hace nada.
Estoy pensando que es cuestión de versión de FWH (uso 901) <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-... |
xBrowse y SetArray(aArray) (SOLUCIONADO) | Hola Daniel.
Comprobado, es cuestión de versión. He leído varios post en los cuales se describe este inconveniente.
Sin embargo, he logrado solucionarlo de la manera siguiente. Dejo el ejemplo por si alguien tiene el mismo problema que yo.
Decidí no tocar la Classe TxBrowse. El recurso está posteado un poco más arrib... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.