topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
xBrowse in cell of other xbrowse | [quote="FranciscoA":1o7a34c9]Rick, thanks for your reply.
Maybe I don't explained correctly ( my bad english).
What I want to do is to use cells of xbrowse1 and insert other xBrowses into xBrowse1's each cells..
Is't possible?[/quote:1o7a34c9]
Not impossible, but requires lot of work.
Instead, it is easier to cre... |
xBrowse incremental search | Hi all,
i have customers xBrowse with dbfntx on upper( name ).
I would like to search by typing a customer name without using the shift key.
Unfortunatelly it doesn't seek.
here my code:
[code=fw:2ujnwi4g]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> oBrwLf := XbrowseNew<span style="color: #00000... |
xBrowse incremental search | Hello Detlef,
I use this some years already and it works fine for me ( maybe a bit old fashion ).
If the browser has the focus, the input is displayed in the say and starts the incremental-seek.
Inside the function, You have absolute control what You want to do, the user presses a special key.
[code=fw:12e6yc24]<div ... |
xBrowse incremental search | Uwe,
thanks for your suggest.
A code like yours would be my workaround.
But my intention was to avoid such additional coding for we have a bSeek block of the xBrowse class.
Unfortunately it doesn't seem to work as expected. <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
Thank... |
xBrowse incremental search | Hello Detlef,
maybe a solution with a codeblock is possible, lets wait.
Just something I remember to include inside the function.
A help during the seek :
The SAY ( seeking a name ) : Hoefn[color=#FF0000:3i6174qr]?[/color:3i6174qr]
If the user presses a [color=#FF0000:3i6174qr]?[/color:3i6174qr] You can include :
I... |
xBrowse incremental search | Simple oBrw:bSeek := { |c| (oBrw:cAlias)->( DbSeek( Upper( c ) ) ) } should work and works for me ( for character columns if index is on Upper(...) and browse has focus )
Please make sure the Browse has focus ( normally better we set focus on int clause ) and the proper index is selected. Please note SoftSeek need not... |
xBrowse incremental search | >
May be my error with bSeek could result from using xBrowse and TsBrowse libs in the same program?
>
I don't think so. XBrowse will use its own methods for bSeek
In any case, it may be a good idea to keep sbrowse and xbrowses in different program modules. Not desirable to have both browses in the same program file. No... |
xBrowse incremental search | [quote="nageswaragunupudi":2y4e13cn]Simple oBrw:bSeek := { |c| (oBrw:cAlias)->( DbSeek( Upper( c ) ) ) } should work and works for me ( for character columns if index is on Upper(...) and browse has focus )
Please make sure the Browse has focus ( normally better we set focus on int clause ) and the proper index is sel... |
xBrowse incremental search | Hi, I have this:
oBrw:lSeekBar := .T.
oBrw:lIncrFilter := .F.
oBrw:lAutoSort := .T.
oBrw:lSeekWild := .T.
If I Set lincrFilter := .T. lSeekBar dont apear even I set lSeekBar .T.
lseekBar and lIncrFilter works together?
Thanks! |
xBrowse incremental seek multiple indexes | Mr. Rao,
DBF is used
the settings :
[code=fw:1b4ft56k]<div class="fw" id="{CB}" style="font-family: monospace;"><br />WITH OBJECT oBrw1<br /> :<span style="color: #000000;">lIncrFilter</span> := .t.<br /> :<span style="color: #000000;">lSeekWild</span> := .t. <br /> ... |
xBrowse incremental seek multiple indexes | Hello,
I tested xBrowse incremental seek with multiple indexes
Only the 1. selected column is used.
Changing the column, the seek still belongs to the first selection.
Clicking on the header, the index works
I''m using :
[color=#0000FF:2wsvy4sp][b:2wsvy4sp]REDEFINE SAY oBrw1:oSeek PROMPT oBrw1:cSeek ID 300 OF oFld:a... |
xBrowse incremental seek multiple indexes | Please tell us more:
What setting are you using for:
1. lIncrFilter .t. or .f.
2 lSeekWild .t. or .f.
Are you using DBF |
xBrowse incremental seek multiple indexes | Unlike incremental seek, incremental filter works slightly differently.
The filter actually works on oBrw:cFilterFld, which can be specified by the programmer. The filter expression is not cleared (unlike incremental seek) when sort order is changed and the user can continue to type the filter expression. He can also v... |
xBrowse info. | Guys:
Where I can find all the data & methods that xBrowse supports ? It seems that the manual does not show all options. FiveWin 10.06 |
xBrowse info. | Please have a look into the class:
FWH/source/classes/xbrowse.prg
Best regards,
Otto |
xBrowse info. | In addition, please see
1. FiveWiki
2. Whatsnew.txt in the FWH folder. This provides information on latest changes that are not included in the FiveWiki
3. Sample programs in \fwh\samples\ folder. In particular testxbr3.prg covers many different aspects of xbrowse programming. |
xBrowse info. | Thank you very much Rao. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
xBrowse intermittent ""message not found: NIL:NLASTKEY error | I'm using FWH11.08. Intermittently the error below will appear. Where do I start looking to prevent this kind of error occuring?
[img:icpdjx1r]http://s32.postimg.org/lrf5rzyg5/journal.jpg[/img:icpdjx1r]
TIA
--
hua |
xBrowse intermittent ""message not found: NIL:NLASTKEY error | May I know
Did you sent oCol:lAutoSave to .T. ?
What is the data type of that column? |
xBrowse intermittent ""message not found: NIL:NLASTKEY error | Yes oCol:lAutoSave = .T.
I think the column's data type is character |
xBrowse intermittent ""message not found: NIL:NLASTKEY error | 1) Suggest leave oCol:lAutoSave as default .F.
2) Since you say this is an intermittent error, it can take a lot of time for us to figure out why and when this error could arise.
We'll try and if you can help us under what situation the error is coming that would be halpful |
xBrowse intermittent ""message not found: NIL:NLASTKEY error | >>1) Suggest leave oCol:lAutoSave as default .F.
[i:26049ny1]If left as .f., then user can't immediately key-in? What's the alternative method?[/i:26049ny1]
>>2) Since you say this is an intermittent error, it can take a lot of time for us to figure out why and when this error could arise.
>>We'll try and if you can ... |
xBrowse intermittent ""message not found: NIL:NLASTKEY error | [quote:kqhqfts3]>>1) Suggest leave oCol:lAutoSave as default .F.
If left as .f., then user can't immediately key-in? What's the alternative method?
[/quote:kqhqfts3]
No
If lFastEdit is true, then the user can enter the get by pressing any key.
In fact lAutoSave is not very safe.
When lAutoSave is false ( default ), a... |
xBrowse jpg in SQL-database | Hi,
I want to browse data and bitmaps stored in an SQL-database with ADO.
Browsing the data comming from the database is no problem, also browsing a bitmap depending of the database is no problem.
Is the an example I can use?
Thanks, |
xBrowse jpg in SQL-database | Marc
I presume you are trying to view jpg thumbnails imported into a Sql table. From my experience, the only way to store any file in a Sql table is to import the picture as a binary file (AppendChunk) into a ( sql server ) VarBinary(Max) or equivalent.
The data is stored as bytes and have to be re-assembled back in ... |
xBrowse jpg in SQL-database | Rick,
Indeed,I want to show jpg-files imported in a SQL-table in a browse.
I want to store it with "'0x"+STRTOHEX() into a MEDIUMBLOB field, and extracting it before showing it, but I don't know how to show it... |
xBrowse jpg in SQL-database | We advise 4 simple ways of inserting images into Ado table. Following program works for any database.
[code=fw:1bntu3q9]<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: #00D7D7;">#in... |
xBrowse jpg in SQL-database | Thank you for the 4 examples.
I will try them and let you know the results. |
xBrowse jpg in SQL-database | Hi,
I have use
[code=fw:2n5r5g29]<div class="fw" id="{CB}" style="font-family: monospace;">oSQL:<span style="color: #000000;">execute</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"INSERT INTO 'boeken' ( nummer,cover) VALUES ( 1,"</span>+STRTOHEX<span style="color: #000000;">(</sp... |
xBrowse jpg in SQL-database | 1) Please use the syntax as I provided. That is safe.
2) bLine is not for xbrowse. It is for wbrowse.
For xbrose just use:
@ r,c XBROWSE oBrw DATASOURCE oRs COLUMNS "nummer", "naam", "cover" .............. |
xBrowse jpg in SQL-database | What should I use for bLine for wbrowse?
I also have some wbrowse in an existing program I want to modify. |
xBrowse jpg in SQL-database | It is xbrowse which is provided with display of images.
I advise you to use xbrowse for this purpose |
xBrowse jpg in SQL-database | Thank you, I will use xbrowse
[quote="nageswaragunupudi":1qoe2f69]It is xbrowse which is provided with display of images.
I advise you to use xbrowse for this purpose[/quote:1qoe2f69] |
xBrowse jpg in SQL-database | [quote:2o9moz7k]I have use
Code:
oSQL:execute( "INSERT INTO 'boeken' ( nummer,cover) VALUES ( 1,"+STRTOHEX(memoread("C:\COVERS\1.jpg"))+" )")
to inport the jpg-files into the database.
[/quote:2o9moz7k]
This may not work. Also you need to write this statement differently for different databases.
As we recommend, plea... |
xBrowse jpg in SQL-database | Hi Rao,
I am getting the following error while trying to save images to MS SQL table. What am I doing wrong?
ERROR: Incorrect syntax near '+'. (0x80040E14)
Code:
cSqlIns := [INSERT INTO asset_chart(]
cSqlIns += [itemnumber,]
cSqlIns += [inspcft]
cSqlIns += [)]
cSqlIns +=... |
xBrowse jpg in SQL-database | Rao,
Here is the complete code in case you need it:
TRY
oSql:=TOleAuto():New("ADODB.Recordset")
CATCH
MsgWait( "Unable to Load SQL Driver" )
RETURN (.F.)
END
// Set...
oSql:CursorType := 1 // opendkeyset
oSql:CursorLocation := 3 // local cache
oSql:LockType := 3 ... |
xBrowse jpg in SQL-database | Rao,
I changed the following code and it seems to be working.
cSqlIns += STRTOHEX( MemoRead( cCft + aImages[nX1,1] ) )
I will let you know once process is complete |
xBrowse jpg in SQL-database | Hi Rao,
It did not work. Any ideas what needs to be done? |
xBrowse jpg in SQL-database | [code=fw:31jlx6u4]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #ff0000;">"0x"</span> + STRTOHEX<span style="color: #000000;">(</span> MEMOREAD<span style="color: #000000;">(</span> ... <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br... |
xBrowse jpg in SQL-database | Still, we advise you to adopt the approach and syntax advised by us in our samples above. They are safe and work with any database. You will not be wasting your time in searching for solutions like this. |
xBrowse jpg in SQL-database | Thanks Rao, that seemed to solve the problem. If I run in to any issues, I will contact you. |
xBrowse jpg in SQL-database | Hi,
Is it the same with DOCX or XLSX or PDF ?
What is the instruction to read the file saved in a sql table and display it with WORD or Excel or PDF Viewer ?
Should we read from the blob field, save it to the disk with MEMOWRITE or FWRITE and the open the files ?
Thanks for your help .
Philippe . |
xBrowse jpg in SQL-database | We need to first write them to a temporary file on the disk and then open the file with appropriate application.
Writing to disk:
[code=fw:1z0be6a4]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// xharbour</span><br />MEMOWRIT<span style="color: #000000;">(</span> cF... |
xBrowse lVScroll .F. Francisco SOLUCIONADO | Estimados amigos no he conseguido que no aparezcan las barras de
desplazamiento vertical y horizontal, no las quiero.
oBrSaldo:lHScroll := .F. no me funciona
oBrSaldo:lVScroll := .F. no me funciona
He leido que hay que declararlo el recurso...pero como se hace si el style de recurso es..
Con PellesC
Window Style ... |
xBrowse lVScroll .F. Francisco SOLUCIONADO | Saludos, coloca en windows style 0x10210000, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> |
xBrowse lVScroll .F. Francisco SOLUCIONADO | joseluisysturiz,
Como dice Ruferso se requiere de que via codigo en los recursos se pueda o no eliminar el scroll, y tambien comentar que antes con el mouse movias la barra del scroll y movia igual los registros, ahora no. |
xBrowse lVScroll .F. Francisco SOLUCIONADO | Hola, en la ver. 1204 me funciona asi:
Con PellesC
Window Style 0x50010000
oBrSaldo:lHScroll := .F.
oBrSaldo:lVScroll := .F. |
xBrowse lVScroll .F. Francisco SOLUCIONADO | [quote="wmormar":20pmvj3b]joseluisysturiz,
Como dice Ruferso se requiere de que via codigo en los recursos se pueda o no eliminar el scroll, y tambien comentar que antes con el mouse movias la barra del scroll y movia igual los registros, ahora no.[/quote:20pmvj3b]
Saludos Willian, respondi basado en su pregunta de co... |
xBrowse lVScroll .F. Francisco SOLUCIONADO | Hola, gracias a todos por las sugerencias.
(La respuesta viene tarde porque recién llegue del trabajo)
Lo que necesitaba era que colocar en el Window Style del TxBrowse en un recurso editado con PellesC para poder
desde código decidir si quiero o no las barras de scroll.(vertical y horizontal)
La sugerencia de JoseLu... |
xBrowse lVScroll .F. Francisco SOLUCIONADO | Hola
[url:z9gheabf]http://msdn.microsoft.com/en-us/library/windows/desktop/bb787601(v=vs.85).aspx[/url:z9gheabf]
Un saludo
#pragma BEGINDUMP
#include "windows.h"
#include "hbapi.h"
HB_FUNC( SHOWSCROLLBAR )
{
hb_retl( ShowScrollBar( (HWND) hb_parnl( 1 ), hb_parni( 2 ), hb_parl( 3 ) ) );
}
#p... |
xBrowse lVScroll .F. Francisco SOLUCIONADO | Ruferso, francamente no se que problema puedas tener, pero como te dije, incluso en la ver 1006 me funciona asi:
Con PellesC
[b:1cyacjtd][size=150:1cyacjtd]Window Style 0x50010000[/size:1cyacjtd] ( tú tienes puesto 0x50310000 )
[/b:1cyacjtd]
Si omites lo siguiente, apararecen las barras:
oBrSaldo:lHScroll := .F.
oB... |
xBrowse lVScroll .F. Francisco SOLUCIONADO | Francisco: SI, SI, SI. Estas en lo cierto.
Mil disculpas, esta funcionando.
Muchisimas gracias, y disculpa mi torpeza. A veces me pasa. Serán los años?
Saludos
Ruben Fernandez |
xBrowse lVScroll .F. Francisco SOLUCIONADO | Ruferso, no hay de que. Estamos para ayudarnos. A mi me ha pasado en varias ocasiones.
Saludos. |
xBrowse look Office 2019 - Office 365 | Hello,
Is it posible?. Thank you very much and merry xmas!. |
xBrowse look Office 2019 - Office 365 | As of now, xbrowse supports 2007,2010,2013,2015 styles.
[code=fw:12eno05l]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBrw:<span style="color: #000000;">SetStyle</span><span style="color: #000000;">(</span> nStyle <span style="color: #000000;">)</span><br /> </div>[/code:12eno05l] |
xBrowse look Office 2019 - Office 365 | Thank you.
Any plans to implement it?.
What about Office 2016 style in Ribbon?. |
xBrowse look Office 2019 - Office 365 | I am using Office 360.
This is how Excel sheet looks.
[url=https://imageshack.com/i/pnegv5ccp:2w18nyso][img:2w18nyso]https://imagizer.imageshack.com/v2/xq90/923/egv5cc.png[/img:2w18nyso][/url:2w18nyso]
Adopting the same style, this is how xbrowse looks:
[url=https://imageshack.com/i/plb... |
xBrowse look Office 2019 - Office 365 | Nages,
If you do a search for "Excel 2016" and then select "images" you will get a lot of screenshots of the Excel app. I suspect this is the style he is referring to. I found the same issue when working with the ribbonbar-it didn't look like the Microsoft apps. However, in this case the only difference I see is the c... |
xBrowse look Office 2019 - Office 365 | Mr. James
Thanks. But I could not find the highlight color in any of the images. The gray color is not the highlight color but column/row indicator color.
We are about to enter 2019. Isn't 2016 too old now? Why can we not adopt the color scheme of Office 360 as 2018 style? |
xBrowse look Office 2019 - Office 365 | Nages,
>But I could not find the highlight color in any of the images.
Unless you enlarge them, they are hard to see since the highlight color is a dark green.
>The gray color is not the highlight color but column/row indicator color.
Sorry, I said "highlighted color title" but I meant to say "highlighted column co... |
xBrowse look Office 2019 - Office 365 | Yes, sorry there was a typo. I was refering to Office 2019 - Office 365 style.
Thank you. |
xBrowse look Office 2019 - Office 365 | [quote="MOISES":3cgj70ag]Yes, sorry there was a typo. I was refering to Office 2019 - Office 365 style.
Thank you.[/quote:3cgj70ag]
Then we provided 2018 style in FWH 18.12 for XBrowse
oBrw:SetStyle( 2018 ) |
xBrowse look Office 2019 - Office 365 | Thanks. Can you please upload a .exe example?.
What about Ribbon?.
Thank you. |
xBrowse look Office 2019 - Office 365 | The appearance is what I posted above.
Changes to Ribbon will take time. |
xBrowse look Office 2019 - Office 365 | Thank you very much for your attention and quick response.
I want to express the importance and urgency of the graphic changes. Users don't appreciate a compiler change or the FW_RecToJson function, but they do appreciate a graphic look change. As we all are aware, one of the first ways to sell a software is by eye-ca... |
xBrowse look Office 2019 - Office 365 | [quote="nageswaragunupudi":3dlgdr8o][quote="MOISES":3dlgdr8o]Yes, sorry there was a typo. I was refering to Office 2019 - Office 365 style.
Thank you.[/quote:3dlgdr8o]
Then we provided 2018 style in FWH 18.12 for XBrowse
oBrw:SetStyle( 2018 )[/quote:3dlgdr8o]
<!-- l --><a class="postlink-local" href="http://forums.f... |
xBrowse me agrega una columna adicional no definida | Estimados colegas
Tengo un xbrowse que defino yo creo correctamente, pero no entiendo porque razón me agrega una columna vacía al final, lo que ya identifique es que se da cuando agrego bitmaps en el texto de las cabeceras (en columnas 1 y 10 usando :AddBitmap y :HeadBmpNo), pero no encuentra la razón para ello.
Mi c... |
xBrowse me agrega una columna adicional no definida | Estimados;
Algún aporte sobre este tema.
Saludos
Fernando Espinoza A. |
xBrowse me agrega una columna adicional no definida | [quote="nanoespinoza":mmau40ap]Estimados;
Algún aporte sobre este tema.
Saludos
Fernando Espinoza A.[/quote:mmau40ap]
Cuantas columnas deberias de tener y muestra una imagen del xbrowse, ademas de como defines la VAR oLbx del xbrowse...saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:... |
xBrowse me agrega una columna adicional no definida | Debería tener 11 columnas, como verá en mi código, pero me aparece una columna 12 en vacío, como verá en el gráfico:
LOCAL oLbx
<!-- m --><a class="postlink" href="https://ibb.co/mMt2GK">https://ibb.co/mMt2GK</a><!-- m -->
Saludos |
xBrowse me agrega una columna adicional no definida | In this line
[code=fw:3u5l6au0]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #0000ff;">REDEFINE</span> COLUMN <span style="color: #0000ff;">XBROWSE</span> oLbxID <span style="color: #000000;">6001</span> <span style="color: #0000ff;">OF</span> oDlgEst ARRAY aStat AUTOSORT GDI <br... |
xBrowse me agrega una columna adicional no definida | OK, se resolvió el problema.
Me gustaría conocer a que se debe.
Saludos |
xBrowse method not working | I tried gotop() method as below but not cause the browse to go top :
[code:2pnlypej]
DEFINE DIALOG oDlg of oWnd FROM 0,0 TO 45,128 TITLE "Meter reads browse "
oBrw := TXBrowse():New( oDlg )
oBrw:nMarqueeStyle := MARQSTYLE_HIGHLCELL
oBrw:nColDividerStyle := ... |
xBrowse method not working | Ehab,
Try call go top on 'on init' clause of activate dialog, like:
[code:3gd1530b]
ACTIVATE DIALOG oDlg ON INIT (oBrw:SetSize( 1000, 600 ),BuildButtons( oDlg ),oDlg:Refresh(.t.), oBrw:GoTop(),; // <-- HERE
oBrw:Refresh(.t.))
[/code:3... |
xBrowse method not working | I already tried - not working -
[code:3p1u9zkt]
STATIC FUNCTION listmete( oWnd )
*--------------------------
local oDlg, oCol
local nTotal:=0
local oBrw
local nfor,cFilter:="",bFilter:=""
local y
local V_me_mc_serl:= space(7)
REQUEST ADS
rddRegister( "ADS", 1 )
rddsetdefa... |
xBrowse metro header | Hello Antonio,
how should header/footer painting changes for Metro be inserted.
I think we need a style like l2010.
Best regards,
Otto
[img:1havqvep]http://www.atzwanger-software.com/fw/xBrwheader2.jpg[/img:1havqvep]
[code=fw:1havqvep]<div class="fw" id="{CB}" style="font-family: monospace;"><span ... |
xBrowse metro header | Are there any plans to insert these chances?
Best regards,
Otto |
xBrowse metro header | A new flat style for xBrowse is under development that would look similar to the above. This new style applies to headers, footers and recordselector also.
This may not be ready for 12.07 though. |
xBrowse metro header | Dear Mr. Rao,
thank you.
Best regards,
Otto |
xBrowse mod harbour | Hello friends,
For learning, I made a small project with mod harbour and bootstrap table.
I would like to call "xBrowse" in mod harbour as easily as with Fivewin.
Here are the first steps.
Best regards,
Otto
Fivewin
[img:1rj6bnkh]https://mybergland.com/fwforum/modxbrowseclip3.jpg[/img:1rj6bnkh]
mod har... |
xBrowse mod harbour | I changed the access to DBF and some options in bs-table.
data-search="true"
data-pagination="true"
data-height="600"
data-page-size="25"
data-toggle="table"
[img:1g0p8cky]https://mybergland.com/fwforum/dbfshowcode.jpg[/img:1g0p8cky]
[img:1g0p8cky]https://mybergland.com/fwforum/dbfshow.... |
xBrowse mod harbour | prevent unnecessary re-rendering
change during first rendering to none
[code=fw:3726r4fi]<div class="fw" id="{CB}" style="font-family: monospace;"> <br />cHtml += <span style="color: #ff0000;">'<script>'</span><br />cHtml += <span style="color: #ff0000;">'document.getElementById("table").style.display = "none";'... |
xBrowse multi selects (resolvido) | Olá!
Preciso selecionar várias linhas em um xBrowse (uso MySQL).
Vou mostrar uma lista de clientes e o usuário seleciona quais ele deseja.
Alguém indica um exemplo?
Obrigado!
Hello!
I need to select multiple rows in an xBrowse (MySQL usage).
I will show a list of clients and the user selects which ones he wants.
Does ... |
xBrowse multi selects (resolvido) | Please search for "xbrowse multiselect" in forum
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/search.php?st=0&sk=t&sd=d&keywords=xbrowse+multiselect">search.php?st=0&sk=t&sd=d&keywords=xbrowse+multiselect</a><!-- l -->
Samples:
<!-- l --><a class="postlink-local" href="http://forums.fiv... |
xBrowse multi selects (resolvido) | Navarro,
Gracias. |
xBrowse multi selects (resolvido) | Navarro,
Após selecionar os registros no browse (oBrw) como recuperar os registros selecionados em aPes?
[code=fw:36dec5ql]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">Function</span> GrupoListarPessoa<span style="color: #000000;">(</span><span style="color: #00000... |
xBrowse multi selects (resolvido) | Rodrigo, intenta con oBrw:aSelected |
xBrowse multi selects (resolvido) | Navarro,
Resolvido assim:
[code=fw:2h3vr45p]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">Function</span> GrupoListarPessoa<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">Local</... |
xBrowse multi selects (resolvido) | [quote:2yfpm10m] oBrw:nDataType := 64
[/quote:2yfpm10m]
This is wrong.
Correct nDataType is DATATYPE_ODBF (16)
XBrowse automatically decides the correct datatype, when you create the browse based on the type of DATASOURCE.
Not only that you do not have to assign the value yourself, but it is also highly u... |
xBrowse multi selects (resolvido) | Rao,
Tks. |
xBrowse nFreeze | Hi all,
i have xBrowse with an array as data source.
Each row has 3 columns.
The first 2 colums are for searching and the third column is editable.
nMarqueeStyle is MARQSTYLE_HIGHLCELL.
I want the browse starting with the cursor placed on the 3rd column.
I tried this by setting nFreeze to '2'.
But when the browse st... |
xBrowse nFreeze | Mr. Detlef
What about
[b:2ryz8ptn]oBrw:nColSel:=3[/b:2ryz8ptn]
[code:2ryz8ptn]ACTIVATE DIALOG oDLg ON INIT (oBrw:SetFocus(),oBrw:nColSel:=3)[/code:2ryz8ptn]
Regards
Anser |
xBrowse nFreeze | Hello Detlef,
There is still another way :
If You want to show the 3. Col at the first left-position :
( it moves the scrollbar to Col 3 )
[code:sku6w05t]
I := 1
FOR i := 1 to 3
oBrw:GoRight()
NEXT
[/code:sku6w05t]
egards
Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="L... |
xBrowse nFreeze | Hi Anser and Uwe,
thanks for your suggestions.
They both work fine.
I only wonder about the none working nFreeze ...
Regards,
Detlef |
xBrowse nFreeze | Hello Detlef,
< nFreeze > just keeps the selected Col's on screen ( doesn't set col-position ).
1 2 = Freeze
1 2 3 4 5 = All Col's
You move the horizontal scrollbar to the right
1 2 4 5 = visible
Regards
Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" ... |
xBrowse nFreeze | Please Try:
ACTIVATE WINDOW / DIALOG ..... ON INIT oBrw:SetPos( 1, 3 ) // first row, third column |
xBrowse nMoveType | Hi,
I have xBrowse without editabled columns
oBrw:nMoveType has no efect and cursor asways go right
Can i exclude this or make it nMoveType to have efect on non editabled columns
is it possible to define nMoveType for each column ?
Or someother solution please
Best regards, |
xBrowse nMoveType | Cursor moves like in Excel, under full control of the user. |
xBrowse nMoveType | Hi Rao,
Thanks for reply
I will try to control it with SelectCol() Method if no other solution,
One more question please ...
If lRecordSelector := .f. columns are numbered from 0 to Fcount() -1 ????
example SelectCol( 1 ) go to second column must i use SelectCol( 0 ) so cursor to go to first column ?
Best regards. |
xBrowse new line for DBF ... | Hi ,
I'm searching a solution , how to add a new blank line in the xBrowse , then fill this line with needful data and then validate ( for mandatory fields for sample ... ) and append a new record in DBF . Maybe you have a sample how to do something like that ? It seems that I can add a new record to dbf and then... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.