topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
xBrowse cambiando columnas de lugar | Da un error cuando cambio una columna de lugar, por ejemplo:
La columna 5 la cambio de lugar y la pongo entre la 1 y la 2, me posiciono sobre la nueva columna 2 (la que acabo de cambiar de lugar que en realidad es la 5) luego trato de moverme a la derecha, sea con el teclado que con el mouse me da error
[code:1nk683t... |
xBrowse cambiando columnas de lugar | A nadie que use xBrowse le pasa este error? o deshabilitan la posibilidad de cambiar las columnas de lugar a sus clientes?
El error es que si tomo la ultima columna del browse, la pongo al principio y luego me muevo hacia la derecha, me da ERROR.
Saludos. |
xBrowse cambiando columnas de lugar | Pedro,
Cuantas columnas tienes, cinco ? |
xBrowse cambiando columnas de lugar | Pedro,
Puedes reproducir el error en samples\TestXBrw.prg ? |
xBrowse cambiando columnas de lugar | Hola Pedro, he intentado reproducir tu error. Pero a mi no me casca. Te sucede con cualquier browse? |
xBrowse cambiando columnas de lugar | Antonio,
En realidad tengo 6 columnas.
Pero como una imagen dice mas que mil palabras aqui pongo la imagen
Con las columnas en su orden normal:
[url=http://imageshack.us:i4ogi4yd][img:i4ogi4yd]http://img142.imageshack.us/img142/4701/xbrw01jf3.jpg[/img:i4ogi4yd][/url:i4ogi4yd]
Cuando cambio ... |
xBrowse cambiando columnas de lugar | Pedro,
Modifica este método en la Clase TXBrowse:
METHOD ColAtPos( nPos ) INLINE ::aCols[ ::aDisplay[ Min( nPos, Len( ::aDisplay ) ) ] ]
No es que sea la solución perfecta, pero funciona <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
xBrowse cambiando columnas de lugar | Antonio,
Funciona.
El unico problema es que si me posiciono en la primera columna y me muevo con las flechas, se mueve solo hasta donde puse la ultima columna.
Si haglo click con el mouse en la celda siguiente, despues me puedo mover hacia la derecha, ahora sin errores.
Gracias |
xBrowse cambiando columnas de lugar | Pedro,
Por eso te he comentado que soluciona el error, pero aún hay algunos comportamientos extraños |
xBrowse cantidad de registros maximo | Saludos Estimados,
Tengo un programa que sirve de consulta a una tabla MySQL, no la lea como tabla sino la bajo a un arreglo y ese es el que muestro (usando SQLLIB) no hay ningún problema cuando son 300, 1000, 3000 líneas, pero cuando quise revisar una tabla de 250,000 registros se demora tanto que sigo esperando.
Te... |
xBrowse cantidad de registros maximo | Cuando una consulta es de una sola tabla, mas seguro te la cargue rapido, pero si es una tabla relacionada con varias tablas y esta tiene que hacer algunos calculos, te va tardar bastante, tambien dependera si estas haciendo la consulta de forma localhost o si se esta conectando a otro pc, lo que no entiendo es porque ... |
xBrowse cantidad de registros maximo | Hola Enrrique,
Uso tablas de MySQL con TWBrowse, y los datos los cargo a un arreglo, y mas o menos bien, uso TDolphin,
uso esta funcio para cargar la data al array:
[code=fw:1mbl3h48]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//----------------------------------------... |
xBrowse cantidad de registros maximo | Gracias por contestar
Jose Luis, asi lo uso, el arreglo es un Select MySQL, uso SQLLIB y con TwBrowse y TsBrowse, si presenta los miles de registros, mi pregunta es sobre TxBrowse
cCommand:="SELECT codven,fecven,coddoc,numdoc,refere,codcli,nomcli,tipmon,totven,totigv,totnet,status,motnota,posted,fecdes,usrsta,codzon,... |
xBrowse cell edit | In a xbrowse I have some columns defined in this way
[code=fw:2f4je8nh]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> oCol = oBrw:<span style="color: #000000;">AddCol</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> oCol:<span style="color: #000000;">... |
xBrowse cell edit | Marco
I confirm this behavior as well .. unless you use <tab> or <enter> the input buffer is not captured especially if you get distracted and have to move the focus.
Rick Lipkin |
xBrowse cell edit | [quote:2jl190wn]How can I modify mo code in order to keep the entered value?
[/quote:2jl190wn]
This is not possible now. The moment Get loses focus, the Get ends().
Options available are either to lose the changes (default) or save the changes when Get loses focus. Former option is safe and second option can lead to e... |
xBrowse cell edit | Excel saves the value if you click on another cell while entering data. I tried using xbrowse on entry screen where I used tsbrowse before and users were complaining about not saving entry. They would not always remember to press enter or tab before the save button. |
xBrowse cell edit | oCol:lAutoSave may be set to .T.
or
oBrw:lAutoSaves may be set to .T. |
xBrowse cell edit | [code=fw:2n56bo1l]<div class="fw" id="{CB}" style="font-family: monospace;">oCol:<span style="color: #000000;">lAutoSave</span> may be set <span style="color: #0000ff;">to</span> .T.</div>[/code:2n56bo1l]
Oh Very Good!
Many thanks
Marco |
xBrowse cell edit | I expecting that when write something during editing and you click outside the value is saved.
for example
[img:3m6gc4aj]http://i.imgur.com/syQch6t.gif[/img:3m6gc4aj]
I expecting that the value remains... |
xBrowse cell edit | But your postedit block insists that the last key should be VK_RETURN.
I suggest coding XBROWSE fully in command style, using COLUMNS clause. You can see any of the many samples I posted in the forums. Everything will work the way expected. That is our officially recommended way of coding to get the full benefit of xb... |
xBrowse cell edit | and why the provided example does not works?....
It is not my postedit it is yours... |
xBrowse cell edit | Hi,
I am trying with FWH 15.3 and lAutoSave does not works.
I modified xbrwedit.prg in this way
[code=fw:1wrh51a2]<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> ... |
xBrowse cell edit | What are you expecting from AutoSave? |
xBrowse cell edit | I mean the code written for postedit block.
If we use COLUMNS syntax XBrowse automatically generates a bOnPostEdit codeblock.
I need to go out for a while
When I am back I will post a working sample |
xBrowse cell edit | If I change the bOnPostEdit it works as expected, (replacing [b:v29k9qzm]nKey == VK_RETURN[/b:v29k9qzm] with [b:v29k9qzm]nKey != VK_ESCAPE[/b:v29k9qzm])
But I am not able to do it in my code, I will check again. |
xBrowse cell edit | We suggest this code;
[code=fw:2w2peou1]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br />REQUEST DBFCDX<br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">(</sp... |
xBrowse cell overlaps | Dear Rao,
is it possible to overlap (free) cells in xBrowse, like it is in Excel?
Little screen shot, showing overlapped cells in Excel:
[url:17sxphld]http://depositfiles.com/files/3bb77rcog[/url:17sxphld] |
xBrowse cell overlaps | Hello,
I think this id not possible with the native xBrowse, you need to change the code, maybe can be possible to add a data (object attribute) to change the paint behavior
In the PaintData Method of TXBrwColumn Class change the follow lines
[code=fw:1hc7rob3]<div class="fw" id="{CB}" style="font-family: monospace... |
xBrowse cell overlaps | Hi Marcelo,
thank you very much for your code snippet.
It works for the last column, see screen shot:
[img:2at9pj8j]http://data.sewerin.de/www/centres.nsf/Files/xBrowse_cell_overlaps_01/$FILE/xBrowse_cell_overlaps_01.png[/img:2at9pj8j]
But it doesn't work for (empty) cells, as shown here:
[img:2a... |
xBrowse cell overlaps | >>
I think this id not possible with the native xBrowse, you need to change the code, maybe can be possible to add a data (object attribute) to change the paint behavior
>>
This observation is not correct.
If oCol:bPaintText is assigned with our codeblock, xbrowse does NOT paint cell text on its own and instead calls... |
xBrowse cell overlaps | Rao,
[quote:2430rk1m]If oCol:bPaintText is assigned with our codeblock, xbrowse does NOT paint cell text on its own and instead calls our codeblock with the parameters ( oCol, hDC, cData, aRect, aColors, lHighLite ). It is for the programmer to use this facility,[/quote:2430rk1m]
So, we can achieve the above describe... |
xBrowse cell overlaps | Hello,
I think Mr. Rao is right, what happend is I worked with very old xBrowse source <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
[code=fw:17krhuuk]<div class="fw" id="{CB}" style="font-family: monospace;"> <br />...<br /><span style="color: #00C800;">if</span... |
xBrowse cell overlaps | Dear Marcelo, dear Rao,
I've adopted your proposals and now my sample code looks as follows:
[code=fw:1l74jg74]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">FUNCTION</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <... |
xBrowse cell overlaps | Hi to all,
one possible solution is, setting
[code=fw:czamq5ru]<div class="fw" id="{CB}" style="font-family: monospace;">oCol:<span style="color: #000000;">lColTransparent</span> := .T.</div>[/code:czamq5ru]
but the content of the selected row disappears:
[img:czamq5ru]http://data.sewerin.de/www/centres&... |
xBrowse cell overlaps | Another much more better solution:
[b:2syixm5y]Merge columns[/b:2syixm5y] similar to merge rows, see testmerg.prg
Unfortunately this feature is not (yet) implemented in xBrowse. |
xBrowse change record values runtime | Dear Sir,
I have database Field name LTYPE contain records as below
LTYPE
S
C
W
I want to Display Supplier for S in xbrowse
Client for C
and
Wsale for W records
Thanks & Regards
Yunus |
xBrowse change record values runtime | Set filter to "LTYPE='S'" or 'C' or 'W' for showing Supplier, Client or WSale |
xBrowse change record values runtime | [quote="nageswaragunupudi":3hmj4wil]Set filter to "LTYPE='S'" or 'C' or 'W' for showing Supplier, Client or WSale[/quote:3hmj4wil]
Xbrowse should DISPLAY "Supplier" text instead of "S"
I have sent you screenshot in whatsapp.
Regards
Yunus. |
xBrowse change record values runtime | Ok.
[code=fw:2hbxxceg]<div class="fw" id="{CB}" style="font-family: monospace;"><br />WITH OBJECT oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">[</span> i <span style="color: #000000;">]</span> <span style="color: #B900B9;">// i is the column number of this column</span><br... |
xBrowse change record values runtime | Thanks Sir.
it worked.
Regards
Yunus. |
xBrowse changing row-color on groups ( index ) ? | Hello,
I want to switch the row-color of a image-group like this row-change sample for deleted:
oBrw:bClrStd = { || If( oBrw:KeyNo() % 2 == 0, ;
{ If( ( oBrw:cAlias )->( Deleted() ), 255, 0 ), 16774636 }, ;
{ If( ( oBrw:cAlias )->( Deleted() ), 255, 0 ... |
xBrowse changing row-color on groups ( index ) ? | I got it working, adding a extra field SWITCH.
At startup, I defined for each image-group .T. or .F.
like :
image1: SWITCH := .T.
Image1 : SWITCH := .T.
Image2 : SWITCH := .F.
Image3 : SWITCH := .T.
in xbrowse I used : [color=#0000FF:14thf2v9][b:14thf2v9]oBrw:bClrStd := {|| { 0, IIF( (1)->SWITCH, 16774636, 16770764 ) ... |
xBrowse checkbox | Hello all,
is in xBrowse an EDIT_MODE for CHECKBOX or an other solution to do checkboxes? |
xBrowse checkbox | Günther,
You may use a combobox with "Yes" and "No"
Please review fwh\samples\mallorca.prg in FWH 8.01 to use a combobox |
xBrowse checkbox | Antonio,Hay problema con la implentacion de los checkbox fuera del uso comun de un checkbox?Pregunto porque quise utilizarlo en tree y no pude, ahora cambie y quiero ponerlo en un xbrowse y veo que no se lo puede implementar tan facilmente... es asi o me equiboco?Lo mio es simple:[code:14e3byno] aArray:= &... |
xBrowse checkbox | See :<!-- m --><a class="postlink" href="http://fivetechsoft.com/forums/viewtopic.php?t=10981&highlight=">http://fivetechsoft.com/forums/viewtopi ... highlight=</a><!-- m -->Frank |
xBrowse checkbox | Antonio:Any way to get the list box using xbrowse from resources rather the buildfromcode? |
xBrowse checkbox | [quote="demont frank":208goodp]See :
<!-- m --><a class="postlink" href="http://fivetechsoft.com/forums/viewtopic.php?t=10981&highlight=">http://fivetechsoft.com/forums/viewtopi ... highlight=</a><!-- m -->
Frank[/quote:208goodp]Frank i saw that example.... thank´s |
xBrowse cláusula (asi se dice?) FIELDS | Gente;
al declarar mediante comandos, lo siguiente:
[code=fw:pyhr5h68]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> ::<span style="color: #000000;">oBrwCab</span> <span style="color: #0000ff;">ID</span> BRW_XBRW <s... |
xBrowse cláusula (asi se dice?) FIELDS | Mario
Consider this code .. a bit different approach than your example .. code snipit using ADO and not DbfCdx .. however the logic for adding new fields is the same.
Rick Lipkin
[code=fw:wqofn88y]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span sty... |
xBrowse cláusula (asi se dice?) FIELDS | Rick;
many thank for the suggestion. I will consider
(sorry for my english) |
xBrowse cláusula (asi se dice?) FIELDS | Estimados;
vuelvo sobre este tema, dado que la forma mostrada por Rick no es la solución
En mi caso, hago la declaración del xBrowse de la forma ya mostrada, debido a que una de las columnas muestra un campo de una DBF relacionada
[code=fw:10sx6z0x]<div class="fw" id="{CB}" style="font-family: monospace;"> <span styl... |
xBrowse cláusula (asi se dice?) FIELDS | Hola Mario.
Ya lo intentaste asi?
[code=fw:1ilki2u9]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> ::<span style="color: #000000;">oBrwCab</span> <span style="color: #0000ff;">ID</span> BRW_XBRW <span style="col... |
xBrowse cláusula (asi se dice?) FIELDS | Francisco;
tampoco anda
[list:3ie3p3ac]--------------------Configuración: CStock - Release--------------------
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 9421)
Copyright 1999-2011, <!-- m --><a class="postlink" href="http://www.xharbour.org">http://www.xharbour.org</a><!-- m --> <!-- m --><a class="postlink" href="... |
xBrowse cláusula (asi se dice?) FIELDS | Mario, Que raro. Prueba este ejemplo y decime si te funciona. (a mi me funciona: FWH1204-XHARBOUR). No lo probé con recursos.
[code=fw:3uyei5os]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">Function</span> prueba<span style="color: #000000;">(</span><span style="color: #000... |
xBrowse cláusula (asi se dice?) FIELDS | Probado desde recursos y todo OK.
Recuerda que tienes que declarar LOCAL oCol |
xBrowse cláusula (asi se dice?) FIELDS | [quote="FranciscoA":2zovjgmp]Mario, Que raro. Prueba este ejemplo y decime si te funciona. (a mi me funciona: FWH1204-XHARBOUR). No lo probé con recursos.
[code=fw:2zovjgmp]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">Function</span> prueba<span style="color: #000000;">(</... |
xBrowse code block to evaluate fieldname()->value | To All
I have an xbrowse reservation listbox that I want to know if there is a codeblock to evaluate the data contents of each cell in a row and set a cell color for the same data for columns that contain the same value ..
See listbox .. I want to color each like cell the same BACKGROUND ( not forground is in the exa... |
xBrowse code block to evaluate fieldname()->value | Rick,
Perhaps you can use this code sample for a starting point.
James
[code=fw:3t6s7fx7]<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</span> LEN<span style="color: #000000;">(</span>o... |
xBrowse code block to evaluate fieldname()->value | Mr. Rick
Please see this sample
[code=fw:2e8x3d4k]<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 /><sp... |
xBrowse code block to evaluate fieldname()->value | Rao and James
Thank you for your quick responce !! I will take a look shortly ..
Rick |
xBrowse code block to evaluate fieldname()->value | Rao
Looked and compiled your code .. looks like I will need to determine the color start and end for an exact name then for the next block of names .. determine the next color string and so on .. that is why I was trying to extract the value of the cell so I can compare it .. This will definitly get me started
[code... |
xBrowse code block to evaluate fieldname()->value | You want to have different colors for different names. Something like this?
[url=http://img15.imageshack.us/my.php?image=clrbyval.jpg:2a6fjmrn][img:2a6fjmrn]http://img15.imageshack.us/img15/8039/clrbyval.jpg[/img:2a6fjmrn][/url:2a6fjmrn]
[code=fw:2a6fjmrn]<div class="fw" id="{CB}" st... |
xBrowse code block to evaluate fieldname()->value | Rao
You are on the right track .. I want to color each cell individually if no next cell has the same value .. or a string of values if they are all the same leaving the NULL or EMPTY cells the default colors..
[color=#000080:2axxqqgj]A A A[/color:2axxqqgj] [color=#00BF80:2axxqqgj] B[/color:2axxqqgj] [color=#BF0000... |
xBrowse code block to evaluate fieldname()->value | Rao
Here is pretty much the final code based on your contribution and logic
[url=http://img199.imageshack.us/i/reserve.jpg/:3b5yvy10][img:3b5yvy10]http://img199.imageshack.us/img199/4432/reserve.jpg[/img:3b5yvy10][/url:3b5yvy10]
[code=fw:3b5yvy10]<div class="fw" id="{CB}" style="fon... |
xBrowse code block to evaluate fieldname()->value | Mr. Rick
Very nice. |
xBrowse code block to evaluate fieldname()->value | Mr. Rick
It is out of topic, but after seeing your VALID clause for MDICHILD, I recall the problem you were facing while closing the record set in the valid clause.
The best way is to close recordset / database in the oWnd:bPostEnd code block but not in the valid clause. This is executed after closing the MDIChild wi... |
xBrowse color | Hello,
I am converting to xBrowse.
How can I change the color of the place below the rows if there are less rows than fit in the browse.
Thanks,
Willy |
xBrowse color | Willi,
try oBrw:SetColor (<nFore>,<nBack>) |
xBrowse color | Sorry but this does not work.
Only the background of the lines is set.
I want the whole panel colored if there are few lines in the browse.
Example. The brwose has place for 25 lines.
In the beginning there are only 2 records added.
I want that the place below those lines is also colored.
Thanks for the reply Ste... |
xBrowse color | Willy,
Class TXBrowse Method Paint() makes this call:
FillRect( ::hDC, GetClientRect( ::hWnd ), ::oBrush:hBrush )
so it should fill all its entire surface |
xBrowse color | Thanks Antonio,
Indeed that line paints the area but when the rows are painted it is overwritten in a blank area.
I Think this is done in the dispend method of the Windows Class.
Is this browse painted correctly in your screens.
I use the xbrowse in a dialog and nog in a window. Could that make a difference.
I do ... |
xBrowse color | Antonio,
Is this still a problem everywhere.
Is it possible to paint the whole area in a specified color or am I the first who want to try it.
Thanks,
Willy |
xBrowse color | Willy,
Are you able to reproduce the bug using samples\TestXBrw.prg ? |
xBrowse color | Antonio,
I tried the testxBrowse program.
I think I found something.
The whole panel is not colored when you use a dialog with resources.
That is exactly what I do in my tests.
In the other screens the screen is paited correctly.
I use Workshop for all my screens. So it is important for me.
Greetings,
Willy |
xBrowse color | Anyone ? |
xBrowse color | Willy,
Sorry, we have been busy and couldn't test it. We are going to review it asap |
xBrowse color | OK |
xBrowse color | Willy,
We have modified samples\TestXBrw.prg this way and these are our first results:
[code:19642c5s]
STATIC FUNCTION NewDialog( oWnd )
local oDlg, oBrw
DEFINE DIALOG oDlg RESOURCE "TEST" OF oWnd
oBrw := TXBrowse():New( oWnd )
oBrw:CreateFromResource( 101 )
... |
xBrowse color | This is doing the job.
Thanks Antonio. |
xBrowse color (Solved) | Good afternoon.
How to set the xBrowse cell / line color when it is out of focus?
Thanks |
xBrowse color (Solved) | bClrSel,; // default color pair for selected row
bClrSelFocus,; // default color pair for selected row when control has focus |
xBrowse color (Solved) | [code=fw:1gms48th]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">local</span> aGradBarSel:= <span style="color: #000000;">{</span> <span style="color: #000000;">{</span> <span style="color: #000000;">1</span>, RGB<span style="color: #000000;">(</span><span style="c... |
xBrowse color (Solved) | Hello Francisco.
Mine is already like this, the question I want to solve is when it loses focus.
See the images.
with focus
[img:1erb6cgk]http://maxxtech.com.br/forum/comfoco.jpg[/img:1erb6cgk]
without focus
[img:1erb6cgk]http://maxxtech.com.br/forum/semfoco.jpg[/img:1erb6cgk] |
xBrowse color (Solved) | Hello Christiano,
I like your design.
Best regards,
Otto |
xBrowse color (Solved) | I am not sure what exactly you are looking for.
Is this what you want?
[code=fw:39mz80qw]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">bClrStd</span> := <span style="color: #000000;">{</span> || <span style="color: #000000;">{</span> CLR_BLACK, <span... |
xBrowse color (Solved) | Nages, the idea is this, but it would be in the color of the cell. He had already tried it, but without success.
Thanks |
xBrowse color (Solved) | Question resolved!
The answer was in my face and I didn't see ...
Thank you all!
[code=fw:3svwjr0s]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">bClrSel</span> := <span style="color: #000000;">{</span>||<span style="color: #000000;">{</span>nRGB<span style="co... |
xBrowse color (Solved) | Thanks Otto
See the full image for viewing
[img:hcn5f4vi]http://maxxtech.com.br/forum/gac.jpg[/img:hcn5f4vi] |
xBrowse color a cell ( again ) | To All
In searching the forum .. I am having difficulty trying to find the code that will be able to change a cell color based on the data in the cell .. I can easily change the entire line based on a value in a row .. but am having difficulties as in this example
column 7 can contain the 3 values 'GREEN', 'YELLOW' o... |
xBrowse color a cell ( again ) | Please remove all your code about colors and add this line:
[code=fw:33brgh08]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBrw:<span style="color: #000000;">bClrStd</span> := <span style="color: #000000;">{</span>|| <span style="color: #000000;">{</span>CLR_BLACK, <span style="color: #00C8... |
xBrowse color a cell ( again ) | Rao
Your answer was perfect .. had a run-time error .. but I easily corrected it .. you just left out the third parameter "RED" for the decode .. you had the color attributes but left out the "RED" parameter ..
Thanks for your quick responce .. Send me a note from time to time .. I got locked out of my yahoo account ... |
xBrowse colour | Dear Friends,
Is there any trick to fill a colour in the area where Data is not available.
A picture is worth thousand words <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Please see the picture.I need a colour to be filled in the area marked in Red Arrow
[url=http&... |
xBrowse colour | Hello Anserkk,
simply define a Brush as a xBrowse-background.
You are using alternated Row-Colors, ( Blue and Light-Blue ).
The Brush < Sky.bmp > will be a good looking solution.
You can find it in the FWH-Bitmap-directory.
Attention !
-------------
!!! Using a BRUSH, You will only have one Color for the selected Row ... |
xBrowse colour | Dear Mr.Uwe
Thankyou very much.
So there is no trick to acheive it with Colours.
I shall try your BMP suggestion and let you know.
Regards
Anser |
xBrowse colour | Hello Anserkk,
Here You have a Background-Function for xBrowse :
[code:1im0srty]
// Your Browser !!!!
.......
.......
ACTIVATE DIALOG oDlg CENTERED ;
ON INIT XBRW_BRUSH(oLbx, 3)
RETURN NIL
// ----------------------------------
FUNCTION XBRW_BRUSH(oLbx, nStyl... |
xBrowse colour | Dear Mr.Uwe,
Thank you for the Function XBRW_BRUSH(oBrwMenu, 2)
I tried it. As you said, alternative colours (Pyjama Effect) is not possible when BRUSH is used as background. So sad <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
Regards
Anser |
xBrowse colour | Hello Anser,
I think, it is not a real problem,
After the browser is filled with data, You don't notice that anymore.
The < row-color-change > works like a brush.
To have this effect on a image- or style- background, wouln't make sense,
because in this case, You don't see the background anymore.
Did You try out the br... |
xBrowse colour | Anser,
> (Pyjama Effect) is not possible when BRUSH is used
You can create a bitmap with such pyjama effect and use it to create the brush, so the brush will have such effect <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.