topic
stringlengths
1
63
text
stringlengths
1
577k
xBrowse: how to retrieve field names...
Mr Rao, yes it is in my version. I try example with for/loop and :cHeader returns legal string array but :cExpr return "nil" [code=fw:f3z649vy]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">for</span> i=<span style="color: #000000;">1</span> <span style="color: #0000ff;">to</s...
xBrowse: how to retrieve field names...
[quote="bosibila":2ha64i6h]Mr Rao, yes it is in my version. I try example with for/loop and :cHeader returns legal string array but :cExpr return "nil" [code=fw:2ha64i6h]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">for</span> i=<span style="color: #000000;">1</span> <span st...
xBrowse: how to retrieve field names...
Thanks Rao, Best regards
xBrowse: problema con Copy/Paste
Al equipo de FiveWin: Al copiar celdas en xBrowse todo Ok, salvo cuando son DATE. Ejemplo: si copio '31/01/2013' al pegar este dato a otra [b:11r55ojd]celda tipo DATE[/b:11r55ojd] aparentemente no copia nada. El problema esta en el siguiente codigo: [code=fw:11r55ojd]<div class="fw" id="{CB}" style="font-family: mo...
xBrowse: problema con Copy/Paste
uCharToVal( '2013-01-31' ) returns correct date in the present versions.
xBrowse: problems with column SORT
Hi, there is a problem browsing an array using the SORT command and non progressive elements. In this self-contained sample I have a 6 elements array and I want to browse only elements 1 and 6. As you can see if you try to change the order of the date column then the order is not correct. See <!-- w --><a class="post...
xBrowse: problems with column SORT
ADD COLUMN oCol TO XBROWSE oBrw DATA ARRAY ELEM 6; HEADER "Date" SIZE 80 ORDER 6 // not 2
xBrowse: problems with column SORT
Hi, using ORDER 6 isn't possible to change the order for that column. See source and executable sample on <!-- w --><a class="postlink" href="http://www.softwarex.co.uk/beta/sample.zip">www.softwarex.co.uk/beta/sample.zip</a><!-- w -->
xBrowse: problems with column SORT
Mr Marco You are right. Please apply this fix to xbrowse.prg Line 8708 ( Version 9.04 ) in Method SortArrayData Existing code: [code=fw:17z7v0mc]<div class="fw" id="{CB}" style="font-family: monospace;">         <span style="color: #00C800;">if</span> ValType<span style="color: #000000;">&#40;</span> nAt <span style...
xBrowse: problems with column SORT
All runs fine now. Thanks for your quick support.
xBrowse:MakeTotals()
Hello, When doing an xBrowse refresh() or update(), why maketotals are not updated?. Thanks.
xBrowse:MakeTotals()
[code=fw:1ylccoo1]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp;oBrw:<span style="color: #000000;">MakeTotal</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp;oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;<...
xBrowse:MakeTotals()
Yes, in order to fix it I call oBrowse:MakeTotals() But why it is not done automatically?. Thanks.
xBrowse:MakeTotals()
To not slow down the refresh method, I suppose. EMG
xBrowse:MakeTotals()
Mr EMG is right. MakeTotals() is a handy method to avoid complex coding but is not optimized for speed. Instead this method is coded to provide highest degree of flexibility. While this is suitable for tables in memory ( arrays, recordsets ) and small and medium tables, it is not suitable for large tables and in part...
xBrowse:MakeTotals()
Thanks a lot. it is working fine as it is not a big table. xBrowse is so much powerful <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->
xBrowse:ToExcel() crash in Win7 x86
Dear Mr. RAO, Also tried with sample "testxbr3.prg" when exporting to excel but failed or apps hangup. Installed is MS Office 2003 STD in Win7 Pro x86. I think the problem is the call "oExcel := ExcelObj()" found in xbrowse.prg (FWH v11.05) Kind Regards,
xBrowse:ToExcel() crash in Win7 x86
Dear All, I found the problem... I am using xHarbour v1.21.9376 when this problem was first encountered.. When all things considered and seems no alternative solution.. I WENT BACK to xHarbour v1.21.6714.. The problem was solved.
xBrowse:ToExcel() crash in Win7 x86
We had this problem with some versions of xharbour. I am using xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 9381) This is the build provided by FiveWin. This version is working well. You may try this version, instead of going back to an older version.
xBrowse:ToExcel() crash in Win7 x86
[quote="nageswaragunupudi":3rl23waj]We had this problem with some versions of xharbour. I am using xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 9381) This is the build provided by FiveWin. This version is working well. You may try this version, instead of going back to an older version.[/quote:3rl23waj] Dear Mr. RAO...
xBrowse:ToExcel() crash in Win7 x86
By-the-Way, Im using ADS RDD.. With xharbour 1.21.9381 does not include these files "ace32.lib" and "rddads.lib".. so I used either the rev.6714 or rev.9376 This could be the problem... ace32.lib and rddads.lib should be updated and included with rev.9381..
xBrowse:ToExcel() crash in Win7 x86
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=17&t=21875">viewtopic.php?f=17&t=21875</a><!-- l --> We need to build our own rddads
xBrowse:ToExcel() crash in Win7 x86
[quote="nageswaragunupudi":229lky7r]http://forums.fivetechsupport.com/viewtopic.php?f=17&t=21875 We need to build our own rddads[/quote:229lky7r] Can you post the steps please..
xBrowse:ToExcel() crash in Win7 x86
Yes, on some win7 with problems.for example: excelObj() vs oExcel := GetOleObject( "Excel.Application" ) calls toleauto() class,but harbour 3.0 comes better win_oleauto class, I do not find the source file getoleobject() to replace it win_oleauto class. Regards! Shuming Wang
xBrowse:ToExcel() crash in Win7 x86
Mr Wang If you get this crash, please do this: In \fwh\samples\olefuncs.prg modify function FWGetOleObject() as [code=fw:2bnap4ey]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">function</span> FWGetOleObject<span style="color: #000000;">&#40;</span> cApp <span style="colo...
xBrowse:ToExcel() crash in Win7 x86
[quote="ShumingWang":umeb36vz]Yes, on some win7 with problems.for example: excelObj() vs oExcel := GetOleObject( "Excel.Application" ) calls toleauto() class,but harbour 3.0 comes better win_oleauto class, I do not find the source file getoleobject() to replace it win_oleauto class. Regards! Shuming Wang[/quote:ume...
xBrowse:ToExcel() crash in Win7 x86
[quote="nageswaragunupudi":30wumw4m][quote="ShumingWang":30wumw4m]Yes, on some win7 with problems.for example: excelObj() vs oExcel := GetOleObject( "Excel.Application" ) calls toleauto() class,but harbour 3.0 comes better win_oleauto class, I do not find the source file getoleobject() to replace it win_oleauto class...
xBrowse:ToExcel() crash in Win7 x86
Dear Mr. RAO, I tried this: [code=fw:1ut4pskk]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">function</span> ExcelObj<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">static</span> lI...
xBrowse:ToExcel() crash in Win7 x86
Dear Mr. RAO, I modified this: [code=fw:2zjdfcr8]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">function</span> FWGetOleObject<span style="color: #000000;">&#40;</span> cApp <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">l...
xBrowse:ToExcel() crash in Win7 x86
I modified this: no action nor error alert. Code: function FWGetOleObject( cApp ) local oObj TRY oObj :=WIN_OleAuto():New( cApp ) //from GetActiveObject( cApp ) , call harbour win_oleauto class (hbwin.lib) CATCH TRY oObj := WIN_OleAuto():New( cApp ) CATCH END END retur...
xBrowse:ToExcel() crash in Win7 x86
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=22330">viewtopic.php?f=3&t=22330</a><!-- l -->
xBrowse:nDataLines := 33 Colorear SOLUCIONADO
Estimados, sigo molestando con xBrowse. Tengo un xBrowse: oBrSaldo:nDataLines := 33, aquí coloco el saldo por día de una cuenta bancaria, dependiendo si es sabado o domingo, no aparece el saldo. Pregunta: Se puede colorear las línea de sabado o Domingo de un color diferente? La base de Datos tiene 32 campos, cada un...
xBrowse:nDataLines := 33 Colorear SOLUCIONADO
Lo puedes hacer asi [code=fw:fb7skpz5]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />oBrow::<span style="color: #000000;">bClrStd</span>      := <span style="color: #000000;">&#123;</span>||  iif<span style="color: #000000;">&#40;</span>  dia = <span style="color: #ff0000;">"Domingo"</span> .or....
xBrowse:nDataLines := 33 Colorear SOLUCIONADO
Lo pruebo y aviso, muchas gracias. Saludos Ruben Fernandez
xBrowse:nDataLines := 33 Colorear SOLUCIONADO
Javier: lamentablemente no funciona. Tengo una BD de 33 Campos que los muestro en una columna sola con CAMPO1+CRLF+CAMPO2+CRLF...hasta 32. A cada uno de esos renglones es qie quier asignarle un color. Quizás no sea posible, seguiré investigando. Muchas gracias Saludos Ruben Fernandez
xBrowse:nDataLines := 33 Colorear SOLUCIONADO
Ruben, La Clase XBrowse te permite el pintado "personalizado" de las celdas, con lo que puedes mostrar en ellas lo que desees. Tienes un ejemplo en: FWH/samples/metro2.prg en concreto revisa: oBrw:aCols[ 1 ]:bPaintText = { | oCol, hDC, cText, aCoors, aColors, lHighlight | DrawRow( oCol, hDC, cText, aCoors, oFont ) ...
xBrowse:nDataLines := 33 Colorear SOLUCIONADO
Antonio: Muchas gracias, lo pruebo y aviso. Saludos Ruben Fernandez
xBrowse:nDataLines := 33 Colorear SOLUCIONADO
Gracias Antonio se solucionó con su fórmula function DrawRow( oCol, hDC, cText, aCoors, oFont ) Local n oFont:Activate( hDC ) for n = 1 to MLCount( cText ) if StrCharCount(MemoLine(cText, ,n ), ">" ) > 0 SetTextColor( hDC, CLR_HRED ) Else SetText...
xBrowser
Thank you Antonio. My first xBrowser is implemented and substituting the TWbrowse. It is all in bmp, diverse fonts per row and column, vertical font on header, 2007 look [img:kbovvh42]http&#58;//www&#46;atzwanger&#46;com/fw/rg&#46;jpg[/img:kbovvh42]
xBrowser
Otto, Very good <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
xBrowser
I feel xbrowse the best looking browses of all and the most powerful. I have almost all my browses in xbrowse. If only two improvements are done (1) make edit safe and reliable and (2) provide super (group) headers, xbrowse will be the best.
xBrowser
Hello Mr. NageswaraRao, I see you are very active on xBrowser and in this newsgroup. Have you seen my initial work to start a design tool for xBrowser. Maybe you want join this work. Is it possible to contact you via private email? Here is my email: <!-- e --><a href="mailto:datron@aon.at">datron@aon.at</a><!-- e --...
xBrowser
Otto, ich habe bei Xbrowse das Problem mit picture "@E ###.##" bei der Anzeige eines Betrages. Wenn ich die Daten mit transform(..) und picture wie oben formatiere, kann ich nicht mehr richtig editieren, da ja der numerische Charakter verloren geht. Sehe gerade, daß du es nicht verwendest. Weißt du eine Lösung? Grüße a...
xBrowser
XBrowse depends on Harbour or xHarbour for Transforms and Gets. If the picture works in normal Harbour and xHarbour, it should also work with xBrowse. If there is a problem, it is not with xbrowse.
xBrowser
Hallo Günther, vorerst die besten Grüße aus Osttirol. Habe gar nicht gewusst, dass es in der Nachbarschaft FIVEWIN User gibt. Ich verwende xBrowser erst seit kurzem und habe mit dem Editieren keine Erfahrung. Vielleicht können wir uns mal im „GERMAN FORUM“ unterhalten. Liebe Grüße Otto
xBrowser
Does xBrowser work on the Ipaq? Thanks in advance Otto
xBrowser
Otto, We have not tested it yet, but it should work <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
xBrowser
have you an sample with xbrowse with ttabs ( on bottom) into ppc ? How I can make to insert on a dialog an xbrowse and 4/5 buttons into footer of palm Is there an method or I am bad to create it ? I found serious problems to create it Also to create dialog because I have many fields to insert
xBrowser
Silvio, We have not ported TXBrowse to FWPPC yet We plan to do it soon,
xBrowser
Hello Antonio,Are there some news about xbrowser and FWPPC.Thanks in advanceOtto
xBrowser
Hello Guys, good afternoon! I would like to know if it is possible that a browse does not have color on the selected line. Put an image in the background, and I would like that when walking on the browse, I would not modify the background image or the colors of the words. It's possible? Thanks in advance! Oliveiros ...
xBrowser
To avoid highlighting any cell, use [code=fw:2vtaca4y]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">nMarqueeStyle</span> := MARQSTYLE_NOMARQUEE  <span style="color: #B900B9;">// 0</span></div>[/code:2vtaca4y] For fixed background image, use this clause while creating the ...
xBrowser
Mr Rao, Thank you Att., Oliveiros Junior
xBrowser
Maybe a focused cell or row with border and any linestyle <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> defined color pensize transp level normal or glowing square or round corners border painted with cellsize or outside or inside of a cell [img:1beyz410]http&#58...
xBrowser
Mr Uwe, Thanks for the suggestion. Att., Oliveiros Junior
xBrowser
[quote="ukoenig":ce2euu3f]Maybe a focused cell or row with border and any linestyle <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> defined color pensize transp level normal or glowing square or round corners border painted with cellsize or outside or inside of a ce...
xBrowser
Marc, here are just some more options what is possible the design of each cell can be different like You can see I still need a little bit time to complete the tool. It is small and easy to understand. [img:2lakmgz7]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/border12&#46;jpg[/img:2lakmgz7] [b:2lakmgz7]On top t...
xBrowser
Marc, I'm still busy working on the tool some amazing things are possible with xBrowse I created a colorpicker on a xBrowse-cell <!-- s:idea: --><img src="{SMILIES_PATH}/icon_idea.gif" alt=":idea:" title="Idea" /><!-- s:idea: --> The cell is showing the selected border and colovalue Each column can have a sifferent c...
xBrowser
You are changing the source of Xbrowse for this ?
xBrowser
Marc, [b:1e0n4fir]nothing [/b:1e0n4fir] has to be changed <!-- s:!: --><img src="{SMILIES_PATH}/icon_exclaim.gif" alt=":!:" title="Exclamation" /><!-- s:!: --> I'm just working on a solution to UPDATE the xBrowse-background on folderpage 1 with a selected image from folderpage 2 at runtime because the selected ima...
xBrowser
Guys, good morning! I have two situations in xBrowser and I wanted to know if you have already experienced this and if you were able to resolve it: a) when using a larger font, for example: "Arial" -20, xBrowser starts showing the line, columns with different colors; b) when setting the size of the columns, it does ...
xBrowser
Please provide a sample that we can build and test at our end.
xBrowser
Mr Rao, Goodnight! In the following example, although we have 7 columns, when placing the 7th element in the array the program does not execute. That's why there are 6 elements in the array. I think the color change occurs when the content becomes larger than the space defined for the column. [code=fw:3256okzk]<div c...
xBrowser
Estimado Oliveiros Junior Utilice la pestaña Code para colocar su código [code=fw:20jm5giv]<div class="fw" id="{CB}" style="font-family: monospace;">Aquí coloque su código</div>[/code:20jm5giv]
xBrowser
First step: Please try this and see. It is working for me here. Please confirm if it is working for you also there. [code=fw:2ukk1j6v]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #...
xBrowser
Olá Adhemar, Obrigado pela orientação. Vou segui-la na próxima postagem. Att., Oliveiros Junior
xBrowser
Mr Rao, Yes it works. Showed the 7 columns. Att., Oliveiros Junior
xBrowser
Now, whatever extra features you want, keep adding one line at a time and test. You will know which line is giving you the problem.
xBrowser
thanks mister Rao
xBrowser + RTF
Has someone tried to use a RICHEDIT in the datapaint method of xBrowser. I would like to have the same outlook in xBrowser as the sample. [img:1q3dyy9t]http&#58;//www&#46;atzwanger&#46;com/fw/rtfgrid&#46;jpg[/img:1q3dyy9t]
xBrowser + RTF
Maybe someone can help - Does "IsRTF()" work? I saw the function in fget class. - What does TRichEdit need as a container? Regards, Otto method paintdata ... if IsRTF( cdata ) ??? define a window without frame from {nRow, nCol, nRow + nHeight, Min( nCol + nWidth, ::oBrw:Brw...
xBrowser + RTF
Antonio, is there some news about RTF support for xBrowser? Regards, Otto
xBrowser + RTF
The function IsRTF() works. Seems you have already done displaying RTF in xbrowse cell. Is it the same code you are using? Can you post your full code for display of rtf ?
xBrowser + RTF
NageswaraRao, no I am sorry. I used ComponentOne’s FlexGrid with VB.NET for the demo screen. But I think it is very similar what we have in our xBrowser. Regards, Otto Dim _rtf As New RTF Private Sub _flex_OwnerDrawCell(ByVal sender As Object, ByVal e As C1.Win.C1FlexGrid.OwnerDrawCellEventArgs) Handles _flex.OwnerDr...
xBrowser + RTF
Otto, It is not a simple task: The richedit control has to paint "itself" so we need to have a richedit control for each visible cell that wants to show formatted text. So if you have a column that shows 20 rows and each cell shows RTF text, then we need to have 20 richedit controls, childs of the xbrowse. We can ...
xBrowser + RTF
I agree with you Mr Antonio, if we create Richedit controls in each cell. > _rtf.RenderTo(e.Graphics, e.Bounds) But there seems to be a way of just rendering richtext content within a rectangle.
xBrowser + RTF
We could start defining a new DATA in the Class TXBrwColumn: DATA aRichEdits that will hold an array of richedit controls, one by each visible cell of that column. When the browse is resized, then we have to redimension the array with more or less richedit controls. When we scroll up or down, then we should change t...
xBrowser + RTF
Antonio, I think ComponentOne’s FlexGrid does create every time you address a column a new Dim _rtf As New RTF. I don’t have the working code on my HomePC. But in real use I think you don’t have more than 20 RTF-cells opened at the same time. Regards, Otto
xBrowser + RTF
Nageswararao, > But there seems to be a way of just rendering richtext content within a rectangle. That would be the perfect solution, but we need to find how to do that. Thinking about it... if we provide a different hDC to the richedit when it is going to be painted, that could do the trick
xBrowser + RTF
Otto I haven't used flex grid. Please tell me does this flex grid scrolls up and down like our browses or does it paint in pages and should we flip the pages
xBrowser + RTF
Mr. NageswaraRao, I uploaded a small video. Regards, Otto [url:1jso8tjc]http&#58;//www&#46;atzwanger&#46;com/flexGrid//flexGrid&#46;html[/url:1jso8tjc]
xBrowser + RTF
The link is not working please
xBrowser + RTF
Now it is. First you see the mdb-database then the grid. There are only 3 rows in it. Regards, Otto
xBrowser - FW_SayTextHilite
Mr Rao, When using the command FW_SayTextHilite the column alignment automatically switches to the left. Would it be possible to maintain the original definition? Yours sincerely, Oliveiros Junior
xBrowser - FW_SayTextHilite
This is possible with left alignment only.
xBrowser - FW_SayTextHilite
Thank Mr Rao.
xBrowser - SetGroupHeader
Good afternoon everybody! I would like to know if it is possible to put an image in a SetGroupHeader of the xBrowser. Att., Oliveiros Junior
xBrowser - SetGroupHeader
oCol:nGrpBmpNo
xBrowser - SetGroupHeader
Mr Rao, Thanks. Att., Oliveiros Junior
xBrowser - header - vertical Font alignment
I have the feeling, that alignment left if you have a vertical font starts at the middle of the row-height. How can I reach that the a vertical font is displayed correctly? Regards, Otto [img:3dkdol28]http&#58;//www&#46;atzwanger&#46;com/fw/vertfont&#46;jpg[/img:3dkdol28]
xBrowser - header - vertical Font alignment
I found a solution: if oFont:nEscapement()= 900 ... [img:fcv7mddi]http&#58;//www&#46;atzwanger&#46;com/fw/vertfontok&#46;jpg[/img:fcv7mddi]
xBrowser - height of the line flexible
Dear Mr. Rao, In xBrowser is it possible to leave the height of the line flexible? that is, according to the contents of the record the row may vary in size. I appreciate the help. Att., Oliveiros Junior
xBrowser - height of the line flexible
No. We have it on our TO-DO list.
xBrowser - height of the line flexible
Mr Rao, thank you. Att., Oliveiros Junior
xBrowser - maybe an error
Hello Antonio,Maybe there is an error in the paintdata method.The 8.06 version does not work if you pass a numeric value.Regards,OttoPAINTDATA method if ::bStrData != nil cData := Eval( ::bStrData ) msginfo( cData) if ! Empty( ::nDataStrAlign ) cData := AllTrim( cData ) endifApplication========...
xBrowser - maybe an error
Hello Otto,it seems, you try a alltrim on a numeric-field ?Best regardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowser - maybe an error
Uwe,this is original code from xBrowse.Regards,Otto
xBrowser - maybe an error
Hello Otto,I found the part in xBrowse.prgIt seems, the var-type is not checked.What happens, when you use val-types < D > and < L > ?( in the moment, i'm still working with 8.05 on the main-computer. 8.06 is on the 2. computer for testing. ) found in xBrowse.prg Vers. 8.06( maybe VALTYPE must be added ? )[code:1a8...
xBrowser - maybe an error
This is not a bug. This is the intended behaviour.If you directly assign a value to bStrData, the codeblock should compulsarily evaluate to a character value only. From the time xbrowse was first published, bStrData is supposed to evaluate to a character value only and that will remain like that in future also. It is i...
xBrowser - maybe an error
Hello Antonio,thank you for your explanation. I didn’t knew that.Although I had these mistake inside my code 8.03 somehow managed it.Now I changed my code from oCol: bStrData := { || …} to oCol:bEditValue := { || …}.And all is working.Thanks again,Otto