topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
xBrowse Problem | Hi All
I have a small problem with footer calculations with xbrowse - I have created a sample program and test.dbf - how do I upload the files
for Mr Rao to check.
Cheers
Colin |
xBrowse Problem | Please send them by email to me.
<!-- e --><a href="mailto:nageswaragunupudi@gmail.com">nageswaragunupudi@gmail.com</a><!-- e -->.
I shall post the solution here. |
xBrowse Problem | Received your mail.
This is the appropriate way of coding:
[code=fw:1thca381]<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... |
xBrowse Problem | Hi.
I have a problem with money fields where the totals on footer are shown with 4 decimal places instead of 2. How can I deal with that problem?
Reinaldo. |
xBrowse Problem | [quote="reinaldocrespo":nv37a133]Hi.
I have a problem with money fields where the totals on footer are shown with 4 decimal places instead of 2. How can I deal with that problem?
Reinaldo.[/quote:nv37a133]
I don't understand the problem.
Are the totals shown with 4 decimals by xbrowse, where as you want to show with... |
xBrowse Problem | [quote="nageswaragunupudi":246q7z2z]
Are the totals shown with 4 decimals by xbrowse, where as you want to show with 2 decimal places?
Can I see a sample code?[/quote:246q7z2z]
Correct. 4 decimals where it should be 2 decimal places.
It will take me a little while to write a reduced self contained sample for you ... |
xBrowse Problem | Mr. Reinaldocrespo
I presume you are referring to money fields of ADS. DBStruct() of RDDADS shows 4 decimal places for money fields.
Hint:
XBrowse formats the footers also with the same picture clause specified in oCol:cEditPicture.
Please assign appropriate picture clause with 2 decimals to oCol:cEditPicture. Foote... |
xBrowse Problem | Mr. Rao;
Yes. You are assuming correctly. Thank you very much for the hint, I should have thought of that!
Again, thank you very much.
Reinaldo. |
xBrowse Problem | Please ignore the sample I posted earlier. It works but not optimized. Below is an optimized version. Anyone who likes to adopt the logic, may follow this example, but not the first one,
[code=fw:8a1bk50o]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style... |
xBrowse Pyjama-effect and defined Textcolors ? | Hello,
I have a Problem, switching between Pyjama-effect and back to normal defined Textcolor.
The start-screen :
[img:2fhqrp5b]http://www.pflegeplus.com/pictures/pyjama1.jpg[/img:2fhqrp5b]
Changing to Pyjama-effect and back to defined Textcolor uses the Pyjama-text-colors.
The background-change wor... |
xBrowse Question | Hi,
I have an xBrowse on a DBF or SQL table and I allow the users to select multiple records (oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROWMS)
As the users select records, is there a way I can add up values in fields/columns of the selected records (or add up values of relating records in another table) and display the va... |
xBrowse Question | Peter;
The selected xbrowse record ::bKeyNo value is saved on ::aSelected property of xbrowse.
So, here is an idea:
x := 0
bAddBlock := { |nRecNo| oDbf:Goto( nRecNo ), x += oDbf:SomeValue }
AEVAL( oBrw:aSelected, { |e| EVAL( bAddBlock, e } )
Reinaldo. |
xBrowse Question | The real problem is that the calling program does not know when the user selected or deselected a row. bChange does not report this.
I suggest a new DATA bOnMultiSelect for XBrowse which will be called at the end of METHOD Select( nOption ).
You can try this modification. |
xBrowse Question | Ok, I'll try that
Thanks for your help
Pete |
xBrowse Question | Not too sure I know where in my code to put your example.
I have tried putting a calculation routine into bChange which nearly works - as you have to move after you have selected the record for the calculation/aSelected to be updated.
Any ideas where I should put my total update routine?
Pete |
xBrowse Quitar Cabecera | Muy buenas, estoy intentando hacer un xbrowse transparente pero me gustaría quitar la cabecera para así quede mejor, solo tiene una columna y sería que no apareciera solamente los datos del array.
¿Como puedo conseguirlo?
Un Saludo. |
xBrowse Quitar Cabecera | Perdonar así lo llamo:
redefine XBROWSE Datas:oTbrOut id 501 COLUMNS 1;
HEADERS "FILTRO";
OF oDlg SIZES 100;
JUSTIFY AL_CENTER;
ARRAY {"07:00","10:00","11:00","12:00"} LINES CELL
... |
xBrowse Quitar Cabecera | Holas Softruz...
intenta usar
El xbrowse tiene las datas lHeader y lFooter, las cuales puedas activar o dasctivar para hacer el pintado de los headers y footers respectivamente
Datas:oTbrOut:lHeader := .f. |
xBrowse Quitar Cabecera | Muchas gracias ha funcionado de lujo, pero ¿sabrias decirme como puedo hacer un xbrowse transparente para que me ponga la imagen que tengo de fondo en el dialogo?
Un Saludo. |
xBrowse Refreshing | Hi,
I have an xbrowse looking at records in a database. This database can be viewed and edited by multiple users.
If a record is deleted by another user the browse can look corrupt containing duplicate records.
The way i'm trying to fix this is to refresh the browse after i perform any actions within the browse, s... |
xBrowse Refreshing | [quote:ffztveu3]I have tried using oBrw:nRowSel but havent had much luck[/quote:ffztveu3]
This is the right way.
Save and restore oBrw:nRowSel and call Refresh() |
xBrowse Refreshing | That works perfectly
Thanks for your time
best regards,
Pete |
xBrowse Refreshing | please rao, can put a example. |
xBrowse Refreshing | Peter and Rao
I have been fighting this very same problem only instead of using .dbf I have been using recordsets.
I set up a test where I had the same app open twice and the first app deleted a row and I tried to trap the second app from trying to delete the same row since to app 2 his recordset still had the 'delet... |
xBrowse Refreshing | This is my code:
[code=fw:4rv1ph5k]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />nSavRec := ORDERS-><span style="color: #000000;">(</span>Recno<span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span><br />nSavRow := oBrw:... |
xBrowse Refreshing | Rick,
My problem was due to a SysRefresh() being in my browse refresh routine.
The only problem I have now is if a record is deleted on another machine and the user scrolls up using the up/down arrow when it comes to the deleted record, a duplicate row appears - page up/page down refreshes as well as my refresh routi... |
xBrowse Report | Hi,
i'm trying to use the :Report() function in my xBrowse, but the widthes of the columns on the report do not represent the columns in the browse. The columns in the report are far too big and therefore only 2 columns usually show. Any ideas how to fix this?
Regards,
Pete |
xBrowse Report | Pete,
The simple solution is to write your own report using TReport.
James |
xBrowse Report | James,
I use a generic xBrowse builder that builds lists based on items from a database (defined by my clients) so the report would have to look at the current state of the browse which it is sort of doing at the moment, so i'd rather get this fixed rather than re-inventing the wheel.
Thanks for the response
Pete |
xBrowse Report | I've looked at the source code of xBrowse and noticed the following function:
[code=fw:3khzk02e]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">static</span> <span style="color: #00C800;">function</span> MakeRepCol<span style="color: #000000;">(</span> oRep, oXCol <spa... |
xBrowse Report | Pete,
[quote:jjl8me0o]I use a generic xBrowse builder that builds lists based on items from a database (defined by my clients) so the report would have to look at the current state of the browse which it is sort of doing at the moment, so i'd rather get this fixed rather than re-inventing the wheel.[/quote:jjl8me0o]
... |
xBrowse Report | The code reproduced above is from much older versions of XBrowse.
XBrowses column object's data nWidth is in pixels. Report class requires data width to be specified in number of characters.
In the recent versions of XBrowse the column object has a new DATA nDataLen and nDataDec ( in addition to the earlier cDataType... |
xBrowse Report and column pictures | Hello,
I see a strange behavior using oBrowse:Report(cTitle):
On screen I have this:
[img:3qe9n3ob]https://i.imgur.com/aUUij9B.jpg[/img:3qe9n3ob]
on Report I have this:
[img:3qe9n3ob]https://i.imgur.com/y5qLIYv.jpg[/img:3qe9n3ob]
I investigated a little and found those lines of code on [... |
xBrowse Report and column pictures | [quote:3nrwy8ah]so, making a report the the picture is used only when bEditValue is defined, instead in all other cases it is used to transform the value to show...
[/quote:3nrwy8ah]
If not bEditValue, may I know what did you use in this case?
Did you use FWH 18.02 ? |
xBrowse Report and column pictures | I am not sure to understand the question, we created the column in this way:
[code=fw:1d8dqzrp]<div class="fw" id="{CB}" style="font-family: monospace;">oCol := oList:<span style="color: #000000;">AddCol</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br />oCol:<span style="co... |
xBrowse Report and column pictures | Please try changing bStrData as bEditValue.
Kindly note that usage of bStrData was deprecated almost ten years back, i.e., from March 2008. Even earlier, bStrData was supposed to return a formatted string, though some tolerance is built into xbrowse to allow bStrData returning non-character values.
Kindly read whatsn... |
xBrowse Row Height w/ image too high | It appears that the automatic row height calculation when an image is used is about twice as high as it should be. When I add a 32x32 pixel image, the row height seems to be about 64 pixels. The column width seems to be correct.
I am using FWH 10.8.
Regards,
James
[url=http://img193.imageshack.us/i/scree... |
xBrowse Row Height w/ image too high | OK, I just tried with a 16x16 pixel image and the row height is the same as it was with the 32x32 pixel image. So, the row height is not being automatically calculated when an image is used, it just defaults to a value around 64 pixels when any image is used.
I guess this is not a bug, but it would seem to be useful i... |
xBrowse Row Height w/ image too high | Mr. James
I guess you are using 800x640 pixels display.
Can you please post your sample code? Hope we can suggest how to use this feature. |
xBrowse Row Positioning | Hi,
I have an xBrowse on a database, when i press space bar i open a dialog to view the record. When I return, i refresh the browse and make sure that the scopes are set and the data is up to date. I then return to the original record I was viewing. The problem is that when the browse refreshes, the record is high... |
xBrowse Row Positioning | I've fixed it - not pretty but it sort of works
At the start of my routine
[code=fw:1esaj6h1]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />nRow := oBrw2:<span style="color: #000000;">nRowSel</span> <br /><br /> </div>[/code:1esaj6h1]
At the end
[code=fw:1esaj6h1]<div class="fw" i... |
xBrowse Row Positioning | Pete,
yes, would be interesting to have a ::rowOffset property to define start row to display
regards
Marcelo |
xBrowse Row Positioning | When we show ( or edit ) a record in a dialog and come back to the xbrowse, xbrowse on its own does not disturb the display, unless we wrote some code before getting back to xbrowse which instructs xbrowse otherwise. |
xBrowse Row Positioning | [quote="Marcelo Via Giglio":3g7yt2bo]Pete,
yes, would be interesting to have a ::rowOffset property to define start row to display
regards
Marcelo[/quote:3g7yt2bo]
This can be achieved by assigning appropriate number to oBrw:nRowSel |
xBrowse Row Positioning | I tried this but it didnt seem to work - see above code how i fixed it |
xBrowse Row Positioning | Mr Peter
[quote:o1bw207u]When I return, i refresh the browse and make sure that the scopes are set and the data is up to date.[/quote:o1bw207u]
Please review this part of the code. In this part of the code, if you are not using any code that disturbs the xbrowse, when we return to xbrowse, the old row position is reta... |
xBrowse Row-Height | Hi All,
Anyone encountering this in FWH18.x
[url=http://s208.photobucket.com/user/fraxzi/media/FWxHarbour/xBrowse_Row_Height_zps9s2wqbvh.png.html:7nqp5ukt][img:7nqp5ukt]http://i208.photobucket.com/albums/bb82/fraxzi/FWxHarbour/xBrowse_Row_Height_zps9s2wqbvh.png[/img:7nqp5ukt][/url:... |
xBrowse Row-Height | I tried, but I am unable to get what you could get.
This is my code:
[code=fw:uj4koxwd]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #00C800;">local</span> oDlg, oFld, oFont, oBrw<br /><br /> USE CUSTOMER <span style="color: #00C800;">NEW</span> <span style="color: #0... |
xBrowse Row-Height | Hi Rao,
Thanks for extra tip!
You are using this:
[quote:sow61x6b]
...
DATASOURCE "CUST" ;
COLUMNS "ID", "FIRST+CHR(13)+CHR(10)+LAST", ;
"STREET+CHR(13)+CHR(10)+CITY+CHR(13)+CHR(10)+STATE+ '-' + ZIP" ;
..
[/quote:sow61x6b]
while I did like this:
[code=fw:sow61x6b]<div class="fw" id="{CB}" style="fon... |
xBrowse Row-Height | Even this should work. But you do not change row-heights or fonts afterwards. |
xBrowse Row-Height | [quote="nageswaragunupudi":2fgyodft]Even this should work. But you do not change row-heights or fonts afterwards.[/quote:2fgyodft]
I See.
I have oDlg:SetFont( oFont ) on Dialog's INIT.. will change it.
<!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> |
xBrowse Row-Height | Sample using SetColsAsRows()
[code=fw:t2c73c2h]<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: #00C800;">function</span> Main<span style="color: #000000;">(</span><span style="col... |
xBrowse STAFF SCHEDULE with source code | The work schedule starts with all stuff members set every day as a day off.
Then you can drag to shift-tour or to holiday xBrowse.
It is not possible to delete an entry only to drag back to days off.
If you drag from days off to shift tour you see then the name of the stuff member.
Best regards,
Otto
[url:g94n0osv]... |
xBrowse STAFF SCHEDULE with source code | Otto,
thank You very much.
I nice work.
I found a little bug. Just protect the Header-area for drop-over.
In function < Dropover >
do case
case oBrwThis == oBrwRoster
aPoint := ClientToClient( oBrwFrom:hWnd, oBrwThis:hWnd, { nRow, nCol } )
[color=#FF0000:cmm3bd4u]IF apoint[1] <= 45
apoint[1] := 50
ENDIF[/color:... |
xBrowse STAFF SCHEDULE with source code | Hello Uwe,
thank you.
I repost the sources with your changes.
Thank you.
Best regards,
Otto
[code=fw:3ozju68r]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><br /><span style="color: #B900B9;">/*<br />*<br />* WS.PRG<br />* Aug 07-2012 10:58 PM<br />*<br />*/</span><br /><br /><span ... |
xBrowse STAFF SCHEDULE with source code | Otto,
I don`t know, if it is useful for You
I added a [b:vpqolrfk][color=#FF0000:vpqolrfk]WEEK-SKIPPER[/color:vpqolrfk][/b:vpqolrfk] and [color=#FF0000:vpqolrfk][b:vpqolrfk]start / end [/b:vpqolrfk]-[/color:vpqolrfk]says
to the Mainscreen ( popup < [b:vpqolrfk]week[/b:vpqolrfk] > is just optional )
[img:vpqolrfk]http... |
xBrowse Sample | I'm new to the forum, but I have been a Fivewin user for 10 to 12 years. I just upgraded FWH to get serious about moving all of my stuff to 32 bit. I want to take a good look at what TxBrowse can do, but I can't get the sample testxbrw.prg to build. The compiler appears to go all the way through, but I get an error ... |
xBrowse Sample | Charles,
Are you using Harbour or xHarbour ? What build ? |
xBrowse Sample | Hi Antonio -
Thanks for your response. Actually, I got everything worked out and it's working fine. I am using the latest FWH (7.01) and xHarbour 0.99.71 builds. I had some mistakes in the make file and had to convert the prg from ADS to native CDX. This is the first time I have done anything with it and I like ... |
xBrowse SaveState ? | Hi,
I use array in xbrowse with autosort. I want to save the users selected order in ini file. I try to use SaveState method. but it does not save the cOrder.
How Can I save it and restore it?
Thanks. |
xBrowse SaveState ? | Hi,
I have solved via saving cOrder variable manually. There may be more quick way. but it is ok now.
Thanks. |
xBrowse SaveState ? | Regret delay in my response.
oBrw:SaveState( { "cOrders" } ) --> cSaveText |
xBrowse SaveState ? | Nages,
How I can modify the title of header ?
I have a big Problem
I have application in two language .
the final user open a xbrowse of customer in italian language and the headers of xbrowse are translated in italian language
the procedure at init restore the state of xbrowse and on close save the state of x... |
xBrowse SaveState() to save font? | Hello everyone;
Using GetFont() and SelFont() you give the user access to change xbrowse's font.
Is there a way to save an xbrowse selected font and then restore back to that font next time it opens?
I've tried oBrw:savestate() but it seems like it doesn't save font information.
Thank you,
Reinaldo. |
xBrowse SaveState() to save font? | I suggest these functions
[code=fw:2ey47hdp]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> SaveBrwFont<span style="color: #000000;">(</span> oBrw <span style="color: #000000;">)</span><br /><span style="color: #00C800;">return</span> FontToText<span styl... |
xBrowse SaveState() to save font? | Thank you, Rao. That will work perfectly.
Reinaldo. |
xBrowse SaveState() to save font? | Just a small clarification. Mr. Rao meant oBrw:oFont instead of oBrw:Font. It works perfectly as expected. |
xBrowse SaveState() to save font? | [quote="reinaldocrespo":1mriulei]Just a small clarification. Mr. Rao meant oBrw:oFont instead of oBrw:Font. It works perfectly as expected.[/quote:1mriulei]
You are right. It was my typing mistake. Thanks. |
xBrowse Search Bar | Hello RAo ,
is it possible to have in xBrowse search bar logic and date field types?
Maurizio
<!-- w --><a class="postlink" href="http://www.nipeservice.com">www.nipeservice.com</a><!-- w --> |
xBrowse Search Bar | Irrespective of the field type, whatever is typed by the user for incremental search is assigned to oBrw:cSeek, which is displayed in the search bar. |
xBrowse Search Bar | Mr. Rao,
when the lGetBar is activated, the focus does not go to the first get of the bar.
Regards. |
xBrowse Search Bar | Hi.
something new?
Regards. |
xBrowse Search Bar | Hello Rao ,
I use MySQL , on the column logic ('Intra','Split', ecc) and date (''Data') , the search is not possible.
[url:o0b7r5lb]https://drive.google.com/open?id=1zTfN3h-3OTxG_bwRvKRSgw7P9C4nxsfF[/url:o0b7r5lb]
Regards Maurizio |
xBrowse SetCheckBitmap Column and bEditValue | Hi freinds,I am using an array in Xbrowse to enable/disable checkbox.[b:20dhtcjk]Screen Snapshot[/b:20dhtcjk][url=http://imageshack.us:20dhtcjk][img:20dhtcjk]http://img98.imageshack.us/img98/9871/xbrwhm8.jpg[/img:20dhtcjk][/url:20dhtcjk]I want to change theCheckOn, CheckOff by the user just clic... |
xBrowse SetCheckBitmap Column and bEditValue | use "on change" clause[code:q9d196nq]xbrowse oBrw.... on change SetEdit( oBrwMenu )
procedure SetEdit( obrw )
if oBrw:aArraydata[ oBrw:nArrayAt ][4]
oBrw:aCols[ 2 ]:nEditType = EDIT_NONE
else
oBrw:aCols[ 2 ]:nEditType = EDIT_GE... |
xBrowse SetCheckBitmap Column and bEditValue | Dear Daniel,Thank you for the help, but it is not the solution which I am looking for.I tried your code but it did not make any differenceIf you look at my code posted above, you will find that I have used bEditWhen to acheive the same what you have adviced me to do with the ON CHANGE [code:10uzsr8j]oBrwMenu:aCols&... |
xBrowse SetCheckBitmap Column and bEditValue | hello...try it...[code:1q48x55g] oBrw:bKeyDown= {|nKey| if ( nKey == VK_RETURN, ;
PostMessage( oBrw:hWnd, WM_KEYDOWN, 27 ), ) }
[/code:1q48x55g] |
xBrowse SetCheckBitmap Column and bEditValue | Hi DanielThankyou[code:2fa2vumy]oBrw:bKeyDown= {|nKey| if ( nKey == VK_RETURN, ;
PostMessage( oBrw:hWnd, WM_KEYDOWN, 27 ), ) }
[/code:2fa2vumy]
The above code is working with the Enter Key, [b:2fa2vumy][color=red:2fa2vumy]but Mouse double click is still activating a GET[/color:2fa2vu... |
xBrowse SetCheckBitmap Column and bEditValue | [quote:v2aqu9mr]Is there any way to contol the active column to be always 2
ie oBrwMenu:nColSel should be always 2[/quote:v2aqu9mr]I solved active column issue by changing the the bKeyDown to make Column 2 as Selected column before the PostMessage[code:v2aqu9mr]oBrwMenu:bKeyDown= {|nKey| oBrwMenu:nColSel&#... |
xBrowse SetCheckBitmap Column and bEditValue | Anser,your program is a very nice approach for a tree-like browser.I'd like to work with your code because it could be useful for me too.May be i could find a hint.Could you please, post a little more code and your rc file?My first idea for your problem is to try the bWhen block of column 2.Regards,Detlef |
xBrowse SetCheckBitmap Column and bEditValue | puedes publicar el methodo LDblClick del xbrowse de tu version? o me lo mandas al correo <!-- e --><a href="mailto:danielgarciagil@gmail.com">danielgarciagil@gmail.com</a><!-- e -->, mi messenger es <!-- e --><a href="mailto:danielgarciagil@cantv.net">danielgarciagil@cantv.net</a><!-- e --> |
xBrowse SetCheckBitmap Column and bEditValue | Ansserk I am using :[code:f11ks8zz]
definig the browse :
SetEditBlock(oBrw,{|nKey| (cAlias)->(Editprog(oBrw,nKey)) })
*************************************************************************************************************
PROC SetEditBlock(oBrw ... |
xBrowse SetCheckBitmap Column and bEditValue | Daniel,I am using xBrowse of FWH 8.08Is there any other way to handle this problem without modifiying the original XBrowse Source CodeI am herewith pasting code of xbrowse Method LDblClick[code:35vau3cw]METHOD LDblClick( nRow, nCol, nKeyFlags ) CLASS TXBrowse
local oCol
local nColPos, nRowPos
:&#... |
xBrowse SetCheckBitmap Column and bEditValue | Hi Detlef,[quote:ciwfclre]I'd like to work with your code because it could be useful for me too.
Could you please, post a little more code and your rc file?[/quote:ciwfclre]I fetch data from MySql and create an array with space added to the left of array elements based on the data heirarchy.My .RC contents. I use .RC o... |
xBrowse SetCheckBitmap Column and bEditValue | Hi Anser,many thanks for your kind offer which is highly apreciated.My email Id is ...Best regards,Detlef |
xBrowse SetCheckBitmap Column and bEditValue | Detlef,Please check your email.RegardsAnser |
xBrowse SetCheckBitmap Column and bEditValue | [quote="anserkk":3usz7dy9]Detlef,
Please check your email.
Regards
Anser[/quote:3usz7dy9]Hi Anser,many thanks again for sending your source.It's a great resource for me to learn about additional possibilities of xBrowse.Best regards,Detlef |
xBrowse Sort a Tree by a column n on oItem:Cargo | Hello everyone;
I'm looking to sort an xbrowse displaying a tree. Sorting should be by cargo contents [n] on Tree item branch. For example: suppose I wish to sort this tree by oItem:Cargo[ 2 ] and then refresh the xbrowse showing the newly ordered tree.
[code=fw:2drlmfji]<div class="fw" id="{CB}" style="font-family... |
xBrowse Sort a Tree by a column n on oItem:Cargo | After a while without any suggestions, I'm thinking perhaps I did not explain my question well enough. Suppose I want to order this tree below by the 2nd column of each parent branch (that branch is the state name with folder bmp). This sample code is from xbrwTree.prg on the Samples folder. Notice I only changed ... |
xBrowse Sort a Tree by a column n on oItem:Cargo | Hola Reinaldo,
I think, you need to create other tree in base to the original, let me see the tree class for a easy solution
regards
Marcelo |
xBrowse Sort a Tree by a column n on oItem:Cargo | Hola Marcelo;
¿Así que sigas vivo? Supongo que así dirás de mi. <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Si esto es algo que no existe como sospecho entonces se me ocurre extender la clase TLinkList para añadir un sort por alguna otra columna que no sea necesari... |
xBrowse Sort a Tree by a column n on oItem:Cargo | Hello everyone;
Here is the method I wrote to sort my xbrowse tree by any column. It has been tested and it works really nice.
[code=fw:1npwdgit]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">METHOD</span> Sort<span style="color: #000000;">(</span> nCol <span style=... |
xBrowse Spliting header into 2 line using CRLF (Solved) | Hi
Can somebody tell me how to display the Column heading in 2 lines using CRLF
The following code (supposed to split the header into 2 lines) does not work
[code=fw:1h8w8umn]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">For</span> i:=<span style="color: #000000;">1</span> <... |
xBrowse Spliting header into 2 line using CRLF (Solved) | Anser
oBrw:nHeaderLines := 2
HTH
Richard |
xBrowse Spliting header into 2 line using CRLF (Solved) | Thank you Mr.Richard,
[code=fw:z71eji6g]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">nHeaderHeight</span> := <span style="color: #000000;">40</span> <br />oBrw:<span style="color: #000000;">nHeaderLines</span>:= <span style="color: #000000;">3</span></div>[/code:z... |
xBrowse Spliting header into 2 line using CRLF (Solved) | From version 9.12 onwards, xBrowse automatically splits header, if it contains CRLF and automatically computes the header height required to display both lines.
Whatsnew.txt
[quote:1h8oown3]* Improvement: Where header has CRLFs, data nHeaderLines is automatically computed by the xbrowse. It is desirable not to speci... |
xBrowse Spliting header into 2 line using CRLF (Solved) | Dear Mr.Rao,
Thank you for the information.
Regards
Anser |
xBrowse Swapping en dialog ( How to ) | Antonio/Daniel,
Estan excelentes los ejemplos del swapping, peeero ambos estan desde codigo, es posible hacerlo desde recursos en un dialog ??
Saludos |
xBrowse Swapping en dialog ( How to ) | Yes |
xBrowse Swapping en dialog ( How to ) | Mr. RAO,
Some little sample you may have and wish to share.
Thanks a lot
Best regards |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.