topic
stringlengths
1
63
text
stringlengths
1
577k
tprogress y windows vista
Antonio, la unica manera de hacerlo funcionar ha sido metiendole un inkey para que vaya más despacito la cosa. Algo así: [code:2bpjg4zh] index on upper(LiCodigo); tag CODIGO; for ! deleted(); eval ( inkey(0.01), oMeter:SetPos( nMeter+=5 ), oMete...
tprogress y windows vista
José Luis, Has probado a usar SysRefresh() en vez de Inkey() ? Es más aconsejable
tprogress y windows vista
Si, antes lo tenía con sysrefresh pero no iba bien. Acabo de volverlo a probar y sin inkey no hay tutia. ¿ Cual es la cantidad menor de tiempo que le puedo poner a un inkey ? Sobre lo de que el meter llegue a la mitad, al estar en un dialogo... ¿ el valor de oMeter:nMax tiene que ser la mitad que si estuviera en una ve...
tprogress y windows vista
No tendría porque ser la mitad. Cosas de Windows <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
tprogress y windows vista
Lo que no entiendo es que pase con Vista, porque con XP iba de coña. Saludos,
tprogress y windows vista
Cuando haces oMeter:setRange( 0, LI->(LastRec()) ) el meter ya tiene un handle de control válido ? Es decir, tendrías que hacerlo desde la claúsula ON INIT del diálogo. Existen algunas diferencias entre XP y Vista. Son pocas, pero las hay.
tprogress y windows vista
Antonio, yo defino el meter en una función, de esta manera: [code:1c5rri5d] DEFINE DIALOG oDlg OF oApp&#40;&#41;&#58;oWndMain RESOURCE "UT_INDEXAR" TITLE oApp&#40;&#41;&#58;cAppName oDlg&#58;oFont&#58;= oApp&#40;&#41;&#58;oFont REDEFINE BITMAP oBmp ID 111 OF oDlg RESOURCE "BB_INDEX" TRANSPARENT RED...
tprogress y windows vista
Jose Luis, El rango del meter, lo defines en Ut_CrearCdx() ?
tprogress y windows vista
Antonio, el rango del meter lo defino en Ut_CrearCdx y varía para cada dbf que indexo. Cada vez que abro un dbf modifico el rango del meter. Esto me ha funcionado siempre bien. Saludos,
tprogress y windows vista
Jose Luis, Revisa samples\ProgTime.prg
tprogress y windows vista
Jose Luis, yo uso una pc con vista home basic para desarrollar y he notado que el meter con Progress no llega al 100% o no arranca como tu dices... ¿Puede ser por que el PC es muy rápido?. Duo core, 1 Giga en Ram. La verdad no le he dado más importancia... pero lo que si me ha gustado es que antes usaba el METER y ...
tprogress y windows vista
Yo creo que la cosa va por ahi, o que la clausula every no se evalua bien en un PC rápido. Si al every le pones un WaitSeconds a la clausula every el meter se actualiza, pero no llega al final. He probado también a modificar el valor del meter con oMeter:DeltaPos y hace lo mismo que con SetPos. Yo tengo un iMac Core2 ...
tprogress y windows vista
Jose Luis, Yo lo estoy usando en un Core Quad y funciona bien. Por lo que no creo que sea cuestion de velocidad, sino tal vez de tiempo de refresco para Windows, de ahí que el WaitSeconds() ayude. Estas usando Vista en modo nativo ó desde vmware/Parallels ?
tprogress y windows vista
Jose Luis, Curiosidad "geek" <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> : Estas usando ya Leopard ? Que "geekbench" te da tu máquina ? <!-- m --><a class="postlink" href="http://www.primatelabs.ca/geekbench">http://www.primatelabs.ca/geekbench</a><!-- m --> Y Xbench...
tprogress y windows vista
Lo uso nativo, instalado con BootCamp. Probé Parallels pero el refresco del teclado era muy lento, asi que lo dejé estar. Al final la solución pasará por el WaitSeconds, pero tengo que ver también lo del tamaño del meter, que parece que no funciona igual que en XP. Saludos,
tprogress y windows vista
Antonio, uso Tiger. Todavía me queda mucha tela que aprender ahi como para pasar a Leopard. Y también está lo de los 129 euros, que también hay que pagarlos y la cosa se amontona. Desconocía lo del GeekBench, cuando vuelva a arrancar en OS X te cuento. Saludos,
tprogress y windows vista
Antonio, el geekbench de 32 bits en mi equipo con Windows Vista es de 2076. Saludos,
tprogress y windows vista
<!-- m --><a class="postlink" href="http://browse.geekbench.ca/geekbench2/view/27962">http://browse.geekbench.ca/geekbench2/view/27962</a><!-- m -->
tprogress y windows vista
gracias! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
tprogress y windows vista
Antonio, insisto en lo de los meter. Mira el siguiente ejemplo: [code:3yi163u1]// FiveWin Win32 common controls sample #include "FiveWin&#46;ch" //----------------------------------------------------------------------------// function Main&#40;&#41; local oDlg, oTabs, oSay, oProgress, oAnimate ,oSay1,oSay2 , nA...
tprogress y windows vista
José Luis, Parece una cuestión de pintado de Windows, porque asi se rellena la barra completamente: [code:5wnx763g] INDEX ON first+last TO "CUST01" FOR ! Deleted&#40;&#41;; EVAL &#40;oProgress&#58;SetPos&#40;nProgress++&#41;, MsgInfo&#40; nProgress &#41;, oSay&#58;SetText&#40;nProgress&#41;, Sysrefresh&#40;&...
tprogress y windows vista
José Luis, Hay que usar los métodos SetStep() y StepIt() y asi sí completa: [code:2w47tgpa] oProgress&#58;SetRange&#40; 0, RecCount&#40;&#41; &#41; oProgress&#58;SetStep&#40; 2 &#41; nProgress&#58;= 0 sysrefresh&#40;&#41; INDEX ON first+last TO "CUST01" FOR ! Deleted&#40;&#41;; EVAL &#40; oPro...
tprogress y windows vista
Antonio, en XP funciona bien así. Esta noche lo pruebo en Vista. Gracias,
tprogress y windows vista
[quote="José Luis Sánchez":72ti2iqm]Antonio, en XP funciona bien así. Esta noche lo pruebo en Vista. Gracias,[/quote:72ti2iqm] Estou com este problema tambem! Isto foi solucionado?
tprogress y windows vista
Anderson, No, aún no hemos dado con la solución. De hecho lo estamos comentando estos dias en el foro en inglés: <!-- m --><a class="postlink" href="http://fivetechsoft.com/forums/viewtopic.php?t=10194">http://fivetechsoft.com/forums/viewtopic.php?t=10194</a><!-- m -->
tproxy
Colegas, Deseo saber cual es la funcionalidad de TPROXY y como aplicarlo. Necesito restrigir el acceso a FaceBook, Messenger, otras aplcaciones para los usuarios.
trabajar con otro tipo de bd via odbc
se pueden en fivewin trabajar otro tipo de bases de datos via odbc? como? especificamente necesito trabajar con archivos DBisam gracias alejandro
trabajar con otro tipo de bd via odbc
Alejandro. Si tiene conector ODBC .. puedes con tOdbc o ADO, sin mayores problemas. Saludos
track user input
Hello, Does anyone know of a way to track all user input like button presses, entries etc... I want to be able to have an optional user debug mode that they can turn on if they are having problems. The reason I wold like this is that I have the odd customer that will have more problems then other users. They would be...
track user input
Jeff, The method HandleEvent() is probably one of the most called modules in FWH, so if you modify it, then it may be a good place to track the user activity. Anyhow, please keep in mind that this may slow down your app.
track user input
Thanks Antonio. I haven't tried changing any methods before ... Can you point me in the right direction? What file(s) would I need to look at changing?
track user input
Jeff, is your main window MDI ?
track user input
No
track user input
Jeff, Is it a window or a dialog ? thanks
track user input
The main screen is a standard window. The area I really would like to track is a dialog. Thanks.
track user input
Jeff, This may be a good start point: jeff.prg [code=fw:23yozrv2]<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;">"xhbcls.ch"</span>...
track user input
You could greatly reduce the size of the log file, filtering the messages that you get from Windows and selecting the most important ones. In example, WM_COMMAND is sent when a button is pressed, and on other situations. Also you could track WM_KEYDOWN, WM_LBUTTONDOWN, etc. [code=fw:fe1uzd62]<div class="fw" id="{CB}"...
track user input
Thanks Antonio, where can I get xhbcls.ch ??
track user input
Also, is it possible to get the button assignment (ie: oBtnStart ) to show up in events.txt ?
track user input
[quote="Jeff Barnes":x1kfipha] where can I get xhbcls.ch ??[/quote:x1kfipha] [url:x1kfipha]https&#58;//github&#46;com/harbour/core/blob/master/contrib/xhb/xhbcls&#46;ch[/url:x1kfipha]
track user input
[quote="Jeff Barnes":17u63avg]Also, is it possible to get the button assignment (ie: oBtnStart ) to show up in events.txt ?[/quote:17u63avg] I am not sure what you mean. Do you mean when a variable is assigned ?
track user input
I am looking to see exactly what button was clicked. A have about 10 buttons on my dialog. REDEFINE BUTTON oBtnStart ... REDEFINE BUTTON oBtnEnd... etc... I was wondering how I know which button they actually pressed. In the events.txt file there are a bunch of numbers but it would be very helpful if, when a button w...
track user input
Jeff, Try this one, closer to what you may want <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> [code=fw:3t88loj0]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /...
track user input
This is all I see in events.txt with the new code: 09/24/13 10:57:51: 09/24/13 10:57:54: 09/24/13 10:57:55: 09/24/13 10:57:57:
track user input
Jeff, 1. Make a safe copy of FiveWin.ch <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> 2. Edit FiveWin.ch here: [code=fw:4e408ldr]<div class="fw" id="{CB}" style="font-family: monospace;">#xcommand <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff...
track user input
With your sample program I get the following in the events.txt: 09/24/13 11:21:32: 09/24/13 11:21:33: 09/24/13 11:21:33: 09/24/13 11:21:34: If I try in my program I get an error in one of my dialogs (but not all of them): Error description: Error BASE/1004 Class: 'NIL' has no exported method: CVARNAME
traer ventana al primer plano
Vengo con una pregunta seguro que facil , pero no encuentro una solucion rápida.. en un boton tengo el siguiente codigo : oBrw:report(,,.f.) para que me genere un reporte en una ventana no modal . Funciona perfecto salvo que la ventana generada se coloca en segundo plano. Como la traigo al frente ?
traer ventana al primer plano
[code=fw:rhut904o]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp; &nbsp; oReport:<span style="color: #000000;">oDevice</span>:<span style="color: #000000;">lPrvModal</span> := .T.<br />&nbsp; &nbsp; &nbsp; oReport:<span style="color: #000000;">oDevice</span>:<span style="color: #000000;">S...
traer ventana al primer plano
Gracias por responder <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> pero requiero que la ventana sea NO modal <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> saludos.
traer ventana al primer plano
Mastintin, intenta BringWindo( hWnd ), en teoría trae el window hWnd al prmer plano. Saludos
traer ventana al primer plano
También puedes intentar SetWindowPos(hWnd,-1,,,,,8) Debería funcionar. Aqui tienes unos enlaces: <!-- m --><a class="postlink" href="http://winapi.freetechsecrets.com/win32/WIN32SetWindowPos.htm">http://winapi.freetechsecrets.com/win32 ... dowPos.htm</a><!-- m --> y <!-- m --><a class="postlink" href="http://www.pin...
traer ventana al primer plano
Gracias Antolin. Solucionado . por si a alguien le interesa. en xbrowse:report() al final del methodo : [code=fw:ec6m5t9m]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />&nbsp; &nbsp;Eval<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">bGoTop</span> <span style="color: #...
transacciones con ads
Hola foro, Uso Ads en modo servidor con transacciones, lógicamente. Además no permito, por ejemplo, que se repita el mismo número de albarán a través de un indice unique El problema es que a veces se bloquea la aplicación, por problemas ajenos al programa, y hay que cerrar la aplicación a lo bruto (con el administrad...
transacciones con ads
Efectivamente, cuando manejas transacciones y las terminales pierden la conexion con el server, la transaccion permanece abierta 4 minutos (ese parametro lo configuras en el ADS) pasados los 4 minutos desaparece la transaccion, mientras lo demas usuarios no pueden hacer uso de esa inforamcion, porque el archivo permane...
transacciones con ads
Hola rene, Muchas gracias por tu respuesta Tal y como me cuentas que lo haces es como hago yo las transacciones. Sólo al final asigno nuevo número (cuando da al botón guardar), antes ni siquiera esta abierta una transacción. El problema es que una vez perdí la conexión del terminal durante la transacción. Ya se sabe...
transaction security
Does someone know a link about transaction security? Thanks in advance Otto
transaction security
Otto, Have you googled for it ? There are many references about it.
transaction security
Hello Antonio, There are many but too much to start. If someone could refer one Iwould be glad. Thanks in advance Otto
transfer data from-to a Pocket Pc
There is a way to map a directory on a Pocket Pc from a desktop PC (or map a directory of the Desktop PC for use it from the Pocket) to transfer data without use Copy & Paste with ActiveSync ? Thanks. Franz
transfer data from-to a Pocket Pc
I use cecopy. I saw a reference in this news group days ago.
transfer data from-to a Pocket Pc
When you install ActiveSync on the desktop computer, it creates a folder in your My Documents folder called "Pocket_PC My Documents". This folder automatically synchs with the My Documents folder on the Pocket PC. So, if you create a sub-folder for your app in one of these folders (either on the Pocket PC or desktop) t...
transfer data from-to a Pocket Pc
There are two modes with ActiveSync, standar and guest. I always use guestand mode because standar mode is only for 2 pdas (I think?)
transfer data from-to a Pocket Pc
I agree with Bill, i thing is the easy way, and is authomatic. About standard mode is only for 2 pdas, this is not true. I have more than 5 pdas. If I'm not wrong I belive one PDA can only have 2 desktop computers to sincronize, but no limitation on the other way.
transfer data from-to a Pocket Pc
Hello, I use a small program called "Card Export". It resides on the pocket PC, nothing on the desktop. When installed, it gives you the choice between Card Export or Active Synch. If you choose Card Export, it will emulate a USB drive. The limitation is that you can access only the SD Card or the Pocket PC file store ...
transfer var type Hexadecimal
Hello all, I need make one function in FWH that transfer one data of type Hexadecimal to one function in xHarbour, I traid it: [code:3igudgir]HB_FUNC &#40; COMANDOCEM &#41;&#123; char *mensaje = hb_parcx&#40; 01 &#41;; [/code:3igudgir] then... COMANDOCEM("65") My question is: "65" when i send to function COMAND...
transfer var type Hexadecimal
Comandocem( nHex( cHex ) ) and from Comandocem(): LONG lValue = hb_parnl( 1 );
transfer var type Hexadecimal
Antonio, Entonces: hb_parnl( 1 ) devuelve un valor de tipo LONG? Seria entonces que un Hexadecimal se lo puede almacenar en un dato de tipo LONG? Como ser: ComandoCEm(nhex( 101 ) ) ... Al hacer esto: LONG lValue = hb_parnl( 1 ); lValue guardaria el 65 ( que es el valor hexadecimal del decimal 101 ) Es...
transfer var type Hexadecimal
Gustavo, ComandoCEm( nhex( "101" ) )
transform records into dbf
I have a dbf with a field "etnombre" [img:ajgk2j17]http&#58;//www&#46;iispascalcomiforti&#46;it/wp-content/uploads/2017/01/nn1&#46;jpg[/img:ajgk2j17] with capitalized record. Is there a function to convert all records in lower case? except of course the first letter which must remain in uppercase [code=fw:ajgk2j1...
transform records into dbf
[b:1q55pcl8]resolved [/b:1q55pcl8] [code=fw:1q55pcl8]<div class="fw" id="{CB}" style="font-family: monospace;"> <br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><br /><br /><span style="color: #00C800;">Function</span> Test<span style="color: #000000;">&#40;</sp...
transform records into dbf
Same thing can be done with one line of program [code=fw:5m6iwy1n]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; GO TOP<br />&nbsp; &nbsp;DBEVAL<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> || FIELD->ETNOMBRE := TokenUpper<span style="color: #000000;">&#40;</s...
transform records into dbf
[quote="nageswaragunupudi":311mheyf]Same thing can be done with one line of program [code=fw:311mheyf]<div class="fw" id="{CB}" style="font-family: monospace;">   GO TOP<br />   DBEVAL<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> || FIELD->ETNOMBRE := TokenUpper<span style="colo...
transform records into dbf
All these functions are from (x)Harbour. Not FWH. These functions have been there from the times of 16-bit Clipper days.
transform records into dbf
thanks I allready resolved
transform records into dbf
[quote="Marc Venken":27n0ovwt]Where is the right location of finding ALL RECENT functions of FW?[/quote:27n0ovwt] Have a look at: [url:27n0ovwt]https&#58;//harbour&#46;github&#46;io/doc/[/url:27n0ovwt]
transform records into dbf
Ok. Thanks.
transform Png to Bmp
to converte a png I use FW_transformBitmap and then save with fw_saveImage but it createa bmp with black background I see the bitmap image with black outlines which makes the image look a little grainy and unclear how can I change the background of the image?
transform Png to Bmp
I try to save the file to Jpg and then to Bmp and now seem run ok
transform Png to Bmp
Where is the function FW_transformBitmap() ? I would do it this way: FW_SaveImage( "name.png", "name.bmp" ) Did you try this? How is the quality?
transform Png to Bmp
Rao, FW_transformBitmap is in [url:3n1k4d55]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=35547&start=0&hilit=FW_transformBitmap[/url:3n1k4d55] I used this because I wanted have a small image but my test code to save from png to Bmp [code=fw:3n1k4d55]<div class="fw" id="{CB}" style="font-f...
transform Png to Bmp
[quote="nageswaragunupudi":2xfnset4]Where is the function FW_transformBitmap() ? I would do it this way: FW_SaveImage( "name.png", "name.bmp" ) Did you try this? How is the quality?[/quote:2xfnset4] Now I try with your command [code=fw:2xfnset4]<div class="fw" id="{CB}" style="font-family: monospace;">aElementiBmp:...
transform Png to Bmp
yes, not good.
transform Png to Bmp
May I know why do you want to convert them as bmp? Can you not use the png directly in your application?
transform Png to Bmp
Be[quote="nageswaragunupudi":17mb73c1]May I know why do you want to convert them as bmp? Can you not use the png directly in your application?[/quote:17mb73c1] Because I wish use a Combobox and the Combobox not support Png as You told me and I must use Pngs [b:17mb73c1]But I found a solution[/b:17mb73c1] ( Png->Jp...
transform String
Hello, I have a string such as 000000001720. I need that last two digts are decimals, so the number should be 17.20. Is there a function to do it?. Thank you,
transform String
MsgInfo( Transform( 000000001720, "99,99" ) )
transform String
You want to check the string so its last two characters are digits? EMG
transform String
[quote="Antonio Linares":3unqh30a]MsgInfo( Transform( 000000001720, "99,99" ) )[/quote:3unqh30a] Or [code=fw:3unqh30a]<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;"...
transform String
Thank you Antonio. No, just transform it. But previousy I forgot val, so that´s why it did not work
translate code to fivewin : internet IP
Hi all, plz help to translate this piece of code into Fivewin, FUNCTION MyWanIP LOCAL oHTTP as "winhttp.winhttprequest.5.1" LOCAL cHTML oHTTP=NEWOBJECT("winhttp.winhttprequest.5.1") oHTTP.Open("GET","http://www.ip-adress.com/",.f.) oHTTP.Send() cHTML = ohTTP.ResponseText RELEASE oHTTP RETURN STREXTRACT(cHTML,"My IP a...
translate code to fivewin : internet IP
[code=fw:2nh8dx3g]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> MyWanIP<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oHttp, cHtml<br /><br />&nbsp; &nbsp;oHttp := CreateObject<span style="color: #000000;">&#40;</span> <span style="color: #f...
translate code to fivewin : internet IP
ok, thanks a lot.
translation to..Tdatabase
I have these lines how I can to converte it into tdatabase ? [code=fw:10xjh39t]<div class="fw" id="{CB}" style="font-family: monospace;"><br />     USE LOTTO2.DBF <span style="color: #00C800;">NEW</span> <span style="color: #0000ff;">ALIAS</span> DST<br />       DST-><span style="color: #000000;">&#40;</span> FW_Arra...
translation to..Tdatabase
Silvio, a sample-code maybe there is something included You can need. 1. creating the dbf 2. appending data from a array [code=fw:1utofyfp]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br />REQUEST ...
transparencia de tree en dialogos
Estimados compañeros buenas tardes Una Consulta Tengo el siguiente codigo, se me pone transparente todo menos el tree existe una solucion ? [code=fw:25xsbb2z]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</s...
transparencia de tree en dialogos
[code=fw:3sl7fa9g]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//#Define CLR_WINDOW &nbsp; &nbsp; &nbsp; &nbsp; RGB( 130, 130, 130 )</span><br /><span style="color: #00D7D7;">#Define</span> CLR_WINDOW &nbsp; &nbsp; &nbsp; <span style="color: #000000;">315</span><br /><br...
transparencia de tree en dialogos
Muchas gracias, probe y sigue sin funcionar saludos Wilson
transparencia de tree en dialogos
Wilson, Prueba esto: oTree:bEraseBkGnd = { || nil }
transparencia de tree en dialogos
Antonio gracias por responder esto obtengo con tu sugerencia [img:5pg04hhj]http&#58;//imageshack&#46;com/a/img537/5125/HJToFV&#46;jpg[/img:5pg04hhj] aun no es lo que espero gracias Wilson
transparencia de tree en dialogos
Wilson, Lo que deseas es que el fondo de Tree se vea transparente ? No se si ese control lo permite...