topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
xBrowse With DatePicker & TimePicker | Hello Daniel,
but if you have a look at the object inspector of FW VISUAL it is different.
If you select a item with the mouse it is changed without ENTER.
I think it should be that way.
Best regards,
Otto |
xBrowse With DatePicker & TimePicker | Otto...
Yes, you have reason but... dtpicker have edit features no button features
i dont know how get control on dtpicker button
<!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> |
xBrowse With DatePicker & TimePicker | Please change this line on function EditGetkeyDown
find
[code=fw:13bednup]<div class="fw" id="{CB}" style="font-family: monospace;"> ::<span style="color: #000000;">PostEdit</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> </div>[/code:13bednup]
replace with
[cod... |
xBrowse a column containing richedit | Hi,
I Have a column in a xbrowse list that refers to a memo field containing a richedit text.
oCol = oBrw:AddCol()
oCol:bStrData = { || note->nota }
oCol:cHeader = "Nota"
oCol:nEditType = EDIT_GET
oCol:nWidth = 200
note->nota contains a string like this
===========================
{\rtf1\ansi\ansicp... |
xBrowse a column containing richedit | I am also interested in a function like Rtf2Text(). I started coding a straight function but I haven't completed it. I shall post it again after doing some more work.
Meanwhile I can suggest a function using a hidden richedit control. Can you please help by testing this function?
[code=fw:6trk6skx]<div class="fw" id="... |
xBrowse a column containing richedit | The only drawback of MR. Rao's suggestion is that you must create the richtext control in order to extract the text. In my case I was having to report on thousands of records containing richtext. So I wrote a very short and simple function to extract only text from richtext using a regular expression.
Here is the ... |
xBrowse a column containing richedit | Mr. Reinaldocrespo
Thank you very much. This is the kind of function I needed too.
Yes I agree with your comments about the disadvantage of creating control. |
xBrowse a column containing richedit | Reinaldo,
Your function is very good but ther is a little problem.
If I pass a string containing one of these characters "àèéìòù"
for instance the days of week in Italian :
"Lunedì
Martedì
Mercoledì
Giovedì
Venerdì
"
I have these string as return value
Marc\'e0 Marc\'e8 Marc\'ec Marc\'f2 Marc\'f9
nageswarag... |
xBrowse a column containing richedit | Marco Boschi,
can you send me a test sample with this feature please , ? I'd like try it |
xBrowse a column containing richedit | Mr Marco
I don't think my method would be good in case of large tables. Function posted by Mr. Reinaldo is the way to go. Though this function has limitations as of now, we can improve it. I myself need a good function for this purpose. When I get time I try to improve that function solving some of the problems I alre... |
xBrowse a column containing richedit | nageswaragunupudi,
I confirm the problem when in the memo field there are words containing these character
widely used in italian language àèéìòù
Lunedì is Monday
Martedì is etc. etc.
Bye
I hope that reinaldo read this post |
xBrowse a column containing richedit | Marco;
I apologize for being so busy. Please send me a rich edit memotext I can do tests with.
Send me for example something like:
[quote:np7z5ujf]{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 ARIAL;}}
\viewkind4\uc1\pard\f0\fs20 The specimen is received fresh, wrapped in plastic, is labeled ... |
xBrowse a column containing richedit | I have problems with the following files in \fwh\samples folder.
MemoEdit( GetTextFromRTF( MemoRead( "testrtf.rtf" ) ) )
MemoEdit( GetTextFromRTF( MemoRead( "fiveodbc.rtf" ) ) ) |
xBrowse a column containing richedit | {\rtf1\ansi\ansicpg1252\deff0\deflang1040{\fonttbl{\f0\fnil\fcharset0 Arial;}}
\viewkind4\uc1\pard\fs20 Oggi \'e8 marted\'ec\par
domani \'e8 mercoled\'ec\par
dopodomani gioved\'ec\par
che ora \'e8\par
Come sar\'e0 il tempo domani?\par
}
àèéìòù
Reinaldo: too kind , no hurry |
xBrowse a column containing richedit | Marco;
I see your point. I wasn't aware of how richtext implemented international characters, but I find a simple solution without having to re-touch the regular expression. Change the function to this:
[code=fw:3r3srbpj]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function... |
xBrowse a column containing richedit | Mr. Reinaldo
The function posted by you does most of the work and works well on most normal rich text. It is just that it needs to be improved a bit further.
I can open testrtf.rtf in Word 2007, WordPad and FWH RichText control on my Windows 7 (32-bit).
[url=http://img641.imageshack.us/i/testrtf.jpg/... |
xBrowse a column containing richedit | Reinaldo,
with this sequence of replace the problem is solved!
cRtfText := StrTran( cRtfText, "\'e0", "à" )
cRtfText := StrTran( cRtfText, "\'e8", "è" )
cRtfText := StrTran( cRtfText, "\'e9", "é" )
cRtfText := StrTran( cRtfText, "\'ec", "ì" )
cRtfText := StrTran( cRtfText, "\'f2", "ò" )
cRtfTe... |
xBrowse a column containing richedit | Marco -Good!
Mr. Rao. Good morning. I see the problem you are pointing to. There is no easy fix. I would have to revisit my regular expression which is already a bit cryptic. I must take care of some pressing issues today. I'm thinking perhaps tomorrow I should be able to spend time rewriting the regular express... |
xBrowse a column containing richedit | Mr Reinaldo
There is no hurry at all. You can attend to this only when you find some free time.
Instead of changing the main regular expression, you may handle the issue of embedded pictures and tables in a second pass. |
xBrowse a column containing richedit | Mr. Reinaldo and other friends
Can we just "render" RichText in a window without using RichText control? |
xBrowse a recordset from a WinChild | Please try this code
[code=fw:2hl0rs7z]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oRs:<span style="color: #000000;">MoveFirst</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff... |
xBrowse a recordset from a WinChild | To All
I must be doing something very wrong here. I am taking my 'listbox' code for an ADO recordset and modifying it for xBrowse.
The program compiles .. but when the browse fires ... all I get is a Grey mdichild window .. no data .. just blank.
Here is the code :
[code=fw:22xl8xuw]<div class="fw" id="{CB}" style=... |
xBrowse aSortBmp | Hi,
Can't find any sample how to use native ::aSortBmp with xBrowse headers sorting ... Can you share with small sample ?
Regards ! |
xBrowse aSortBmp | Automatic sorting works by simply adding AUTSORT clause to XBROWSE command in case of RDD,ADO,TDataBase,Array. We do not need to do anything more than including this clause in the command.
I am not sure about TDolphin. |
xBrowse aSortBmp | [quote="nageswaragunupudi":3f85nk61]Automatic sorting works by simply adding AUTSORT clause to XBROWSE command in case of RDD,ADO,TDataBase,Array. We do not need to do anything more than including this clause in the command.
I am not sure about TDolphin.[/quote:3f85nk61]
O, thanks Rao ! I forgot about AUTOSORT . |
xBrowse aSortBmp | [quote="Rimantas":262vkuv0][quote="nageswaragunupudi":262vkuv0]Automatic sorting works by simply adding AUTSORT clause to XBROWSE command in case of RDD,ADO,TDataBase,Array. We do not need to do anything more than including this clause in the command.
I am not sure about TDolphin.[/quote:262vkuv0]
O, thanks Rao ! I f... |
xBrowse aSortBmp | It is much simpler in xbrowse.
Multiple column sorting in xbrowse/ADO is to set oCol:cSortOrder := "LAST,FIRST" |
xBrowse aSortBmp | [quote:1zz3qd50]AUTOSORT is working fine and with Dolphin [/quote:1zz3qd50]
Yes, True.
I am now testing with TDolphin. I noticed a few bugs and fixing them. |
xBrowse ahora que anda quiero mas | Amigos:
Ahora que pude hacer andar el xBrowse deseo saber
como asignar el font al header, como cambiar el color de
una celda segun sus datos
Muchas gracias.
Ruben Fernandez.
Creo que no pregunto mas de xBrowse |
xBrowse ahora que anda quiero mas | En el directorio samples hay unos ejemplos muy buenos te los recomiendo. Tambien si lees el codigo de la clase te vas a dar cuenta como, si algo bueno tiene fw es el codigo fuente.
Saludos,
Carlos. |
xBrowse and ToExcel problem | Dear Nages,
Sometimes when I use oBrw:ToExcel my client gets the following error
[code=fw:12mt22pv]<div class="fw" id="{CB}" style="font-family: monospace;">Application<br />===========<br /> Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">C</span>:\CaricoScarico\zucal.EX... |
xBrowse and ToExcel problem | I never tested with Excel 64 bits, but I *assume* that may not be the problem.
The problem is more likely to be with the text data prepared by xbrowse for pasting into Excel range. The entire text or part of it may be invalid for pasting.
If the xbrowse has image data (or binary data) in the earlier versions the imag... |
xBrowse and Array Refresh | Dear Freinds,In my app I am using a dialog with 2 xBrowse's on it.xBrowse 1 (oBrwUsers) will display the user's listxBrowse 2 (oBrwMenu) will display the Menu's available to the user Wne the user moves thru the xBrowse 1, xBrowse 2 should update/refresh the menu's available to the userIn xBrowse 1 (oBrwUsers), I am usi... |
xBrowse and Array Refresh | [code:hl4ypa96]function GetUserMenu(oUserMenu,oMenuArray,nUserId,aMenu)
...
...
your commands
...
...
return aMenu
[/code:hl4ypa96]
[code:hl4ypa96]oBrwUsers:bChange:={ || nUserId:=oUsers:oRecSet:Fields("User_Id"):Value,;
... |
xBrowse and Array Refresh | Hi Daniel,Thankyou for the support. [b:1lx4pnei]oBrwMenu:aArrayData [/b:1lx4pnei] did the trick[b:1lx4pnei]oBrwMenu:nWidth[/b:1lx4pnei] should be set manually for [b:1lx4pnei]oBrwMenu:aCols[ 2 ]:bStrData:={||NIL}[/b:1lx4pnei] to work properly otherwise it will give an error Len(0).[code:1lx4pnei]oBrwMenu:aCols[... |
xBrowse and Mysql | Mr Nages,
how to in xbrowse:
REDEFINE XBROWSE oBrw ID 100 DATASOURCE oQuery ;
HEADERS "Fecha","Motivo" ;
COLUMNS "FECHA",{|| myfunction(oQuery:CODIGO)} ; //where myfunction is a function external
JUSTIFY AL_CENTER,AL_LEFT ;
COLSIZES 60,200 ;
LINES CELL NOBORDER OF oDlg
oDlg:oClient:=oBrw
... |
xBrowse and Mysql | Yes.
You can intermix codeblocks in the COLUMNS clause if you are using any recent version of FWH.
If you are using an older version where codeblocks are not allowed, I suggest this workaround.
First specify the COLUMNS CLAUSE with some column name for the second column also.
After that you assign codeblock to the... |
xBrowse and Mysql | Mr. Nages
Thank you very much!
Roberto |
xBrowse and SQLRDD bug | We enhanced VScroll bar compatibility for SQLRDD xbrowse in FWH 2006.
This is the test program:
[code=fw:3t3hkm8v]<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 and SQLRDD bug | Hi,
I would like to ask the status of the fix, as I reported the wrong behaviour in december.
Thank you. |
xBrowse and SQLRDD bug | Up! |
xBrowse and SQLRDD bug | Up |
xBrowse and SQLRDD bug | ??? |
xBrowse and SQLRDD bug | Any update please? |
xBrowse and SQLRDD bug | Moises,
I just asked Rao, I am waiting for his answer
Also, please keep in mind that SQLRDD is a commercial product, that does not provide source code, and its not easy to support it in those circunstances,
anyhow we are doing out best to help you.
So, please, be patient. Changing the caption of your posts only prov... |
xBrowse and SQLRDD bug | Hable con Marcelo Lombardo del Proyecto xHarbour.
Skype:
marcelolombardo
Saludos. |
xBrowse and SQLRDD bug | Olá,
Como não falo nem português nem brasileiro, poderia partilhar connosco a sua resposta?
Muito obrigado. |
xBrowse and SQLRDD bug | usted puede hablar en español con Marcelo Lombardo sin problemas, ó con Patrick Mast en ingléz. Saludos.
Mejor:
[url:dhtyefl7]https://www.facebook.com/marcelombardo[/url:dhtyefl7]
[url:dhtyefl7]https://www.facebook.com/patrickmast[/url:dhtyefl7]
[url:dhtyefl7]https://www.facebook.... |
xBrowse and SQLRDD bug | The issue is about vertical scrollbar support to xbrowse for SQLRDD.
I have sent modified xbrowse.prg, restoring previous functionality.
Vertical scrollbar support for SQLRDD is very limited.
In order to provide better support we need to know some details about SQLRDD.
We will start explaining with a DBFCDX DBF.
In ... |
xBrowse and SQLRDD bug | Thank you very much for your time and support.
With the changes you have sent me, it is possible to navigate in the xBrowse by moving the vertical scroll bar. The only remaining problem is if I perform a DbGoBottom() and then call xBrowse, the vertical scroll bar still appears on top.
OrdKeyCount() works perfect unde... |
xBrowse and SQLRDD bug | This code:
[code=fw:20p45gr3]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #00C800;">DEFAULT</span> ::<span style="color: #000000;">bKeyNo</span> := ::<span style="color: #000000;">bBookMark</span>, ;</div>[/code:20p45gr3]
::bBookMark is { |x| If( x == nil, RECNO(), DBGOTO( x ) ) }... |
xBrowse and SQLRDD bug | To give the same effect as the code:
[code=fw:iqgvmbth]<div class="fw" id="{CB}" style="font-family: monospace;"><br />::<span style="color: #000000;">bKeyNo</span> := ::<span style="color: #000000;">bBookMark</span><br /> </div>[/code:iqgvmbth]
we made these changes:
[code=fw:iqgvmbth]<div class="fw" id="{CB}" s... |
xBrowse and SQLRDD bug | Yes, I confirm that DBFILTER()/SET FILTER TO and ORDSETFOCUS() work under SQLRDD.
And yes, when a filter is set, OrdKeyCount() Works too.
But never OrdKeyNo()
I am going to test your new versión and share the results.
Thank you. |
xBrowse and SQLRDD bug | Up! |
xBrowse and SQLRDD bug | Up |
xBrowse and SQLRDD bug | I have tested with this sample with FWH20.04. I found the scrollbar working properly and if we execute DBGOBOTTOM() before invoking the browse, the vertical scrollbar is positioned at the bottom.
Please try this sample on your server, by changing the password, etc.
This is my modified buildx.bat
[code=fw:26wm649p]<d... |
xBrowse and SQLRDD bug | First of all, thank you for your time.
It fails when the DBF has an index.
Please add this changes:
[code=fw:14zzfo7o]<div class="fw" id="{CB}" style="font-family: monospace;"> <br /><br />USE states SHARED <span style="color: #00C800;">NEW</span> VIA <span style="color: #ff0000;">"SQLRDD"</span><br /> <span s... |
xBrowse and TOTAL | Mr Rao,
I test xBrowse with Total , I'd like to know why this works
[code=fw:388xtgfo]<div class="fw" id="{CB}" style="font-family: monospace;"> @ <span style="color: #000000;">10</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">SIZE</spa... |
xBrowse and TOTAL | Present behavior is that when XBrowse is created without specifying any columns ( or with autcols ) call to SetRDD() is deferred till initialization of xbrowse. In that case methods like MakeTotals() should be called in ON INIT clause in case of Dialogs and after CreateFromCode() in case of Windows.
I think we can and... |
xBrowse and ToExcel() | Hello
I remarked that when I use xbrowse Toexcel() in excel the numer are always wrong .
I try to use xbrNumFormat() but the number but without success .
It's a xbrowse bug ?
Regards Maurizio |
xBrowse and ToExcel() | here run ok |
xBrowse and ToExcel() | I found, that if numbers as characterfield defined, then Excel marked it as "error". If it real numbers with decimals, then it is ok. |
xBrowse and ToExcel() | This is a sample that explain the problem
[code:2urk2ipx]#include 'fivewin.ch'
#include 'xbrowse.ch'
static oFont, ovFont,oWnd,oBrw
function main()
Local aDbf := {}
Local nX := 1
Local cPic := "@ZE 999999.9999"
ferase("NUMBER.DBF")
AADD (aDbf, {"NUM_1" ,"N", 12, ... |
xBrowse and Windows Vista ( Question ) | Hello,Because of a new computer, i'm working withWindows Vista now.I noticed a funny effect when changing the focusbetween browsers in a dialog :The rows in the other browsers, where the cursor has been before, when i change the focus, are changing to black. In windows 2000 it is ok.I use nothing special[img:2hjug780]h... |
xBrowse and Windows Vista ( Question ) | Hello Uwe,I have the same problem.As a workaround I use: oBrw:bClrSel := {|| { RGB(173,183,48),RGB(250,247,107) } }Regards,Otto |
xBrowse and Windows Vista ( Question ) | Hello Otto,thank you very much.The problem is solved.[img:cvsvlhm3]http://www.pflegeplus.com/pictures/xbrowse5.jpg[/img:cvsvlhm3]Best RegardsUwe[/img] |
xBrowse and a codeblock column | To All
I have a listbox that I want to convert to xBrowse.. with using the COLUMNS syntax .. I have a code block that returns a value that populates a column. ( DispType( oRsVEH ) )
It is that codeblock that errors and I do not know of a way to return the value I want to display in the specific column .. here is the ... |
xBrowse and a codeblock column | Mr Rick
COLUMNS syntax can be used only if a field exactly by that name ( case insensitive ) exists in the recordset.
In your case, I suggest the following alternatives:
1) Use a dummy name instead of the codeblock for the second column and after defining the xbrowse assign the codeblock as
oBrw:aCols[ 2 ]:bEdit... |
xBrowse and a codeblock column | Rao
I origionaly used the FIELDS clause but the result was not the 'fields' I defined but each column in the recordset .. not what I had expected .. I went back to the COLUMN expression and that is where I ran the road-block.
Let me soak up your suggestion and do some tests .. also, curious about the row colors based... |
xBrowse and a codeblock column | [code=fw:cz645sfs]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">bClrStd</span> := <span style="color: #000000;">{</span> || <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> oRsVeh:<span style="color: #000000;">Field... |
xBrowse and a codeblock column | Rao
Thank you .. worked great !!
Rick |
xBrowse and array | Hi all,
i have a 4 column xBrowse over an array.
1.)
After adding or deleting array elements i want to 'reset' the browse.
I am uncertain if i have to do :
oBrw:SetArray( aArray )
or
oBrw:aArrayData := aArray
or both ( if yes, which must be called first ? )
2.)
The xBrowse is set with AUTOCOLS and AUTOSORT.
... |
xBrowse and array | In my opinion calling SetArray it's the only necesary thing to do.
But it's not 100% true, it's depends of what version are using you.
On the last version FWH0812,
[quote:6q2y8uov]* Fix: Class TXBrowse Method SetArray() is properly assigning ::aArrayData in those cases that the
new assign array has the same struc... |
xBrowse and array | Biel,
many thanks for your answer.
In the meanwhile a made some more tests.
I use FWH 8.12.
Your are right, it's only necessary to call oBrw:SetArray( aArray ) to change the data source.
[b:1y5z3zsn]Except[/b:1y5z3zsn] there is one glitch <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-... |
xBrowse and bChange | Hello ,
bChange in xBrowse is executed after a skip , is there a codeblock to use before a skip ?
Regards Maurizio |
xBrowse and bChange | oBrw:bOnRowLeave. |
xBrowse and bChange | Hello Rao ,
<!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> bOnRowLeave dosn't work
Regards Maurizio
[code=fw:1u3kq7pt]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">'fivewin.ch'</span... |
xBrowse and bChange | You are right.
bOnRowLeave is evaluated only when oBrw:lEdited := .t., i.e., when a cell is edited and row ( or even column is moved ).
If you can tell me what you want to do in your application, I might come out with some working suggestion for you. |
xBrowse and bChange | Hello Rao ,
execute a codeblock before making a skip ( :GoDown,:GoUp,:GoTop, ecc.. ) on the record
[code=fw:1qc39rbx]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">METHOD</span> GoDown<span style="color: #000000;">(</span> nDown <span style="color: #000000;">)<... |
xBrowse and bClrStd | Good morning RAO
I have an array of colors and would like to apply it to the columns
this example works
[code=fw:2ju2ejrv]<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;">#incl... |
xBrowse and bClrStd | Whatever be the context, you should not use index variable inside a codeblock created inside the loop.
This is one fundamental rule we need to keep in mind since the clipper days. |
xBrowse and bClrStd | thanks RAO
there is workaraund for works with an array of color ?
I need to parameterize the colors of the columns .
Maurizio |
xBrowse and bClrStd | At least, this is an error:
[code=fw:3uwx3hzb]<div class="fw" id="{CB}" style="font-family: monospace;">:<span style="color: #000000;">aCols</span><span style="color: #000000;">[</span> n <span style="color: #000000;">]</span>:<span style="color: #000000;">bClrStd</span> := <span style="color: #000000;">{... |
xBrowse and bClrStd | Sorry Enrico I copied the wrong example,
[code=fw:1im4ruf8]<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 /> <span style="color: #00C800;">local</span> oDlg,... |
xBrowse and bClrStd | Try this:
[code=fw:3aa8rsrm]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><br /><br /><span style="color: #00C800;">function</span> main<span style="color: #000000;">(</span><span style="color: #000000;... |
xBrowse and bClrStd | Grazie Enrico ,
works as I wanted <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Maurizio |
xBrowse and bDragBegin | Hello,
following problem occurs when using bDragBegin with xBrowse:
2 Windows using xBrowse are opened, let's say a window with adresses and a window with articles. The window with articles has the focus. Now I click (once) into the window with adresses and the cursor changes to the cursor being used in the event of ... |
xBrowse and bEditWhen | Antonio ,
bEditWhen dosn't work with nEditType := EDIT_LISTBOX
Regards Maurizio |
xBrowse and bEditWhen | Fixed in version 12.02.
Thanks for pointing out. |
xBrowse and bEditWhen | Hello Rao ,
I tried your fix
[code=fw:3nz8kmq0]<div class="fw" id="{CB}" style="font-family: monospace;">elseif oCol:<span style="color: #000000;">nEditType</span> == EDIT_LISTBOX .and. oCol:<span style="color: #000000;">lEditable</span> <br /> </div>[/code:3nz8kmq0]
I can open the LISTBOX and the select... |
xBrowse and bKeyDown | In the old browse ( in a edit cell ) to have the value of the GET I used
oBrw:bKeyDown = { | nKey |msgvalue(oBrw)}
Function MsgValue(oBrw)
Val := Eval(oBrw:aColumns[1]:bData)
msginfo(val)
What I can use th have the same value in xBrowse bKeyDown ?
Regards Maurizio |
xBrowse and bKeyDown | Instead of
[code=fw:1vth4xo9]<div class="fw" id="{CB}" style="font-family: monospace;">Val := Eval<span style="color: #000000;">(</span>oBrw:<span style="color: #000000;">aColumns</span><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span ... |
xBrowse and bKeyDown | Thank Nage
I had already try :Value but it return the value before the input
Maurizio |
xBrowse and bKeyDown | What do you want to know? Edit buffer of the current Get being edited? In that case you can query the Get object of the column, oCol:oEditGet. |
xBrowse and bKeyDown | Nage ,
I solve with bEditValid , but it doesn't work correctly
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=18422">viewtopic.php?f=3&t=18422</a><!-- l -->
Maurizio |
xBrowse and bSetUp | Hello NagesWaraRao,
would you please show me how to use
Report() with a xBrowse of an ARRAY.
I would like to hide some columns.
I tried like this but with no success.
Thanks in advance
Otto
[code=fw:32ngh3rr]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #0000ff;">DEFINE... |
xBrowse and bSetUp | Alternative-1:
[code=fw:1vksd0s8]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">define</span> <span style="color: #0000ff;">button</span> ...... <span style="color: #0000ff;">action</span> MyReport<span style="color: #000000;">(</span> oBrw <span style="color: #000000... |
xBrowse and bSetUp | Hello Mr. NagegesWaraRao,
thank you for your help.
I tested alternative 1.
It is working well.
What I did not found out is if I could also change the width?
oLbx:aCols[3]:nWidth := 20
This is not working for me.
Maybe you have some more code how to use the alterantive 2.
I am not clear how to use bSetUp.
... |
xBrowse and bSetUp | XBrowse widths are in screen pixels. Report column sizes are in number of characters. Chaning browse column size has no effect on the report column sizes.
Actually xbrowse report method's bSetUp block is called twice ( from version 9.03 onwards ). First time it is called before creation of report columns. If the bsetu... |
xBrowse and bSetUp | Hello Mr. NagegesWaraRao,
thank you for your help. I will try.
Best regards,
Otto |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.