topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
twbrowse: change header color | Is it possible to change color of headers of a twbrowse?
#include "fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL oBrw
USE customer
DEFINE DIALOG oDlg FROM 100 , 100 TO 800 , 600 PIXEL
@ 1 , 1 LISTBOX oBrw FIELDS SIZE 200 , 200
[b:1rne9l2g]oBrw:nClrText := CLR_HBLUE[/b:1rne9l2g]
ACTIVATE DIALOG oDLG CENTER
RETURN... |
twbrowse: change header color | oLbx:nClrForeHead
oLbx:nClrBackHead |
twbrowse: change header color | Thank you James,
it works in a little sample but in one of my applications it does not work.
I add step by step pieces of code from my application to working sample.
The conclusion is: sample works but my application doesn't.
It seems that two programs contains the same pieces of code.
I inform you...
marco |
twbrowse: change header color | Marco,
If you can't solve it, please post your app code here. Maybe someone can figure it out.
James |
twbrowse: change header color | James,
tomorrow I will extract this dialog from my app and post it.
Thank you |
twbrowse: change header color | Hi Marco..
see this code and this link [url:1fgiydql]http://forums.fivetechsupport.com/viewtopic.php?f=6&t=19204&start=0[/url:1fgiydql]
[code=fw:1fgiydql]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> oLbx:<span style="color: #000000;">nClrNFBack</span> := <span style... |
twbrowse: change header color | I've found the problem
Is the presence of this in .RES file
1 24 LOADONCALL MOVEABLE
{
'3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31'
'2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54'
'46 2D 38 22 20 73 74 61 6E 64 61 6C 6F 6E 65 3D'
'22 79 65 73 22 3F 3E 0D 0A 3C 61 73 73 65 6D 62'
'6C 79 20 78 6D 6C 6E 73 3... |
twbrowse: change header color | Is it possible to change header color in twbrowse obiect without removing from the program windows xp manifest? |
twcapture y servicio... | Alguien tiene la clase twcapture para 32 bits que me la pudiera facilitar, y sabarn como poner un programa de harbour en modo servicio con win xp? lo que quiero es cargar el programa y cerrar la ventana por ejemplo cuando carguen el ares, el limewire, el messenger,etc etc.. o alguien tendra algun ejemplo lo agradeceria... |
twcapture y servicio... | Hola Paco
Capturar una ventana mas o menos es averiguar su hWnd y enviarle mensajes.
Una de las formas de obtener el handle es utilizar FindWindow
Por ejemplo:
[code:3vnu3zn5]
local cText
local hWnd := FindWindow( 0, <titulo_de_la_ventana_a_capturar>)
if hWnd == 0
MsgInfo( "No encuentro " + <tit... |
twcapture y servicio... | [quote="Francisco Horta":39dhtytl]...y sabarn como poner un programa de harbour en modo servicio con win
xp?[/quote:39dhtytl]
Estas son mis notas de los cursos de Donosti 2007:
Se puede hacer de 2 formas, la gratis y complicada, o la de facil y de pago.
La gratis y complicada:
Se necesitan dos programas del Kit de ... |
twcapture... | Tengo un programita que me detecta "x" ventana abierta, quiero que ese programa se cargue como servicio y no se pueda ver por el administrador de tareas, como le hago?
otra pregunta, en el administrador de tareas tengo cargado el programa ares.exe, como hago para terminar el .exe, mas no para cerrar la ventana?
salu2
P... |
twindow:circle() | Hi (again...)
Using the circle method of twindow I'm able to draw a circle around an bitmap ok. But, I'd like to make that circle transparent ...ie not erase the image inside de circle. Can it be done?
And, can I use a different pen to draw the circle?
Thank you,
Reinaldo. |
twindow:circle() | This is a working sample:
[code:2gzsreco]#include "Fivewin.ch"
#define BRUSH_NULL 5
FUNCTION MAIN()
LOCAL oWnd
DEFINE WINDOW oWnd
ACTIVATE WINDOW oWnd;
ON PAINT ( oWnd:Say( 3, 0, "This is a test", CLR_GREEN ),;
DRAWCIRCLE( oWnd, hD... |
twindow:circle() | Enrico;
It works. Fantastic!
If you don't mind, let me ask you; I notice that you are making a reference to hDc, --never declared anywhere?
[quote:232zwvw1]
DRAWCIRCLE( oWnd, hDC,...
[/quote:232zwvw1] |
twindow:circle() | It is implicitly passed by the codeblock bPainted.
EMG |
two array -> one array tree | how do i insert an array inside to another as if it were a tree
see the picture
[img:2ufsy19f]https://i.postimg.cc/MZ0CFfW3/yes.jpg[/img:2ufsy19f]
I wish insert for each word of array 1 the strings of array2 as a tree |
two dimensional array - resolved!! | I need to make an array with two dimesion
type oBtnNum[10,9 ]
in order to have the cCaption from 1 to 90
each row ten number
but at the same time having each button recognizable for example
oBtnNum[2,1 ] is the btn with the cCaption number 11 ( Col 1,Row 2)
How do it ?
I made
for k=1 to 10
For j=1 to ... |
two dimensional array - resolved!! | [quote="Silvio.Falconi":2uua0obh]I need to make an array with two dimesion
type oBtnNum[10,9 ]
in order to have the cCaption from 1 to 90
each row ten number
but at the same time having each button recognizable for example
oBtnNum[2,1 ] is the btn with the cCaption number 11 ( Col 1,Row 2)
How do it ?
I made
... |
two dimensional array - resolved!! | [quote="dutch":2z254zpi][quote="Silvio.Falconi":2z254zpi]I need to make an array with two dimesion
type oBtnNum[10,9 ]
in order to have the cCaption from 1 to 90
each row ten number
but at the same time having each button recognizable for example
oBtnNum[2,1 ] is the btn with the cCaption number 11 ( Col 1,Row 2... |
two dimensional array - resolved!! | Please try this
if you press each button run ok it change the color
now press "GE"
[code=fw:2vg1l85w]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00D7D7;">#define<... |
two dimensional array - resolved!! | Silvio,
xBrowsae() is such a mighty function.
For debugging, you should insert xBrowse() and check the objects.
Best regards,
Otto
[code=fw:1arkvn5a]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">Function</span> Gemelli<span style="color: #000000;">(</span>oCmb... |
two dimensional array - resolved!! | opps right!!! |
two functions | where I can found LFNFILE() and LFNDIRECTORY() ? |
two functions | Silvio,
File() and Directory() should be able to manage LFN. |
two functions | sorry,
But I have a old source code and not founded these funcs when I compiled it |
two functions | [code=fw:nwj91vb9]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">FUNCTION</span> LfnFile<span style="color: #000000;">(</span>cF<span style="color: #000000;">)</span><br /><span style="color: #00C800;">RETURN</span> <span style="color: #000000;">(</span>File<span sty... |
two functions | Silvio,
This is the LFNFILE function I use :
[code=fw:3nmmsynv]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#INCLUDE</span> <span style="color: #ff0000;">"STRUCT.CH"</span><br /><span style="color: #00D7D7;">#DEFINE</span> MAX_PATH <span style="color: #000000;">260</spa... |
two get and explorebar | I must insert two gets control into a explorebar as you can see here
[img:2k2m4nvp]https://s15.postimg.cc/c6d3b8e17/image.png[/img:2k2m4nvp]
But I wish the gets have the width until the end of the explorer and when I resize the spliter the gets must change their width
I build the explorer with
... |
two get and explorebar | resolved
I insert aGetsearch as static and then
[code=fw:2103jo7p]<div class="fw" id="{CB}" style="font-family: monospace;"> <br />oApp<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #000000;">oSplit</span>:<span style="color: #000000;">bChange</span> :=<span st... |
two print preview in the same prg | hi,
can I to manage two different PRINT PREVIEW in the same prg?
thanks |
two print preview in the same prg | why you need two preview on the same prg ? |
two print preview in the same prg | * DeOndePartiu = Where it comes from
[code=fw:20cb4kd2]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #00C800;">IF</span> DeOndePartiu = <span style="color: #ff0000;">"GERARIMP"</span><br /><br /> <span style="color: #00C800;">PRINT</span> oPrn <spa... |
txBrowse SaveState RestoreState | La clase txBrowse en los ultimos tiempos se ha visto mejorada y ampliada en muchisimos aspectos.Entre los cambios veo que en el metodo SaveState, se ha añadido el nombre de columna(oCol:cHeader). Supongo que esto nos puede permitir cambiar el titulo de la columna dinamicamente (aunque desconozco el metodo, si es que es... |
txBrowse SaveState RestoreState | Bueno ante la falta de sugerencias, he obatado por crear una clase nueva heredada de txBrowse, adaptando los metodos SaveState y RestoresState. De esta manera, soluciono el problema, y ademas no tengo que modificar la clase txBrowse.No se si será la mejor, pero funciona.No puedo usar comandos del tipo @ <nRow>, <nCol> ... |
txBrowse SaveState RestoreState | Biel,Que cambios has hecho en SaveState() y RestoresState() ? gracias! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
txBrowse SaveState RestoreState | Antonio,el objetivo principal era mantener compatibilidad con versiones antiguas de xBrowse. Para ello era suficiente quitar del proceso de grabacion y recuperacion cHeader.Pero para no alejarme mucho de la version actual, lo que he hecho, es cambiar la posicion de cHeader y pasarlo al final(que entiendo hubiera sido l... |
txBrowse SaveState RestoreState | Biel,Gracias por la explicación <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
txBrowse: Comportamiento extraño | Hay un comportamiento extraño cuando edito una celda de dos líneas (:nDataLines:=2) en txBrowse 10.12
-Si borro caracteres usando la tecla [Suprimir], al pulsar [Entrar] los caracteres borrados vuelven a aparecer.
-Si selecciono un texto y borro la selección con [Suprimir], al pulsar [Entrar] los caracteres borrados ... |
txBrowse: Comportamiento extraño | ¿Puede alguien confirmar esto?
Gracias. |
txBrwColumn con BtnBmp en header | Requiero hacer una operación sobre la data de un txBrowse cuando se hace click sobre un encabezado de columna.
Ya sé que puedo definir oCol:bLClickHeader, pero nada me indica que existe esta opción de hacer click.
¿ Se puede pintar un header con un btnbmp?
Gracias.
[FWH9.07 + xHb1.21 + BCC55] |
txBrwColumn con BtnBmp en header | Saludos Cesar...
bLClickHeader hace exactamente lo que solicitas
te dejo un ejemplo para la columna 1 y columna 2
[code=fw:6dspkdsd]<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:... |
txbrowse | ola pessoal a minha migração continua
cheguei em algumas telas q so o txbrowse vai me atender (informação do gilmer via msn) so que os exemplos no samples do fw sao ridiculas o testxbrw.prg so funciona com ads
alguem teria + dicas + exemplos que funcionem so compilar ?
o twbrowse ate me atende + so que em algumas ... |
txbrowse :nColSel | ola pessoal do forum
o metodo :nColSel
existe algum método que me retorne o numero da coluna independe se estiver visível na tela ? porque :nColSel so atualiza as colunas visíveis
so funciona se usar o mouse ... se usar setas (esquerda/direita) nao atualiza se mudar a linha atualiza
video
<!-- m --><a class="po... |
txbrowse :nColSel | En este ejemplo, pulsa las teclas izquierda ó derecha y luego pulsa espacio:[code:k3kp0ewo]
#include "FiveWin.ch"
#include "xbrowse.ch"
function Main()
local oDlg, oBrw
DEFINE DIALOG oDlg SIZE 300, 200
@ 0, 0 XBROWSE oBrw OF oDlg ARRAY { { "one","two","three" } } AUTOCOL... |
txbrowse :nColSel | esta dando erro na compilação TESTE_TXBROWSE.PRG(10) Error E0030 Syntax error: "syntax error at '{'" █ |
txbrowse :nColSel | Pruébalo asi:[code:2bys25vr]
#include "FiveWin.ch"
#include "xbrowse.ch"
function Main()
local oDlg, oBrw, aData := { { "one","two","three" } }
DEFINE DIALOG oDlg SIZE 300, 200
@ 0, 0 XBROWSE oBrw OF oDlg ARRAY aData AUTOCOLS
oBrw:CreateFromCode&#... |
txbrowse :nColSel | amigo nao funcionou olha o log xHarbour Compiler build 1.1.0 (SimpLex)Copyright 1999-2008, <!-- m --><a class="postlink" href="http://www.xharbour.org">http://www.xharbour.org</a><!-- m --> <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m -->Compiling 'TESTE... |
txbrowse :nColSel | Por favor comprueba que tengas este código en xbrowse.ch:[code:2c5bpvqz]
#xcommand @ <nRow>, <nCol> [ COLUMN ] XBROWSE <oBrw> ;
[ [ FIELDS ] <Flds,...>] ;
[ <dsrc: ALIAS, ARRAY, RECSET, RECORDSET, OBJECT> <uDataSrc> ] ;
[... |
txbrowse :nColSel | as seguintes linhas não existem no meu xbrowse.ch[code:2sqm43zv]
[ <dsrc: ALIAS, ARRAY, RECSET, RECORDSET, OBJECT> <uDataSrc> ] ;
[ <pic: PICS, PICTURE, PICTURES> <aPics,...> ] ;
[ <cols: COLS, COLUMNS> <aCols,...> 	... |
txbrowse bEditValue adobase | Hola a TodosNecesito saber como debo colocar el bloque de codigo en la clase txbrowseoBrw:AddCol():bEditValue := { || }por que si la coloco asioBrw:AddCol():bEditValue := { || fecasi }oBrw:AddCol():bEditValue := { || oDbDet:fecasi } con ADOBASEen todo el browse se repite el valor del campo HACE LOS MISMO CON Dbf ... |
txbrowse & left bottom | when I "klik" in left bottom mouse position in browse move to the top
best regards
kajot |
txbrowse - Workarea not in use ?? | [code=fw:ajemgf0g]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />Buena tarde...<br /><br />Continuo solicitando ayuda para detectar este error ...<br />es esporádico <span style="color: #000000;">(</span>no lo he podido replicar, se presenta con algunos clientes que tienen mucho movimiento <s... |
txbrowse - Workarea not in use ?? | Esto no te ayudo?
[url:21amw5ul]http://forums.fivetechsupport.com/viewtopic.php?f=6&t=32023[/url:21amw5ul] |
txbrowse - Workarea not in use ?? | [url:lv3yqy48]http://fivetechsupport.com/forums/viewtopic.php?f=3&t=26008[/url:lv3yqy48] |
txbrowse - Workarea not in use ?? | Karinha.. Gracias por responder..
Mi duda se centra en porque el error en esa línea si en la línea anterior usa el alias de la tabla activa y no marca error (siempre es la misma línea)
SELECT(::cAlias) // sin error
DEFAULT ::bGoTop := {|| ( ::cAlias )->( DbGoTop() ) },;
::bGoBottom := {|| ( ::cAli... |
txbrowse - Workarea not in use ?? | [quote:1u40yu5f]
Mi duda se centra en porque el error en esa línea si en la línea anterior usa el alias de la tabla activa y no marca error (siempre es la misma línea)[/quote:1u40yu5f]
Eso es porque
Esta es ejecutada "al momento"
[code=fw:1u40yu5f]<div class="fw" id="{CB}" style="font-family: monospace;"><span style... |
txbrowse - Workarea not in use ?? | Mirando la pila de llamadas del error, es el metodo End de un dialogo el que invoca a paint, por lo que debe ser que el txbrowse esta pintándose cuando ya cerraste la dbf. Como no hay codigo no se como solucionarlo, pero busca en el cierre del dialogo donde se cierran las tablas, y trara de que no cierren las tablas ha... |
txbrowse - Workarea not in use ?? | [code=fw:2xf8nsdw]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Esta la ventana principal del sistema, inicio del sistema y despliegue del <span style="color: #0000ff;">menu</span> textual y estilo metro, en este punto no se ha invocado ningún txbrowse, y es este el <span style="color: #0000ff;">activ... |
txbrowse - Workarea not in use ?? | [code=fw:3r5kvrcb]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">FUNCTION</span> PRINCIPAL_METRO<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">LOCAL</span> oBrush,hborland,oCursor,o... |
txbrowse - problemi di refresh | Utilizzo fivewin 2.7 xharbour ( ma questi problemi li riscontro anche con la versione 2.6), database dbf e indici ntx.
Quando inserisco, aggiorno, cancello un record il refresh della xbrowse non avviene in modo corretto, anche forzando il refresh.
Inoltre quando utilizzo l' incremental seek il posizionamento avviene i... |
txbrowse - seek (ISSO É UM BUG ?) com exemplo - RESOLVIDO | como limpar a variável de pesquisa do metodo :bseek ?oBrwClientes:bSeek :={|nKey| BrowseBuscaClientes_1( nKey , nIndiceOrdem, nPesquisa ) }a primeira vez funciona corretamente mas na segunda pesquisa o conteúdo da pesquisa anterior continua como zerar ou limpar a variavel ?ja tentei obrw:cseek ... |
txbrowse - seek (ISSO É UM BUG ?) com exemplo - RESOLVIDO | adicionado na linha 444oBuscar:Assign()nao é um bug do fivewin ... acho q é da classe GET do xharbour obrigado VAILTON |
txbrowse - seek (ISSO É UM BUG ?) com exemplo - RESOLVIDO | Daniel,Está ya funcionando bien ? No entiendo bien el portugues. |
txbrowse - seek (ISSO É UM BUG ?) com exemplo - RESOLVIDO | [quote="Antonio Linares":2cafkgom]Daniel,
Está ya funcionando bien ? No entiendo bien el portugues.[/quote:2cafkgom]Antonio, activa el traductor de GOOGLE, es muy bueno y puedes traducir palabras y paginas.... <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> |
txbrowse - seek (ISSO É UM BUG ?) com exemplo - RESOLVIDO | Al hacer una pesquisa con bSeek(xbrowse), el conteudo digitado si mantén en el Buffers...correcto ?!El Buffers el liberado solamente cuando usa las teclas VK_UP y VK_DOWN, correct ?!- Cuando bdseek() -> .T.Es possible, después de unos segundos Zerar el buffers, para iniciar nueva busca sin necesitar usar las teclas VK_... |
txbrowse - seek (ISSO É UM BUG ?) com exemplo - RESOLVIDO | oBrw:seek()Sí, sin argumentos |
txbrowse :tooltip | é posivel adicionar :tootip diferentes nas colunas do txbrowse ? |
txbrowse :tooltip | Daniel,Estamos trabajando para ofrecer esa funcionalidad, |
txbrowse DBF1 DBF2 | it is possible create a txbrowse ????? I want to browse records from DBF1 and from DBF1 view records from DBF2, whereDBF1 DBF2rec_1 -----> rec_1_1 rec_1_2 rec_1_3rec_2 -----> rec_2_1 rec_2_2 rec_2_3rec_3 -----> rec_3_1 rec_3_... |
txbrowse DBF1 DBF2 | Hello Kajot,Do you want to show in a second browser a different DBFset in relation to DBF 1, or do you want to view for the same DBFthe complete record in a second browser vertical ?The sample xBRSTRU.prg shows in a second browserthe selected record of browser 1.RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_l... |
txbrowse DBF1 DBF2 | thankssubscription:I want to browse DBF1, when I dbclick on the rekord from DBF1 I wanto to view records from records DBF2 and when I click ESC I return to DBF1 |
txbrowse ado dbf | este codigo trabaja bien con dbf pero con ado solo se ve el primer registrocoloque una variable lAdo=.T. Para probar con mysql y lAdo=.f. con DBFel me muestra bien la de Mysql si la hago sin definir las columnascual puede ser el error. Gracias de antemano#include "Report.ch"#include "FiveWin.ch"#include "xBrowse.ch"STA... |
txbrowse ado dbf | Te falta el SETADO(), revisa esa funcion en el codigo fuente de tu version de xBrowse, y pon en .t. la opcion lAddCols SetAdO( oRs, lAddCols, lAutoOrder, aFldNames )y puedes pasarle el arreglo de tus campos con aFLdNameses mejor segun mi parecerEso |
txbrowse ado dbf | Si estoy utilizando SetAdo() lo que no entiendo es porque sirve con dbf y no con MySql, si lo pruebo sinoBrw:AddCol():bEditValue := { || oDbDet:fecasi }oBrw:AddCol():bEditValue := { || oDbDet:asiento }oBrw:AddCol():bEditValue := { || oDbDet:descasi }oBrw:AddCol():bEditValue := { || oDbDet:totdeb }oBrw:AddCol():... |
txbrowse dwo database | any sample with browse two database db1, db2 with txbrowsedb1 - main databasenr_:=db1->nrdb2->(dbseek(nr,.f.)) |
txbrowse dwo database | sorry two databasenr_:=db1->nrdb2->(dbseek(nr_,.f.)) |
txbrowse dwo database | Hello Kajot,In one database I have the customer. Each customer owns a ID-no, because there can be customerswith the same name.The 2. database includes the software, belongs to the customer.To show the software of the customer in Database 2,i use a RELATION.Does this sample explain, what you want to do ?RegardsUwe <!-- ... |
txbrowse dwo database | I want to browse Invoices (db1) and their items (db2) |
txbrowse dwo database | Please try this sample code. This code uses the states.dbf and customers.dbf in fwh\samples folder.[code:2upfkjvh]
#include 'fivewin.ch'
#include 'xbrowse.ch'
REQUEST DBFCDX
function Main()
OpenData()
BrowseData()
return nil
static function BrowseData
local oDlg, oBrw1, o... |
txbrowse dwo database | super, thanks |
txbrowse from code | I am trying to build a dialog of txbrowse and I don't know what is missing ?
[code:2n2ygyld]
STATIC FUNCTION NewDialog( oWnd )
local oDlg, oBrw, oCol
oBrw := TXBrowse():New( oWnd )
DEFINE DIALOG oDlg FROM 0,0 TO 45,128 TITLE "Customer browse "
oBrw:CreateFromCode(... |
txbrowse from code | [code:we5qkja9]
STATIC FUNCTION NewDialog( oWnd )
local oDlg, oBrw, oCol
DEFINE DIALOG oDlg FROM 0,0 TO 45,128 TITLE "Customer browse "
ACTIVATE DIALOG oDlg ;
ON INIT oBrw := BuildBrowse( oDlg )
RETURN NIL
function BuildBrowse( oWnd )
local oBrw := TXBrowse&#... |
txbrowse from code | How can I fill the dialog with the columns of txbrowse ? |
txbrowse from code | Try oDlg:oClient := oBrw
James |
txbrowse from code | No Not work I tried it before . I think the code should be like this . I mean BuildBrowse does not know nothing about oWnd.
[code:31nwqqny]
STATIC FUNCTION NewDialog( oWnd )
local oDlg, oBrw, oCol
DEFINE DIALOG oDlg FROM 0,0 TO 45,128 TITLE "Customer browse "
ACTIVATE DIALOG oDlg ;
ON INI... |
txbrowse from code | Adding buttons in such way overlaps the columns of xbrowse .
[code:24k2wv3b]
STATIC FUNCTION NewDialog( oWnd )
local oDlg, oBrw, oCol
DEFINE DIALOG oDlg FROM 0,0 TO 45,128 TITLE "Customer browse "
ACTIVATE DIALOG oDlg ;
ON INIT oBrw := BuildBrowse( oDlg )
RETURN NIL
functi... |
txbrowse from code | Ehab,
Thats because you are using oDlg:oClient:=oBrw and that means to use the entire dialog area.
You may change oDlg:oClient:=oBrw into:
oBrw:nTop = ...
oBrw:nLeft = ...
oBrw:nWidth = ...
oBrw:nHeight = ... |
txbrowse problem | I have some problems with txbrowse, when I insert, modify or delete a record, refresh don't work correctly...also forcing the refresh...
Moreover when I use incremental seek the header desappear...
Kindly someone can help me?
Thanks
I use FiveWin 2.7 - xHarbour - dbf database - ntx index |
txbrowse problem | Could you please provide a small and self contained sample to reproduce the problem ? Thanks, |
txbrowse problem | Dear Antonio,
do you want a little exe with the database or only the .prg file??
I will send you it tomorrow...by mail??
Thanks
Regards |
txbrowse refresh() | Hi,In twbrowse I used obrw:upstable() + obrw:refresh() after adding or deleting a record.What do I need to do with txbrowse? If I use obrw:refresh(), the browse is not correct refreshed after adding or deleting a record.obrw:upstable() does not exist in txbrowse.ThanksMarc |
txbrowse refresh() | Marc,i had this problem a few time ago when i start use TXBROWSE.After the "delete" of one record, I solve the problem moving my .dbf one record below and up with "skip" and "skip -1". Only after this i note that oBRW:refresh() works fine.Instead, after "append" command i did not have problems. Check your index files t... |
txbrowse refresh() | Thanks Max,The skip-1, skip solve the update-problem after deleting a record.With the appand it didn't work. The index-file is not corrupted. I test it with a database with only about 20 records.Regards,Marc |
txbrowse refresh() | Marc,>With the appand it didn't work. The index-file is not corrupted. I test it with a database with only about 20 records.Should the appended record be visible in the browse (considering the index)? Is there data in the appended record (perhaps it is visible, but there is no data to see)?Regards,James |
txbrowse refresh() | James,The appended record should be visible and is visible. The problem is that after the append it is added in the browse and is selected, but if you scroll up or down the data of those field change to the data that is now there.Also scrolling up after appending a new record, the browse doesn't go completely up anymor... |
txbrowse refresh() | Marc,This is just a guess, but you might try:eval( oBrw:bBookmark )after doing the append.Regards,James |
txbrowse refresh() | James,It did't work.Here is an example. You must press 'ADD' a couple op times and then scroll the browse. You will notice the problem.[code:27rq7npt]#INCLUDE "FiveWin.ch"
#include "xbrowse.ch"
FUNCTION test()
local oDlg
local oCol
local vgetlist
local dbstructuur:={}
aadd&#... |
txbrowse refresh() | Antonio,Did you tried my example?Thanks,Marc |
txbrowse refresh() | Marc,I tried your example and I do not see any of the behavior that you describe. I am using FWH 8.08/xHarbour. Perhaps you are using a different version? Maybe you are using a modified xbrowse.prg?Regards,James |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.