topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
xBrowse new line for DBF ... | Hi Rimintas,
Again a database object is going to be a good answer. It is automatically buffered.
However, it is difficult to do spreadsheet style editing with cell level validation and control. Also, how does one trigger the save? On a cell by cell basis or only when they are done with the entire record? And how is t... |
xBrowse new line for DBF ... | [quote="James Bott":1jzh1v8q]Hi Rimintas,
Again a database object is going to be a good answer. It is automatically buffered.
However, it is difficult to do spreadsheet style editing with cell level validation and control. Also, how does one trigger the save? On a cell by cell basis or only when they are done with th... |
xBrowse new line for DBF ... | Rimintas,
[quote:edsz481m]It's very easy to do validation for a new record - lets say that xBrowse class extends with some features - lNewRecord - logical ( or bMarkNew for sample ) and bValidNewRecord - codeblock . So adding a new record we can mark that with lNewRecord and let to stay here until to press button "Sav... |
xBrowse new line for DBF ... | [quote="James Bott":14wzskk3]Rimintas,
You still have the design issues that I mentioned. Plus you have to add a new record to the DBF before you can edit it. Then if the user doesn't want it, then you have to delete it. This gets messy--you end up with a bunch of deleted records. Also it gets very complex validating ... |
xBrowse new looks | Hello,
Is it posible to create an example that shows latest xBrowse new look/styles?
Thank you. |
xBrowse new looks | what's mean |
xBrowse new looks | Hi,
This code does not change the look:
[code=fw:66rcmdbg]<div class="fw" id="{CB}" style="font-family: monospace;"> WITH OBJECT oBrowse<br /> <br /> :<span style="color: #000000;">nStretchCol</span> := STRETCHCOL_WIDEST<br /> :<span styl... |
xBrowse new looks | here make it
[img:pv2d0dq7]https://i.postimg.cc/3NsNwdgZ/here.png[/img:pv2d0dq7]
only recordsel is not with style
If I press on header it is colorized with green color |
xBrowse new looks | Hi,
Don´t see changes.
Thanks |
xBrowse new looks | on header, on footer...
[size=150:3gxr139e][b:3gxr139e]2007[/b:3gxr139e][/size:3gxr139e]
[img:3gxr139e]https://i.postimg.cc/qB1PHVW6/2007.png[/img:3gxr139e]
[size=150:3gxr139e][b:3gxr139e]2010[/b:3gxr139e][/size:3gxr139e]
[img:3gxr139e]https://i.postimg.cc/D0VQGzMY/2010.png[/img:3gxr... |
xBrowse new looks | [quote="Silvio.Falconi":w1ana5yw]on header, on footer...
[size=150:w1ana5yw][b:w1ana5yw]FUTURE[/b:w1ana5yw][/size:w1ana5yw][/quote:w1ana5yw]
these Color come from Theme which you get when use XP Manifest.
they have change with every Windows Version so next Version might ... Darkmode <!-- s;) --><img src="{SMILIES_PATH}... |
xBrowse no ajusta al limite derecho del browse | Hola buenas tardes a todos, tengo el siguiente problema con xBrowse, no me ajusta las columnas al limite derecho del browse hasta completar toda la pantalla
ya sea utilizando cualquiera de las dos opciones, deje una imagen para que la vean
[code=fw:17tc2bgy]<div class="fw" id="{CB}" style="font-family: monospace;"> ... |
xBrowse no ajusta al limite derecho del browse | Saludos, eso viene sucediendo desde hace mucho, hay que ajustar las columnas al ancho del xbrowse, que no deberia de ser, pero bueno...gracias... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> |
xBrowse no ajusta al limite derecho del browse | nStretchCol works from version 8.12 onwards. |
xBrowse no ajusta al limite derecho del browse | [quote="nageswaragunupudi":q9d605p4]nStretchCol works from version 8.12 onwards.[/quote:q9d605p4]
from version 8.12...? saludos...gracias... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> |
xBrowse no muestra bitmaps desde recurso | Hola.
Tengo una serie de bitmaps en un archivo .rc y xbrowse no me los muestra. Los defino de la siguiente manera:
local aBitmaps[5]
aBitmaps[ 1 ] := LoadBitMap( GetResources(), "ON")
aBitmaps[ 2 ] := LoadBitMap( GetResources(), "OFF")
aBitmaps[ 3 ] := LoadBitMap( GetResources(), "CHECK2")
aBitmaps[ 4 ]... |
xBrowse no muestra bitmaps desde recurso | Please try:
[code=fw:2f4v1tj8]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">/*<br />local aBitmaps[5]<br />aBitmaps[ 1 ] := LoadBitMap( GetResources(), "ON")<br />aBitmaps[ 2 ] := LoadBitMap( GetResources(), "OFF")<br />aBitmaps[ 3 ] := LoadBitMap( GetResources(), "CHECK2... |
xBrowse no muestra bitmaps desde recurso | Thank you very much for your help. It works fine!
Regards
Fernando Morales |
xBrowse no refresca correctamente con índice condicional. | Hola.
Tengo un xBrowse con registros cuyo índice es condicional: for ! empty(FECHA).
Bien, se supone que si modifico el campo FECHA y ya no está vacio, despues de hacer oBrw:Refresh() debería desaparecer, pero no, sigue en la rejilla, salvo que haga click en ella y entonces si desaparece.
La solución la he encontrado h... |
xBrowse no refresca correctamente con índice condicional. | que tal Fernando
simplemente pon oBrw:refresh(.t.)
obliga a repintar todo....
saludos |
xBrowse no salta a la siguiente línea con MOVE_FAST_RIGHT | SI no hay más columnas editables después de la que se edita (porque lo impiden los :bEditWhen), xBrowse no salta a la siguiente línea con MOVE_FAST_RIGHT, como lo hace desde la última columna cuando es editable.
Solución:
En el METHOD GoNextCtrl(hWnd) CLASS TXBrowse
[code=fw:16mgo6a0]<div class="fw" id="{CB}" sty... |
xBrowse no salta a la siguiente línea con MOVE_FAST_RIGHT | Thanks for the suggestion.
Implemented in FWH 10.10 |
xBrowse no se ajusta al ancho del Browse | Hola buenos días, les explico lo que me pasa.
Tengo un xBrowse dentro de un Folder y el Folder esta dentro un Layout, explico esto porque tengo un xBrowse dentro de un Layout solamente y se ajusta al ancho y en este caso que les explico no.
[code=fw:34vpwj47]<div class="fw" id="{CB}" style="font-family: monospace;">oBr... |
xBrowse no se pinta | Hola
Algunos de Uds. no le ha pasado que tratando de usar xBrowse y no hay ningun registro no se pinta.. <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
Alguien ha solucionado esto, si es asi me podrian pasar la solución, de antemano muchas gracias.. <!-- s:lol: --><img src="... |
xBrowse not display the contents of the column | Hi FiveWinners.
PRIVATE aMOVTOS:={" ","FALTA","PERMISO","ASISTENCIA","RETARDO","DESCANSO","ENFERMEDAD","MATERNIDAD","LABORIESGO","INCAXAT","VACACION","TXTIEMPO"}
ADD COLUMN oComb TO oBrw DATA (cNAlias)->NA_TIPMOV ;
HEADER "Movimiento" ;
SIZE 120 EDITABLE
oComb:bOnPostEdit := {|o, v, n| iif( n != VK_ESCAPE, ( ... |
xBrowse not display the contents of the column | [code=fw:36kieuz9]<div class="fw" id="{CB}" style="font-family: monospace;">WITH OBJECT oBrw:<span style="color: #000000;">Movimiento</span><br /> :<span style="color: #000000;">nEditType</span> := EDIT_LISTBOX<br /> :<span style="color: #000000;">aEditListTxt</span> := aMOVTOS<br />END<br />&nb... |
xBrowse not display the contents of the column | Hello Mr. Nages
could you give me your email ?
Thank You |
xBrowse not display the contents of the column | <!-- e --><a href="mailto:nageswaragunupudi@gmail.com">nageswaragunupudi@gmail.com</a><!-- e --> |
xBrowse not showing at all with MinGw and Harbour | I am triing to program a browse using xBrowse without success.
The window shows up empty with no messages at all.
I was unable to figure out what am I doing wrong...
I am using FiveWin with MinGw and Harbour.
I made a small self contained sample of what I am coding.
Could someone inspect the code above and point what's... |
xBrowse not showing at all with MinGw and Harbour | You missed the code <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
[code=fw:31eqcx4v]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">(</span><span style="color: #000000;">&#... |
xBrowse not showing at all with MinGw and Harbour | Very thanks Anser !
Thats it. |
xBrowse numeric formats ( To: G.N.Rao ) | Linares,
Is there any parameter to reset all the numeric formats xBrowse for Brazilian (999,999.99) standard?
If so this parameter also changes the format of the exported to Excel numbers? |
xBrowse numeric formats ( To: G.N.Rao ) | XBrowse (and FWH in general) support 3 kinds of numeric formats, which can be automatically reset during execution, if we do not hard-code numeric formats in our xbrowse program.
A. American format used by most countries "999,999,999.99"
E. European format "999.999.999,99", widely used in Europe
I. Indian forat: "99,9... |
xBrowse numeric formats ( To: G.N.Rao ) | Thanks Rao,
I used FwNumFormat ('E',. T.) and, in fact, the numbers in xBrowse already were properly disposed.
However, when exporting to Excel does not recognize the formatting.
Example: Number [12,1234] (two integers and four decimal) exported [121.234,0000] (six integers and four decimal) to excel. |
xBrowse numeric formats ( To: G.N.Rao ) | No one is having this same problem when exporting numbers in European format to Excel?
Please, see this example:
[code=fw:y0ikqkex]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">'fivewin.ch'</span><br /><span style="color: #0... |
xBrowse numeric formats ( To: G.N.Rao ) | [url:apirklz1]http://forums.fivetechsupport.com/viewtopic.php?f=6&t=29499[/url:apirklz1] |
xBrowse oBrw:ToExcel method doesn't runs with Excel 97 | Hi all,
a customer reported me this error that appairs using the oBrw:ToExcel() method in xbrowse.
It seem to be related to the ole object languagesettings, perhaps it doesn't exist in Excel 97.
Any solution ?
Thanks in advance
Marco
Application
===========
Path and name: C:\pigc\pigc.exe (32 bits)
Size: 8,111,92... |
xBrowse oBrw:ToExcel method doesn't runs with Excel 97 | Marco,
We did not test it with Excel97.
We shall try to release a version with appropriate switch to suit excel97 |
xBrowse oBw:ToExcel() | To escape from error if ListSeparator is changed on the PC i use this function GetListSeparator() in xBrowse class
cFormula:= "SUBTOTAL(" + ;
LTrim( Str( FW_DeCode( IfNil( oCol:nFooterType, 0 ), AGGR_SUM, 9, AGGR_MAX, 4, AGGR_MIN, 5, ;
AGGR_COUNT, 3, AGGR_AVG... |
xBrowse oBw:ToExcel() | The formula that is built above is translated by the function ExcelTranslate( cFormula ) before assigning to the cell in the next line.
The function ExcelTranslate replaces "," with the proper ListSeparator. This function is in olefuncs.prg.
Here ListSepator is obtained from Excel Object than from the Registry.
May ... |
xBrowse oBw:ToExcel() | Mr. Rao,
I use FWH 14.12
xHarbour (Build 20141124)
bcc582
yes, FWH i am using contains this ExcelTranslate() function.
BUT program crash at line 7545
[b:2q0iggf0]oSheet:Cells( nRow, nCol ):Formula := '=' + ExcelTranslate( cFormula )[/b:2q0iggf0]
ListSeparator to my PC is "|"
Error description: Error Excel.Appli... |
xBrowse oBw:ToExcel() | Can you help ?
Can you check the result of oExcel:International[ 5 ] ? |
xBrowse oBw:ToExcel() | Yes
I put msginfo just before line 7545 (where program crash)
the value of oExcel:International[ 5 ] is "|"
Regards, |
xBrowse oBw:ToExcel() | That is correct.
Then please also put another msginfo
msginfo( ExcelTranslate( cFormula ) ) // without applying your correction |
xBrowse oBw:ToExcel() | Result,
SUBTOTAL(9,I2:I87)
Here is source of the ExcelTranslate() function
[code=fw:3h0lpw84]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">f... |
xBrowse oBw:ToExcel() | We need to fix exceltranslate function. I'll get back |
xBrowse oBw:ToExcel() | Please use this revised function
[code=fw:30mx21l8]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> ExcelTranslate<span style="color: #000000;">(</span> cFunc <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local... |
xBrowse oBw:ToExcel() | I replaced the function
and included file olefuncs.prg in program
This error occured
Error description: Error BASE/1003 Variable does not exist: CLISTSEPARATOR
Stack Calls
===========
Called from: .\olefuncs.PRG => EXCELTRANSLATE( 184 )
Called from: .\xbrowse.PRG => SETEXCELLANGUAGE( 8791 )
Called from... |
xBrowse oBw:ToExcel() | Up, |
xBrowse oBw:ToExcel() | We are using cListSeparator in versions subsequent to your version. We are deriving cListSeparator from oExcel:International[ 5 ].
We made suitable modification as proposed above in the next version and is working.
For older versions you may need to use oExcel:International[ 5 ] or your Regstry function to replace com... |
xBrowse oCol:nHeadBmpNo Problem | Hi,
Is there anything specifically to be taken care of to display the Up and Down symbol displayed on the xBrowse Column Header using the oCol:nHeadBmpNo.
I am using the following function to Sort the RecordSet Data displayed on the xBrowse. The sorting is working fine, but it never displays the Up and Down arrow on ... |
xBrowse oCol:nHeadBmpNo Problem | First Point:
It is enough to assign oCol:cOrder := 'A' or 'D'.
You do not have to have any headerbmpno.
XBrowse automatically paints up arrow or down arrow ( built-in bitmaps) depending of whether oCol:cOrder is 'A' or 'D'.
Second Point:
If you are browsing a recordset, it is not necessary to code a detailed function... |
xBrowse oCol:nHeadBmpNo Problem | Dear Mr.Rao,
[quote:2oimryjg]It is enough to assign oCol:cOrder := 'A' or 'D'.
You do not have to have any headerbmpno.
XBrowse automatically paints up arrow or down arrow ( built-in bitmaps) depending of whether oCol:cOrder is 'A' or 'D'.[/quote:2oimryjg]
You are right. I used oCol:cOrder := 'ASC' or 'DESC' instead ... |
xBrowse oCol:nHeadBmpNo Problem | Your syntax is right.
I just want to inform you that there is another way of userdefined sort. You can also assign a codeblock to cSortOrder. The codeblock does the actual sorting and returns 'A' or 'D'.
Behavior of XBrowse is if the column is unsorted, it sorts ascending and if it is already sorted, it toggles the s... |
xBrowse oCol:nHeadBmpNo Problem | [quote:389vgb52]Behavior of XBrowse is if the column is unsorted, it sorts ascending and if it is already sorted, it toggles the sort.[/quote:389vgb52]
I don't know where I have gone wrong.
Regards
Anser |
xBrowse oCol:nHeadBmpNo Problem | Dear Mr.Rao,
[quote="Mr.Rao":2v3ah1k1][quote:2v3ah1k1]Your syntax is right.
I just want to inform you that there is another way of user defined sort. You can also assign a codeblock to cSortOrder. The codeblock does the actual sorting and returns 'A' or 'D'.
Behavior of XBrowse is if the column is unsorted, it sorts... |
xBrowse on a Dlg OF oWnd MDI does not respond | Hi everyone.
I need help finding out what I'm doing wrong with this xbrowse. It is housed on a dialog built from resources. The app is an MDI app. I have been able to reproduce the problem on a reduced self-contained sample as shown below. When you execute the app you must resize the window in order to view the xb... |
xBrowse on a Dlg OF oWnd MDI does not respond | Well, never mind. I was able to figure out the solution. I will be glad to share if anyone is interested.
I'm sure someone would've helped so thank you anyway.
Reinaldo. |
xBrowse on a Dlg OF oWnd MDI does not respond | I gave up on MDI designs a long time ago, and with it all the associated problems. I think single document interfaces (SDI) are much better UI's anyway.
Glad you solved your problem though.
James |
xBrowse on a Dlg OF oWnd MDI does not respond | James;
Totally with you here. I try to avoid them all the time. AMOF, I imitate MDI using SDI + modeless dialogs and keep better control of the GUI and -IMHO -provide a better enduser experience.
Reinaldo. |
xBrowse on array - headers disappear. | I have problem with xBrowse on array.
When I first time call a dialog with xBrowse all look correctly.
[img:15zuxmie]http://www.3ct-phototeam.pl/FWH/xbrowse-step-1.jpg[/img:15zuxmie]
but when I add one record to array headers disappear
[img:15zuxmie]http://www.3ct-phototeam.pl/FWH/xbrowse... |
xBrowse on array - headers disappear. | Please remove the line
oBRWF:SetArray( xTABBAD )
and try. |
xBrowse on array - headers disappear. | [quote="nageswaragunupudi":375lzune]Please remove the line
oBRWF:SetArray( xTABBAD )
and try.[/quote:375lzune]
I done it and happend nothing.
I saw headers but i didn't see my new record.
I have to use SetArray becouse I rebuild table and sort it by special order. |
xBrowse on array - headers disappear. | SetArray again recreates all the columns "without headers'
Can you post here lines of code creating the array first and then appending the row ? |
xBrowse on array - headers disappear. | This is a working sample
[code:9rxyw0dh]
#include "FiveWin.Ch"
#include "xbrowse.ch"
FUNCTION Main()
LOCAL oWnd, oBrw, oCol
LOCAL aArray, n
aArray := { { 1, 'AAA' }, { 2, 'BBB' }, { 3, 'CCC' } }
n := LEN( aArray ) // ... |
xBrowse on array - headers disappear. | [quote="nageswaragunupudi":3144fgqf]sample[/quote:3144fgqf]
Thank you for answer.
When I work on WINDOW my code working ok, but I want in on DIALOG.
Yours code work on dialog too, my blame is that I wanted to put another table instead original "in fly". xBrowse doesn't like it.
In TSBrowse I used methods DrawHeader a... |
xBrowse on array - headers disappear. | Creating a browse:
Function LISTA_BADAN()
Local oBTN:=Array(20)
Local xPOZB:= 0
Local yPOZB:= 0
Local xPOZE:=800 // szerokosc
Local yPOZE:=550 // wysokosc
Local xRECT
Local oBRUSH
DEFINE BRUSH oBRUSH FILENAME "BACKGRND\TLO_DG.BMP"
DEFINE DIALOG oWNDF ;
FROM yPOZB,xPOZB TO yPOZE,xPOZE PIXEL ;
BRUSH oBRUSH ;
... |
xBrowse on array - headers disappear. | Initialisation of table
Static Function TABBAD_INIT(xRECNO)
nRABAT:=0
nRAZEM:=0
xTABBAD:={{0,0,'Brak danych','-','-','-','-',0,0}}
If FF->(DbSeek(xRECNO))
xTABBAD:={}
Do While FF->RECNO=xRECNO .AND. .NOT. FF->(Eof())
AADD(xTABBAD,{;
FF->NR_G,;
FF->NR_T,;
OemToAnsi(FF->NAZWA),;
... |
xBrowse on array - headers disappear. | Post append:
Function APPEND_TO_TABLE()
.......
TABBAD_INIT(RR->RECNO)
oBRWF:SetArray( xTABBAD )
ODSWIEZ()
Return (NIL)
Static Function ODSWIEZ()
oBRWF:Refresh(.T.)
oBRWF:SetFocus()
Return .T. |
xBrowse on array - headers disappear. | Nageswaragunupudi
What do you think, should it works?
R. |
xBrowse on array - headers disappear. | Everytime you are appending you are recreating the array. Better would be to modify the same array whose reference the browse object knows.
Once you SetArray in the beginning pl dont use it again. SetArray removes all existing columns and creates all columns again without headers.
Please try this change
[code:13evln... |
xBrowse on array - headers disappear. | [quote="nageswaragunupudi":1sdfhpo1]Pl see it fhis works[/quote:1sdfhpo1]
You're GREAT
It works correctly.
Very,very thanks for it.
Robert |
xBrowse on array - headers disappear. | Glad it is working.
Nothing great, it is only that I've been using xbrowse for long |
xBrowse on array - headers disappear. | [quote="nageswaragunupudi":2sqizbou]Glad it is working.
Nothing great, it is only that I've been using xbrowse for long[/quote:2sqizbou]
I use it for week <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
Thank you |
xBrowse position on append | I have an interesting problem that is consistent with several different browses. I'm curious if anyone has a solution.
My dialog box has data displayed in the uppper half, and a browse ( xbrowse ) in the lower half. The data in the top corresponds to the selected browse record.
If I open the dialog, and have severa... |
xBrowse position on append | Hello Tim,
First, Thank You for Your Response on my Tool-Update <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> .
There is a Indexorder on FIRST.
With SET ORDER TO, there is no Sort anymore ( Natural Sort )
it means a APPEND BLANK will show the new Record on xBrows... |
xBrowse position on append | That would be problematic because I use a scope ... and I dont go into an append mode !
However, I just discovered that it happens the first time when I enter the browse because the highlight is on the first record. If I go to the bottom of the browse first, then it adds/displays correctly ! oLbx:gobottom(), oRec... |
xBrowse possibilities and impromevents ... | Hi !
In xBrowses classes , concrety TxBrwColumn() , I missed which field of oCol object is assigned . I added in main program "EXTEND CLASS TxBrwColumn WITH DATA cColField" . But maybe I passed something and alreday exist something like that ? Why it's needfull ? Let's say I'm getting "Items" table , in which are Ite... |
xBrowse problem | Hi,
We have an xbrowse which is displaying filtered data from a SQL Server database. The browse displays the data correctly until the down arrow is pressed until it goes past the end record or if the 'end' and 'home' buttons are pressed alternatively. Additional duplicate records then seem to be displayed. In the case... |
xBrowse problem | I extensively use xbrowse with ADO ( SQL Server, Oracle, MSAccess, etc )
XBrowse behaves correctly.
Are you assigning any value to oBrw:bPastEof ?
Can you post a small self contained example ? |
xBrowse questions | I'm converting tsBrowse controls to xbrowse ( 9.05 FWH ). I've gone through the samples, etc. and people have a variety of ways to setup the xbrowse control. In my case, I use it on a dialog with other data displayed, so I am using it with a REDEFINE.
Using tsbrowse, the following code allows me to add a column usin... |
xBrowse questions | Tim,
In FWH\samples\TestXBrw.prg you can find this code:
[code=fw:osdc4oc4]<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;">RESOURCE</span> <span style="color: #ff0000;... |
xBrowse questions | I was trying to stay with the ADD COLUMN command syntax. I have so many browses to replace that I wanted to keep the coding as similar as possible. So far, arrays and bitmaps were the only issues ... everything else is transfering nicely. Note the array in this case is multidimensional ... 4 elements x the number of... |
xBrowse questions | Tim,
You can also use:
[code=fw:2f67eof9]<div class="fw" id="{CB}" style="font-family: monospace;"><br />ADD <span style="color: #000000;">[</span> COLUMN <span style="color: #000000;">]</span> <span style="color: #000000;">[</span><oCol><span style="color: #000000;">]</span> <span style="color: #0000f... |
xBrowse questions | Here is an example ( prepared for a different purpose ) showing
1. Using ADD TO oBrw syntax for adding data, bitmaps
2. Different picture clauses for date formats
3. Editing numbers and automatic maintenance of totals in footers
[img:34q4vksd]http://img93.imageshack.us/img93/6262/xbr.jpg[/img:34q4vks... |
xBrowse questions | Rao
Interesting column total routine .. I have a numeric column already defined in an ado recordset .. how would I use maketotals() in that scenario ?
Rick |
xBrowse questions | [quote="Rick Lipkin":2glhr5ny]Rao
Interesting column total routine .. I have a numeric column already defined in an ado recordset .. how would I use maketotals() in that scenario ?
Rick[/quote:2glhr5ny]
Same syntax works for any data (ado, rdd, array ). After defining the columns either in @ .. xbrowse command or i... |
xBrowse questions | Rao
I worked thru the same solution earlier today .. I looked at the \samples.. testtxx examples .. I did a quick loop and got my totals and placed them in the correct footer column ..
As far as any dynamic re-calc .. not really necessary .. however, I may need to re-visit that decision.
Rick |
xBrowse questions | >
I did a quick loop and got my totals
>
Instead of our doing it, xbrowse does it for us. |
xBrowse questions | Rao
I tried .. could not get any results .. here is my code :
Rick
[code=fw:1gii8q1f]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//----------------------------------------</span><br /><span style="color: #00C800;">Static</span> Func _Hhimport<span style="color: #0000... |
xBrowse questions | Mr Rick
Please include oLbx1:MakeTotals() in the INIT clause
[code=fw:3gplhs8n]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg1 ;<br /> <span style="color: #0000ff;">ON</span> <span style="color: #000... |
xBrowse questions from newbie | Just starting to use FW to convert an old DOS program and have a couple of initial questions on xBrowse
Is there a way of splitting the column headers over two rows
e.g. "Stock Code" & "Cost Price"
to display as headers
Stock Cost
Code Price
I would also like to display entries for logical fields... |
xBrowse questions from newbie | you can see yunus.prg for create xbrowse or if you post the structure of dbf I can help you to build it |
xBrowse questions from newbie | to answer Your questions :
[quote:85v0y5m6]Is there a way of splitting the column headers over two rows
e.g. "Stock Code" & "Cost Price"
to display as headers
Stock Cost
Code Price
I would also like to display entries for logical fields as "Y" or "N" [/quote:85v0y5m6]
syntax-sample :
( completed with header-splitt... |
xBrowse questions from newbie | [quote="reds":2wn406m1]Just starting to use FW to convert an old DOS program and have a couple of initial questions on xBrowse
Is there a way of splitting the column headers over two rows
e.g. "Stock Code" & "Cost Price"
to display as headers
Stock Cost
Code Price
I would also like to display ent... |
xBrowse questions from newbie | Many thanks all,now sorted
Regards
Peter |
xBrowse record en blanco | Que tal foro,
tengo una tabla de mysql con registros, creo una window child con un xbrowse y resulta que al final me agrega un registro en blanco, aparte cuando navego con el scroll del raton ó las teclas, al llegar al inicio ó al fin el xbrowse como que se bloquea,,,, algunas pistas?
saludos
paco |
xBrowse record en blanco | se paso poner el codigo, estoy usando tmysql
[color=#BF0040:2wtvva2y] cSelect := "SELECT * FROM " + cTabla + " ORDER BY nombre"
oQry := oServer:Query( cSelect )
DEFINE WINDOW oChild ;
TITLE cTitle ;
MDICHILD
WITH OBJECT oBrw := TXBrowse():New(oChild)
:SetMySQL( @oQry, ... |
xBrowse redrawn | Hi, all !
On the dialog A is xBrowse. Open another dialog B. If the mouse to move the dialog B over dialog A, then the xBrowse on dialog A is redrawn very slowly.
FWH 16.12 |
xBrowse redrawn | When a dialog is moved over xbrowse, the xbrowse gets refreshed during the top dialog's movement.
Speed of refresh depends on the data-access speeds. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.