topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
xBrowse and current column | Hi,
is there any way to know what is the absolute number of the column ?
Using the method oBrw:nColSel I can only know the number of the column based on the current display.
Thanks
Best Regards,
Marco Turco |
xBrowse and current column | Marco,
Try this:
oBrw:ColAtPos( oBrw:nColSel ):nCreationOrder |
xBrowse and datas | Hi i have a xbrowse like this:
oBrw := TXBrowse():New( oDlg )
oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROW
oBrw:CreateFromResource( 109 )
oBrw:nColDividerStyle := 5 //LINESTYLE_BLACK // COLUNAS
oBrw:lColDividerComplete := .T.
oBrw:nHeaderHeight :=30
oBrw:nStretchCol := STRETCHCO... |
xBrowse and datas | Wanderson,
[quote:34lo43ow]...but i use Dabase object how i set txbrowse alias with a Database object and how i link the columns? oCol:bStrData := { || oArqEmp:SIGLA } This is correct?[/quote:34lo43ow]
Yes, your bStrData definition is correct. You must also tell TXBrowse that you are using a database object:
oBrw:Se... |
xBrowse and datas | Please do not forget to specify the alias in the above case when you are coding for DBF.
[code=fw:3l6fy8vi]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBrw := TXBrowse<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span ... |
xBrowse and datas | Rao,
[quote:35kwwa0i] :SetoDbf( oArqEmp, { "SIGLA", "FANTASIA", "CIDADE", "UF" }, .t. )[/quote:35kwwa0i]
When using the aCols parameter, how do you define colum titles that are different than the fieldnames. I'm guessing we have to assign them to each column?
oBrw:aCols[ 2 ]:cHeader:="Whatever"
Regards,
James |
xBrowse and datas | Thanks James works great! |
xBrowse and datas | [quote="nageswaragunupudi":1gc5d8sb]Please do not forget to specify the alias in the above case when you are coding for DBF.
[code=fw:1gc5d8sb]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBrw := TXBrowse<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span styl... |
xBrowse and empty array | Hi,the xBrowse crash when the array is empty. Is there any solution ? With the old tcbrowse all runs fine.Sample code:#include "FiveWin.ch"#include "xbrowse.ch"function Main() DEFINE BITMAP oGreen FILENAME "16green.bmp" DEFINE BITMAP oRed FILENAME "16red.bmp" aNames:=array(0,5) ** aadd(aNames,{1,"Marc1","4t... |
xBrowse and empty array | Hello Marco,after creating a array, you have to add aempty element like => ASIZE( YOUR_ARRAY, 0 )otherwise you have a problem with xBrowseBest regards <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> Uwe |
xBrowse and empty array | Hi Uwe,do you means something like this:aNames:=array(0,5) aadd(aNames,{"","","","","}) in order to add at least one record in the array ? |
xBrowse and empty array | Hello Marco,yes, before you open xBrowse,you have to add 1 empty array-element.The function ASIZE works only with 1 dimension-arrays.A sample with 7 xbrowse-Rows and 2 Chars ( 2 Col's ).PRIVATE aBRCOLOR[7][2]aBRCOLOR[1] := { "1", "Black" }aBRCOLOR[2] := { "2", "White" }aBRCOLOR[3] := { "3", "Blue" }aBRCOLOR[4] := { "4"... |
xBrowse and empty array | Marco,To start with the row should contain at least one row. XBrowse uses this row to examine and store information about datatype, default picture, default alignment, etc. Then from the ON INIT clause of the Dialog or Window, resize the array to 0.Example:[code:3yrkykhj]
aNames:={}
aadd(aName... |
xBrowse and images - Flags - A simple example | Good morning,
here you are a simple simple of xBrowse and images.
[img:2tjtefxp]http://imageshack.com/a/img924/5606/Ewcouj.png[/img:2tjtefxp]
[code=fw:2tjtefxp]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"five... |
xBrowse and lFastEdit | Hello
When you press ENTER (as the first key in a cell editable with lFastEdit on ) the cell is rehabilitated and we have to
press ENTER again to confirm .
Is it possible i this situation with ENTER key skip to the next cell after chek bValid , bOnPostEdit ?
Regards Maurizio |
xBrowse and lFastEdit | What you wanted is now possible with the revised build of 10.3 published today. Please review. |
xBrowse and lFastEdit | Hello Nage
I download FW 10.3 but xBrowse works like before .
I check with SET CONFIRM ON and with SET CONFIRM OFF but doesn't work .
Regards Maurizio |
xBrowse and lFastEdit | Set oBrw:lEnter2Edit := .f. ( Default is TRUE )
Now pressing Enter key does not invoke edit. It goes to the next cell.
Still edit can be invoked by pressing any valid key for FastEdit and also F2 key ( like in Excel )
However bValid also is skipped. |
xBrowse and lFastEdit | Thank nageswaragunupudi
With oBrw:lEnterKy2Edit := .f. it works. The problem now is that bValid is skipped.
Maurizio |
xBrowse and lFastEdit | bEditValid can be evaluated only when a Get is created. Actually bEditValid is called with paramters oGet and oCol, while exiting a Get.
We need to choose either to jump the column or enter into Get.
If you want to take some action when user moves from column to column, you can use bChange codeblock. Normally bChange ... |
xBrowse and lMergeVert | Hello Rao
I use oCol:lMergeVert and oCol:WorkMergeData() to activate at runtime lMergeVert and it works fine ,
but is it possible to disable for other conditions?
IF oBrw:oRs:Sort) == 'State'
WITH OBJECT oBrw:State
:lMergeVert := .t.
:WorkMergeData()
END
... |
xBrowse and lMergeVert | [code=fw:1hc405dn]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// cancellation of vertical merge, if already merged</span><br /><span style="color: #00C800;">if</span> oCol:<span style="color: #000000;">lMergeVert</span><br /> oCol:<span style="color: #000000... |
xBrowse and lMergeVert | Thanks RAO
it works very well .
is it possible to have a sub total for each merge?
Maurizio |
xBrowse and lMergeVert | Possible, but you need to do more work.
Please search the forums for samples I posted showing subtotals with mergecols.
May I know if you are using ADO with MySql or MSSql or other database? |
xBrowse and lMergeVert | I use ADO
Maurizio |
xBrowse and lMergeVert | [quote="Maurizio":3qdpfxhr]I use ADO
Maurizio[/quote:3qdpfxhr]
It is clear to me that you are using ADO. But with what database? MySQL or MSSQL or Oralce? what database?
I am asking because SQL syntax can vary a little between different databases. |
xBrowse and lMergeVert | I use Mysql
Maurizio |
xBrowse and lMergeVert sporadic error | If I use oBrw: lMergeVert =. t. appears sporadically error:
Error BASE/1132 Bound error: array access
Parameter :
[ 1] = A { ... }
[ 2] = N 6
Stack-List
----------
called by TXBRWCOLUMN:MERGEAREA(11782)
called by TXBRWCOLUMN:PAINTCELL(10042)
called by TXBRWCOLUMN:PAINTDATA(9668)
ca... |
xBrowse and lMergeVert sporadic error | This can happen if any row is added during runtime.
If a row is added or deleted, we should call oCol:WorkMergeData() and oBrw:Refresh().
In case you are browsing DBF it is desirable to SET FILTER TO !DELETED() so that oBrw:keyNo() always returns a correct value. |
xBrowse and lMergeVert sporadic error | I do not add row or delete it, if I try use oCol:WorkMergeData() I have a new error:
Error BASE/1004 Class: 'NIL' has no exported method: EVAL
Parameter :
[ 1] = U
Stack-List
----------
called by EVAL(0)
called by TXBRWCOLUMN:WORKMERGEDATA(11714)
called by USTAZBR(62)
called by (b)MAIN(2... |
xBrowse and lMergeVert sporadic error | Line 11714 is Eval( ::oBrw:bGoTop ) and this can not be NIL, unless this method is called before setting the browse completely.
I hope when you call oCol:WorkMergeData, the browse is already visible on the screen. |
xBrowse and lMergeVert sporadic error | This my code:
[code=fw:15nvuwyu]<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;">"dtpicker.ch"</span><br /><span style="color: #00D7D7... |
xBrowse and lMergeVert sporadic error | When you use SQLRDD, OrdKeyNo() does not work. Consequently oBrw:KeyNo always returns 0. The feature of MergeVert does not work for SQLRDD.
If you use SQLRDD you can do basic browsing and many advanced features of xbrowse are not available. |
xBrowse and menu | [code=fw:1vesg6up]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBrw:<span style="color: #000000;">bPopup</span> := <span style="color: #000000;">{</span> |oCol| MyPopMenuFunction<span style="color: #000000;">(</span> oCol <span style="color: #000000;">)</span> <span style="color: #000000... |
xBrowse and menu | Dear Mr. Nages,
Is it possible to show a menu with several options when clicking on a field in a row?
Thank you. Best regards |
xBrowse and menu | Hi,
And what about bLClicked?
I need to show the menu in this event, but it does not work. The menu does not show up.
If you need, I can build a sample code.
Thank you. |
xBrowse and menu | Try with this code
[code=fw:1nf1r29m]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> :<span style="color: #000000;">bLClicked</span> := <span style="color: #000000;">{</span> | nR, nC, nF | MyPopupMnu<span style="color: #000000;">(</span> oBrw, ... |
xBrowse and menu | My advice works with right-click.
We advise you not to use single click for any action because single click is used for navigation
Right click and popup menu is a standard user interface |
xBrowse and menu | my solution on left mouseclick
using a defined style connected to the cell
( radio, combo, listbox, fieldedit, dateselection ... )
[img:1m1wkdvt]http://www.pflegeplus.com/IMAGES/Leftclick1.jpg[/img:1m1wkdvt]
more samples radio and listbox
[img:1m1wkdvt]http://www.pflegeplus.com/IMAGES/Lef... |
xBrowse and menu | Thank you Cristóbal, works perfect!!! |
xBrowse and nStretchCol | Hello
I note that nStretchCol works well if I have to extend a column ,
but If I need to reduce doesn't work .
this is the xbgrpsum.prg adjusted that explain the problem
[code=fw:2epbh03f]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #... |
xBrowse and national characters - bKeyChar method | We have in Poland few signs of alphabet more then in English language.
To put it on qwerty keyboard we have to press ALT+letter simmilar to wanted char.
example:
ALT+A = Ą (ASCII 165)
In TSBrowse I used bKeyChar method
oBRWR:bKeyChar:={|nKEY,nFLAG| JAKIRRCHAR(nKEY,nFLAG) }
Method bKeyDown always have returned ... |
xBrowse and national characters - bKeyChar method | Robert,
CLASS TXBrowse is not processing bKeyChar, you may need to include it:
[code:299g1a2e]
METHOD KeyChar( nKey ) CLASS TXBrowse
if ::bKeyChar != nil
Eval( ::bKeyChar, nKey, nFlags )
endif
...
[/code:299g1a2e] |
xBrowse and national characters - bKeyChar method | Antonio
I don't like to think about it every new version.
Is it possible to put it permanently to next version of xBrowse and FWH?
January is close to us <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->)))
Robert |
xBrowse and national characters - bKeyChar method | Robert,
Yes, we already included it for FWH 8.01 <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
xBrowse and national characters - bKeyChar method | Thank You
Robert |
xBrowse and new blank row ( MySql ) | Hi,
Simply to add new record I was using dialog window with needful controls . But xBrowse , it seems , have possibilities to do that directly . Mine experience with xBrowse is in beginning , so I'm asking to share with a small sample how to add to xBrowse a new blank row and , validating it , insert it .
Thanks in a... |
xBrowse and new blank row ( MySql ) | Excuse my English, use google translator, not sure if this is what you want ... this example is billing, Greetings ...
[code=fw:1w9ze55c]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// EMPIEZA xBROWSE FACTURA...</span><br /> <span style="color: #0000ff;">REDEFINE</span> <sp... |
xBrowse and new blank row ( MySql ) | [quote="Rimantas":3vw54t8p]Hi,
Simply to add new record I was using dialog window with needful controls . But xBrowse , it seems , have possibilities to do that directly . Mine experience with xBrowse is in beginning , so I'm asking to share with a small sample how to add to xBrowse a new blank row and , validating it... |
xBrowse and new blank row ( MySql ) | [quote="nageswaragunupudi":17zgn7wk][quote="Rimantas":17zgn7wk]Hi,
Simply to add new record I was using dialog window with needful controls . But xBrowse , it seems , have possibilities to do that directly . Mine experience with xBrowse is in beginning , so I'm asking to share with a small sample how to add to xBrowse... |
xBrowse and oBrw:ToExcel() to Rao | Hello Rao ,
When I have an xBrowse with a column :aEditListTxt and I need export :ToExcel() ,
the fields with :aEditListTxt are exported as a value and not with the field in :aEditListTxt
[code=fw:33t6skkp]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <s... |
xBrowse and report problem | So far I have used fwh 12.08 and xHarbour build 1.2.1 now I just moved to a new version fwhh15.07. I use an application xBrowse and oBrw: report ("name" ...). With the transition to the new version Fivewin report no longer works. Program after the formation page just gets blocked. Please help.
Regards,
Milos |
xBrowse and report problem | method report() is working for us.
We can not comment unless we have a sample program which we can compile at our end and test where it fails. |
xBrowse and report problem | This is code:
[code=fw:16myjr7n]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">function</span> BrowRJ<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">Local</span> oDlgBrow<br /> <span... |
xBrowse and report problem | We can build and run the above code exactly at our end, for want to rc file, dbfs and other functions used in the program.
We therefore created a new prg file using your code to build the xbrowse and using dummy data similar to the dbf you have used. This is the code:
[code=fw:2ftb3tzm]<div class="fw" id="{CB}" style=... |
xBrowse and report problem | We would also like to suggest the recommended way of writing the above code.
[code=fw:2j9igs7u]<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 styl... |
xBrowse anomoly | I have noticed a very specific problem with xBrowse. This may be a new behavior in the latest version
I create a browse ( perhaps with an array ), with headers and columns.
If the first field is String but the content is numbers, it is somehow converting it to a decimal after perhaps 5 characters where it adds a per... |
xBrowse anomoly | We tried to reproduce the problems you mentioned.
[quote:3venljuv]
I create a browse ( perhaps with an array ), with headers and columns.
[/quote:3venljuv]
But the code you reproduced is for TDatabase object.
So we tested with both Array and TDatabase with the same data.
This is our test program:
[code=fw:3venljuv]... |
xBrowse anomoly | Nages,
As I said, it is not consistent. HOWEVER, also note my code uses resources and thus is a REDEFINE. I have never been able to get consistent display with @ x,y positioning on complex dialogs. I wish I could but it just never seems consistent to me, and every effort always seems to get jumbled.
Here is the .R... |
xBrowse anomoly | [quote:1zlde1kd]
HOWEVER, also note my code uses resources and thus is a REDEFINE.
[/quote:1zlde1kd]
[quote:1zlde1kd]
Here is the .RC line for this contol:
CONTROL "",2100,"TxBrowse",WS_BORDER | WS_VSCROLL | WS_TABSTOP,10,10,430,230
[/quote:1zlde1kd]
Sure, let us test the above sample with resources, using exactly t... |
xBrowse anomoly | On a thorough testing we can assure that XBrowse, on its own (i.e., without specifying PICTURE clauses) is not capable of producing such kind of results.
However, it is possible if we assign a numeric picture clause to a column containing string values (whether numeric or alpha), due to some oversight or otherwise.
F... |
xBrowse anomoly | I realize your small tests don't show it, but the problem continued and my clients were getting very upset.
The behavior IS in xBrowse.prg ... Sometimes it is intepreting a Character data field as Numeric and applying a default picture to the column. The data is fine, and clearly type C.
To correct the problem, whe... |
xBrowse anomoly | There is also a problem with the latest version. When the last numerical column does not fit, it is not painted, even partially:
<!-- m --><a class="postlink" href="https://ibb.co/84wDQcT">https://ibb.co/84wDQcT</a><!-- m -->
But if you move the scroll, it is painted as you move:
<!-- m --><a class="postlink" href="... |
xBrowse anomoly | I'm still hoping for an answer on this. |
xBrowse anomoly | [quote="TimStone":1xg3wuwk]Maybe someone can find the source of this issue. The databases are DBF, the display is by default in xbrowse, the build is with Harbor and MSVC 2019.
Tim[/quote:1xg3wuwk]
wich release have of xbrowse ? because here the Nages sample test run ok
Per haps a good Idea use part of your dbf to s... |
xBrowse anomoly | Silvio,
I am on the most recent version of FWH. ( 12.02 ). I use the most recent version of Microsoft Community ( 2019 updated last week ).
I have seen all of the examples. The problem with them is they use specific data that does not always reflect what is stored in an actual, real world, database. So of course t... |
xBrowse anomoly | As noted, this problem occurs in various implementations of an xBrowse.
I have asked, but received no replly, HOW ARE THE DEFAULT PICTURES DETERMINED.
One can test with perfect data but customers may not always enter perfectly configured records.
Clearly, the problem only occurs when xBrowse sets a default picture... |
xBrowse anomoly | XBrowse provides default picture (oCol:cEditPicture) for columns with numeric values only and never for columns with character values. This is how it works.
When XBrowse is created with this syntax:
[code=fw:2c22ehz3]<div class="fw" id="{CB}" style="font-family: monospace;"><br />... <span style="color: #0000ff;">XBRO... |
xBrowse anomoly | Tim,
[quote:3jexz9g3]However, the only picture I can use for text that is simple is "@!" which forces everything to capitals and I don't like to do that.[/quote:3jexz9g3]
Have you tried "@A"? This only allows characters of upper or lower case, and no symbols.
James |
xBrowse anomoly | James,
I wish ... but sometimes they assign symbols ... not appropriate but they insist. |
xBrowse anomoly | Nages,
I use the COLUMN to define my browses. You will see that in the original example.
I use data objects ( tDatabase ) so where would I look in there to see how it might be assigning the field type ? ( N instead of C ).
This ALWAYS happens by taking a Character field and treating it like a Numeric even though t... |
xBrowse anomoly | In that case, can you please do this small test?
For the purpose of testing, please temporarily add this line of code in your program:
[code=fw:2n37rkyr]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBrw:<span style="color: #000000;">bRClicked</span> := <span style="color: #000000;">{</spa... |
xBrowse anomoly | Tim,
I'm confused. You seem to want the picture to be "C" instead of "N" ? Then can't you just define the picture "@X"? X allows letters (upper and lower case), symbols, and numbers.
James |
xBrowse anomoly | The second and third field are the ones displayed in the browse. Note the third field is C 30 but later you see the picture 99999.99
[img:29crymre]https://imageshack.com/i/pnQW26Htp[/img:29crymre]
Again, this applies on different, but not all, databases. When it does occur, it is consistent. Adding a PI... |
xBrowse anomoly | The picture clause "99999.99" in the 7th column of the field "SERVICE" is the cause of the problem. This picture clause corresponds to a numeric field with fieldlength 8 and fielddec 2. But this field is a character field.
When TDatabase class opens a DBF, it copies DBSTRUCT() to oDbf:aStruct, extends the array and af... |
xBrowse anomoly | Thank you. That gives me sufficient information to work with to find the source of this problem.
Yes, I've run the tests, and now I can dig into it from there.
Tim |
xBrowse anomoly | [quote="TimStone":1vgqvwll]Thank you. That gives me sufficient information to work with to find the source of this problem.
Yes, I've run the tests, and now I can dig into it from there.
Tim[/quote:1vgqvwll]
May we know if you found the solution? If so, can we expect you to share it with us? |
xBrowse anomoly | I did not YET find an answer. I used a work around for the problem for now. I will post an answer when I find the source of the problem. |
xBrowse array Error en argumento: TRANSFORM | Hola.
TEngo definido mi xbrowse con array asi:
[code=fw:3k9kn9do]<div class="fw" id="{CB}" style="font-family: monospace;"> ::<span style="color: #000000;">oBrw</span>:= TXBROWSE<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">new</span><span style="c... |
xBrowse array and move to a specific row | To All
I am not a expert in arrays .. I have created an array with three elements and I have been able to get it sorted properly and been able to find a specific name in the array ..
When I load the array after it has found my row .. xbrowse automatically goes to the top of the array and apparently 'moves' the recor... |
xBrowse array and move to a specific row | Rick, revisa el METHOD SetArray( aData, lAutoOrder, nColOrder, aCols, bOnSkip ) CLASS TXBrowse, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
DEFAULT ::bGoTop := { || ::nArrayAt := Min( 1, Eval( ::bKeyCount ) ), Eval( ::bOnSkip, Self ) }, ;
... |
xBrowse array and move to a specific row | Mr Rick
Please see this post:
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=25698">viewtopic.php?f=3&t=25698</a><!-- l --> |
xBrowse array and move to a specific row | Rao
Thank you for your solution .. For some reason in the attached code nAt returns the correct array row however when you tell xBrowse to goto that row .. you have to add 1 to nAt ?
Rick Lipkin
[code=fw:28t9pfc6]<div class="fw" id="{CB}" style="font-family: monospace;"><br />aVendor := <span style="color: #000000;"... |
xBrowse array and move to a specific row | Mr Rick
Please build and check the sample I posted in the other topic. |
xBrowse array and move to a specific row | Rao
I built your example and it worked just fine .. I took out the ON INIT and used the "With Object" clause in my example and I came up with the same problem .. the result was out of sequence by one record ..
Please do not fret on this as I have decided that 5k employee records just takes too long to load and build... |
xBrowse array problem | Hi, i have been change my wbrowses to xbrowses and i have a error in one ocasion:
This my xbrowse
oBrw := TXBrowse():New( oDlg )
oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROW
oBrw:CreateFromResource( 109 )
oBrw:nColDividerStyle := 5 //LINESTYLE_BLACK // COLUNAS
oBrw:lColDividerComplete := .T.
... |
xBrowse array problem | If you delete the last record, you might skip one record higher before deleting. Something like
oBrw:Skip(-1)
aDel(VetNotas, oBrw:nAt+1, .t.)
aSize(Vetnotas, len(VetNotas)-1)
(after deleting an element, you should resize your array) |
xBrowse array problem | Not oBrw:nAt
Please use oBrw:nArrayAt
Adel(VetNotas,oBrw:nArrayAt,.t.)
That is one major difference between wbrowse and xbrowse |
xBrowse array problem | Thanks G. N. Rao. and Gilbert about xbrowse tips.
Regards,
Wanderson. |
xBrowse as Excel behaviour | Hi,
Is there a sample to set xBrowse as a Excel behaviour, including Av Pag to add a record, etc.
Thanks <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
xBrowse as Excel behaviour | Can you please make your question more clear?
As far as I know xbrowse is designed to behave like excel, particularly when fastedit is set to true. In other words, we can tell the users "if you know Excel, you know my software".
I could not understand what you meant by " Av Pag " ? Can you please clarify what are you... |
xBrowse as Excel behaviour | Mr. Rao,
How can xBrowse works as Excel behaviour, for example, when you press Enter a new line is created, etc?.
Thank you |
xBrowse as Excel behaviour | UKService,
This code works with TWBrowse, but I haven't tried it with TXBrowse:
oLbx:bKeydown := {|nKey,nFlags| ;
IIF(nKey == VK_RETURN, ::edit(),)}
You would have to add a record to the DBF, then refresh the browse. Replace ::edit() with your own function.
Regards,
James |
xBrowse as Excel behaviour | By default, XBrowse mostly behaves like Excel when columns are Editable and FastEdit is enabled.
Pressing any key enters edit mode with that key as the first key and if edit is exited with up or down arrow the cursor moves to the cell above or below the current cell like Excel.
If only some columns are editable, the ... |
xBrowse as record adding tool for data tables | Hello everyone;
I'm guessing xbrowse could be used to add/edit records on a table. The problem is I don't want to [**CAN NOT**] append a blank record to a table to be edited. I would like to append a blank record to the xbrowse for editing without appending the blank record to the table. I can take care of append... |
xBrowse as record adding tool for data tables | Dear Reinaldo
But aesthetically you want to add in an xbrowse line, no ?, it can not be in a dialogue, right?
Pero estéticamente quieres añadir en una linea del xbrowse, no?, no puede ser en un diálogo, verdad? |
xBrowse as record adding tool for data tables | Cristobal -¿que tal? Espero que bien.
Añadir el nuevo record con un dialogo sería una solución más común.
Yo pensé en añadir una linea en blanco al xbrowse que pueda ser editada usando los mismos métodos del xbrowse. Pero cuando un XBROWSE está basado en un alias solo le puedo añadir una linea en blanco al xbro... |
xBrowse as record adding tool for data tables | Reinaldo, por aqui seguimos, como siempre, y tú qué tal?
El tema de que por defecto añada un registro en blanco, entiendo los motivos por los que no quieres que lo haga, pero es Mr Rao el que te lo puede confirmar, pero en cuanto al tema de editar en un diálogo mira el method edit, bEdit de Xbrowse y sobre todo funcio... |
xBrowse as record adding tool for data tables | Reinaldo
In my Invoice routine I use the down arrow to test for oRs:eof
[code=fw:1mdyj9rd]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #B900B9;">// add a new record</span><br /> oLbxB:<span style="color: #000000;">bPastEof</span> = <span style="color: #000000... |
xBrowse as record adding tool for data tables | Hey Rick!
I kind-of would prefer not to generate a unique key unless the user clicks on save. If the user, never clicks on save I would also rather not have to deleted that "phantom" inserted record.
BTW and this happens to be a frequently discussed theme: I generate sequential unique keys with an SQL stored p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.