topic
stringlengths
1
63
text
stringlengths
1
577k
iconize window
I have this working code in my programs: ........ ON RESIZE WinResize(oWnd) ....... [code:272f0npk] STATIC FUNCTION WinResize( oWnd ) IF IsIconic( oWnd:nWnd ) // my code what to do when first iconized ELSE // do what is needed here ENDIF RETURN .T. [/code:272f0np...
iconize window
Enrico and James, thank you for jumping in. As James said, "on resize" would trigger the timer start every time a user resizes the window of my app. The intention is the following: In our company there are 5 workstations which create invoices. If a new invoice has been created a popup window with a browse should op...
iconize window
Detlef, Perhaps what you want is to start the timer on bLostFocus and stop it on bGotFocus. James
iconize window
James, this sounds like a good idea. I'll try it. Thanks, James
iconize window
[quote="James Bott":1rpmb3sy]>Or use ON RESIZE. A good idea, but the timer would be triggered for any resize not just iconizeng.[/quote:1rpmb3sy] This is not true. ON RESIZE automatically provides nSizeType that can be any of the following values: [code:1rpmb3sy]#define SIZE_RESTORED 0 #define SIZE_MINIMIZED 1 #...
iconize window
Detlef, >If a new invoice has been created a popup window with a browse should open to show the most recent invoices which not yet have been printed. I assume you mean that the app is iconized (or better, not in focus) when this window pops up? Is this so they know there is a new invoice to handle? Wouldn't you real...
iconize window
Enrico, >This is not true. ON RESIZE automatically provides nSizeType that can be any of the following values: Ah, I didn't know that. But in his situation I think checking for iconized is not going to work. See my other message discussing his problem. James
iconize window
[quote="James Bott":vg8s7oxj]But in his situation I think checking for iconized is not going to work. See my other message discussing his problem.[/quote:vg8s7oxj] I'm not sure to have understood the Detlef's problem but I tend to agree. EMG
iconize window
James, thanks for your thorough thoughts about my problem. I know that there are better ways to handle this task. But this would end in a deep redesign of our invoicing system. Unfortunatelly my boss would only accept such work if it would be done in a week <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":...
iconize window
Detlef, >So i must must find a quick ( and dirty ) solution for my problem. >Enrico helped me with his information about nSizeType which i didn't know before. OK, I understand. However, checking for iconized is not going to tell you if they just switched to another app (without iconizing), so the bLostFocus/bGotFoc...
iconize window
Detlef, try the following [code:1s4uds4q]ACTIVATE WINDOW &#58;&#58;oWnd ; ;//ON INIT ; ON RESIZE If&#40; nSizeType == SIZE_MINIMIZED, <StartTimer>, <EndTimer> &#41; ; VALID &#58;&#58;End&#40;&#41;[/code:1s4uds4q] It should work
iconize window
Danke Stefan, werde versuchen, deinen Tipp zu verwerten. Gruß, Detlef
icono en tooltips
Estimados, Se puede agregar un icono en el tooltips? Como? Gracias.
icono en tooltips
Gustavo, Sí. si se puede. Vamos a elaborar un ejemplo que lo muestre.
iconos orden cabecera browse
aun SIN PROBAR : [code=fw:2149a47t]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> BRWSETINDICATORDESCENT <span style="color: #000000;">&#41;</span>   <span style="color: #B900B9;">// obrw:hWnd , nCol </span><br /><s...
iconos orden cabecera browse
El Gradiente no esta aun probado . Las otras funciones estan corregidas y FUNCIONANDO . POngo el codigo corregido : [code=fw:3qsd56k8]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> BRWSETINDICATORDESCENT <spa...
iconos orden cabecera browse
Manuel, Implementados los nuevos métodos para el próximo build, gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> En cuanto a la función ColorCreate(), tenemos ya una nRGBColor() que esta en printers.m, junto a otras más para obtener los valores de cada componente.
iconos orden cabecera browse
[quote="Antonio Linares":1yqma0wq]Manuel, En cuanto a la función ColorCreate(), tenemos ya una nRGBColor() que esta en printers.m, junto a otras más para obtener los valores de cada componente.[/quote:1yqma0wq] No las habia visto . Perfecto . Los parametros a pasar en nRGBcolor() numeran tambien de 0 a 255 o son deci...
iconos orden cabecera browse
Manuel, La que ya tenemos usa valores decimales. Igual deberiamos cambiarla para que use valores del 0 al 255, como tu has hecho en tu función. De momento solo se ha usado en la impresión. Revisa el nuevo ejemplo TestPrn2.prg
iconos orden cabecera browse
Estimado al compilar testprn2 y testprn Me envia este msg duplicate symbol _HB_FUN_SETTEXTCOLOR in: ./../lib/libfivec.a(printers.o) ./../lib/libfivec.a(says.o) ld: 1 duplicate symbol for architecture x86_64 collect2: ld returned 1 exit status done! ./build.sh: line 71: ./testprn.app/Contents/MacOS/testprn: No...
iconos orden cabecera browse
It is fixed in the most recent FiveMac <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
iconos vs. XP
Amigos. Tengo una app en FW 2.1, los dialogos en W98 muestran los iconos de la barra del CAPTION perfectamente, en XP no se muestran, solo aparece un cuadradito. De que forma se puede resolver esto? Gracias.
iconos vs. XP
Gustavo, Puedes poner un ejemplo de como estás asignando el icono ? gracias
iconos vs. XP
Antonio, [code:1brk2hsf] local oI, oD define icon oI resource "MEGA" define dialog oD resource "PADRONES" title "Clientes - Padrón General" icon oI[/code:1brk2hsf]
iconos vs. XP
Antonio, [quote="Antonio Linares":1d5dmksx]Gustavo, Puedes poner un ejemplo de como estás asignando el icono ? gracias[/quote:1d5dmksx] Esta bien la forma de implementarlo?
icons and bmps
looking for free and royalty free bitmaps and icons. Any suggestions?
icons and bmps
Harvey, <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=118372#p118372">viewtopic.php?p=118372#p118372</a><!-- l --> <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=71603#p71603">viewtopic.php?p=71603#p71603</a><!-- l --> [url:2x...
icons and bmps
Thanks for your help.
idea for Fivetech
Antonio, Can you please look at <!-- m --><a class="postlink" href="https://github.com">https://github.com</a><!-- m -->? Maybe users could help to improve FWH!!. Thanks.
identify Type of DBF
hi, does Fivewinhave a Function to identify Type of DBF <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> i mean Header of DBF [code=fw:2igdxjbw]<div class="fw" id="{CB}" style="font-family: monospace;">   nHandle := FOPEN<span style="color: #000000;">&#40;</span> ...
identify Type of DBF
Sorry Jimmy, I honestly didn't understand your question. Are you referring to this? Explain better, please. [url:3gibt7w8]https&#58;//vivaclipper&#46;wordpress&#46;com/2013/07/17/c5_rddsetdefault/[/url:3gibt7w8] [url:3gibt7w8]https&#58;//vivaclipper&#46;wordpress&#46;com/2013/07/25/clipper-5-x-drivers-guide/[/url:3gi...
identify Type of DBF
hi, [quote="karinha":24pxcwz4]didn't understand your question. Are you referring to this? Explain better, please.[/quote:24pxcwz4] i often get DBF which e.g. "Original" DBU can´t open as it have only NTX RDD as default now i want to "identify" Type of DBF using 1st Byte of DBF Header my Question is : does Fivewin alre...
identify Type of DBF
Dear Jimmy, As far as I remember FWH does not provide such function. I guess Harbour should be the one to provide it, maybe it has it...
identify Type of DBF
As far as (x)Harbour is concerned, we need to decide whether to open VIA "DBFNTX" or "DBFCDX". In our functions we use this logic internally, when we open DBF internally: [code=fw:1oazeu8e]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">if</span> File<span style="color: #000000...
identify Type of DBF
hi, you talk about "rights" DBF e.g. create by Fivewin i do have DBF Files, made by Xbase++, which might be "mis-configured" DBE ( = RDD ) i also had DBF Files which just have ".DBF" Extension but are Fake, so i also use XbrHexEdit() so my "DualGrid" Tool is not a "normal" App , i want to made a "Swiss Knife" to us...
if ... in ...
Hola.Existe algo asi?[code:s92uolwg]if lastkey in &#91; VK_RETURN, VK_&#46;&#46;&#46; &#93; then msginfo&#40;"paso de campo"&#41; endif[/code:s92uolwg]No se si me explique lo que quiero hacer?Gracias.
if ... in ...
[code:17xzb58t] LOCAL nKey Do Case Case nKey == VK_RETURN &#46;OR&#46; GetKeyState&#40; VK_ESCAPE &#41; &#46;&#46;&#46; Mensagem &#46;&#46;&#46; EndCase [/code:17xzb58t]
if ... in ...
Karhina, Queria trabajar similar a cuando lo haces utilizando conjuntos en C, Gracias de todos modos.ç[quote="karinha":3vbi2jhn][code:3vbi2jhn] LOCAL nKey Do Case Case nKey == VK_RETURN &#46;OR&#46; GetKeyState&#40; VK_ESCAPE &#41; &#46;&#46;&#46; Mensagem &#46;&#46;&#46; EndCase [/cod...
if ... in ...
[quote="goosfancito":1ig5xkfr]Hola. Existe algo asi? [code:1ig5xkfr]if lastkey in &#91; VK_RETURN, VK_&#46;&#46;&#46; &#93; then msginfo&#40;"paso de campo"&#41; endif[/code:1ig5xkfr] No se si me explique lo que quiero hacer? Gracias.[/quote:1ig5xkfr] Hola, prueba asi: [code:1ig5xkfr]if ASCAN&#40; lastkey, &...
if ... in ...
Andubo. gracias. Cambiando a ) == 0[quote="pymsoft":wq9m30wn][quote="goosfancito":wq9m30wn]Hola. Existe algo asi? [code:wq9m30wn]if lastkey in &#91; VK_RETURN, VK_&#46;&#46;&#46; &#93; then msginfo&#40;"paso de campo"&#41; endif[/code:wq9m30wn] No se si me explique lo que quiero hacer? Gracias.[/quote:wq9m30wn] ...
if ... in ...
bien <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
if ... in ...
Hola Goos[quote="goosfancito":30pcxmju] Existe algo asi? [/quote:30pcxmju]En xHarbour existe. Te recomiendo registrarte en <!-- w --><a class="postlink" href="http://www.xHarbour.com">www.xHarbour.com</a><!-- w -->, que es gratis, y podes acceder a los manuales online. En particular sobre el operador IN pone:<!-- m -->...
if ... in ...
JE! exacto compañero.-Gracias.[quote="Carlos Mora":1kvvagux]Hola Goos [quote="goosfancito":1kvvagux] Existe algo asi? [/quote:1kvvagux] En xHarbour existe. Te recomiendo registrarte en <!-- w --><a class="postlink" href="http://www.xHarbour.com">www.xHarbour.com</a><!-- w -->, que es gratis, y podes acceder a los manu...
if Saldo=0
Me esta pasando algo muy extraño. tengo el siguiente codigo: saldo:=traesaldo() if Saldo=0 <- Esta condicion a veces la respeta y a veces no, y saldo si trae de valor Cero !!! skip loop endif functio traesaldo() sal:=0 sal:= suma resta cargos-abonos de una base de datos return(sal)
if Saldo=0
Me parece que probablemente sea un tema de decimales. Por que no haces asi: saldo := Round( traesaldo(), 2 ) if Empty( Saldo ) skip loop endif Saludos!
if Saldo=0
gracias Alejandro!! lo voy a probar!! Saludos desde Delicias,Chihuahua,Mexico.
ilink32
Hola amigos: Soy nuevo con fwh + harbour y no consigo realizar un ejecutable todavia, mi problema es porque no se que instrucciones debe llevar el archivo para linkar, yo con fw + clipper realizaba la siguiente instruccion desde un bat: blinker @cyewin.lnk y el archivo cyewin.lnk tenia lo siguiente: BLINKER CLIPPE...
ilink32
FWH proporciona el fichero buildh.bat y buildx.bat en el directorio samples en donde se muestra claramente como construir un EXE con harbour ó xharbour, usando ilink32
illegal copy protection
hi, I'd like to protect my app.exe builded by FWH from illegal copy. is there any FWH function? have I to use others 3rd part program? how do you protect your pgm? thank you.
illegal copy protection
Damiano, You identify the netcard id of the computer where you are going to install it: ? GetNetCardID()[ 1 ] then you modify your PRG this way: if GetNetCardID()[ 1 ] != "THE_NETCARDID_OF_THE_PC" // use here the value you got above MsgStop( "not authorized installation" ) quit endif
illegal copy protection
thank you Antonio, my customers download pgm from www site and I'd like to send them the key that works only on that pc.
illegal copy protection
the key that works only on that pc is the value of GetNetCardID()[ 1 ]
illegal copy protection
damianodec Contactame rguardadof gmail dot com nota: non parlo italiano
illegal copy protection
I don't want to deal with hardware ties because people get new computers and then I have to give them new ID's. Also, I provide my program as networkable and don't charge extra per workstation. My clients print invoices and other data for their clients, so their name, address, and phone appear on that document. I us...
illegal copy protection
Timm, Please can you share how you do the upgrade? Antivirus usually block this kind of actions. Thank you very much.
illegal copy protection
I have a small program that runs on their server ( or primary ) computer. It cycles every 3 hours. It reaches out to my server and downloads a "data" file that tells it if there are any updates, and also includes a very compressed file of their license data. In addition, after midnight, it runs a backup and a series...
illegal copy protection
Thank you very much Tim. Please could you share the function you use to download the files over the internet?
illegal copy protection
Moises, Sorry for the delay ... I run Win 10 using Parallels on an iMac and once again it has "gone down" due to an error ... and it takes the system days to fix itself. I'll give the example when I get access again. Tim
illegal types 'unsigned char *'
when I create clpwks.lib I got error Type: C >>>xcc.exe -Fo"BITS.obj" -Ot -I"r:\include" -I"R:\include" -I"R:\c_include" -I"R:\c_include\win" -I"R:\c_include\msvc" "BITS.C"<<< BITS.C(27): error: Operands of = have illegal types 'unsigned char *' and 'const char *'. BITS.C(181): error: Operands of = have ille...
image on menu RESOLVED
[img:2uslywrv]https&#58;//i&#46;postimg&#46;cc/zfPnq3fF/Immagine&#46;jpg[/img:2uslywrv] it's possible with current menu class ?
image on menu RESOLVED
[quote="Silvio.Falconi":1vsrri30][img:1vsrri30]https&#58;//i&#46;postimg&#46;cc/zfPnq3fF/Immagine&#46;jpg[/img:1vsrri30] it's possible with current menu class ?[/quote:1vsrri30] Si Trata fwh\samples\menuclr
image on menu RESOLVED
I can see color bar but not vertical image sample: [img:39vmigfd]https&#58;//i&#46;postimg&#46;cc/mgGgv4Np/MEDICAL&#46;png[/img:39vmigfd]
image on menu RESOLVED
Yes, it's possible Look and search sample <!-- m --><a class="postlink" href="http://wiki.fivetechsoft.com/doku.php?id=fivewin_menu_descolgante">http://wiki.fivetechsoft.com/doku.php?i ... escolgante</a><!-- m -->
image on menu RESOLVED
[quote="Silvio.Falconi":273n5mxm]I can see color bar but not vertical image sample: [img:273n5mxm]https&#58;//i&#46;postimg&#46;cc/mgGgv4Np/MEDICAL&#46;png[/img:273n5mxm][/quote:273n5mxm] Silvio, Revisa esta parte [code=fw:273n5mxm]<div class="fw" id="{CB}" style="font-family: monospace;">      <span style="color: ...
image on menu RESOLVED
Compuin I have Menuclr.prg and I have this [code=fw:27tcuafs]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// Autor: &nbsp;Cristobal Navarro</span><br /><span style="color: #B900B9;">// Fecha: &nbsp;18/06/2015</span><br /><span style="color: #B900B9;">// Pruebas de Menus</spa...
image on menu RESOLVED
Silvio, Copy and paste this code. Is is more completed than the previous one. [code=fw:33tgpzyo]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /> <br /><span style="color: #B900B9;">//------------------------...
image on menu RESOLVED
I'm afraid I cannot make the style of Menu because I have 17.12 rel indeed I not found that files on fwh\bitmaps folder
image on menu RESOLVED
[quote="Silvio.Falconi":334wajgi]I'm afraid I cannot make the style of Menu because I have 17.12 rel indeed I not found that files on fwh\bitmaps folder[/quote:334wajgi] I did it with 17.02 rel Just replace the file for your own file, and it will work <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" tit...
image on menu RESOLVED
I tried but it is not the same ( of c5menu)
image on menu RESOLVED
[quote="Silvio.Falconi":jg4ljqxm]I tried but it is not the same ( of c5menu)[/quote:jg4ljqxm] Do you need c5menu.prg ?
image on menu RESOLVED
I have c5Menu, I had many c5 libs from many years [img:19cetw0o]https&#58;//i&#46;postimg&#46;cc/4xbtrcqh/lib-canalfive&#46;png[/img:19cetw0o] the c5Menu is not compatible with fwh ( I have the last c5Menu of Paco )
image on menu RESOLVED
May be we should ask Antonio or Cristobal if they can improved Fw menu to become like c5 menu
image on menu RESOLVED
you're dreaming
image on menu RESOLVED
Sample is mnu01.prg
image on menu RESOLVED
yes But I seems it is different from the picture I post the logomenu is on center instaed into picture the bitmap is on the left of menu
image on menu RESOLVED
Left image with this clause [code=fw:14ntav79]<div class="fw" id="{CB}" style="font-family: monospace;"><br />LOGOMENU <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\f</span>ivetechv.png"</span> ; &nbsp;<span style="color: #B900B9;">//identify.bmp" ; </span...
image on menu RESOLVED
I tried .. the image go on the center of submenu
image on menu RESOLVED
Put your definition of menu
image on menu RESOLVED
[quote="cnavarro":3pjqj749]Put your definition of menu[/quote:3pjqj749] Silvio, try this ways as Cristobal says It worked for me
image on menu RESOLVED
Cristobal, compuin [b:3hgr79k3]I see this [/b:3hgr79k3] [img:3hgr79k3]https&#58;//i&#46;postimg&#46;cc/XvrDT0kN/j&#46;png[/img:3hgr79k3] [b:3hgr79k3]the lock is on the left side of the sub-menu[/b:3hgr79k3]
image on menu RESOLVED
[quote="Silvio.Falconi":3g8cvyvw]Cristobal, compuin [b:3g8cvyvw]I see this [/b:3g8cvyvw] [img:3g8cvyvw]https&#58;//i&#46;postimg&#46;cc/XvrDT0kN/j&#46;png[/img:3g8cvyvw] [b:3g8cvyvw]the lock is on the left side of the sub-menu[/b:3g8cvyvw][/quote:3g8cvyvw] Silvio, may be this error is because of image size Try to ...
image on menu RESOLVED
[b:aqxgzs23]My test [/b:aqxgzs23] [img:aqxgzs23]https&#58;//i&#46;postimg&#46;cc/QNYSZzVH/KK&#46;png[/img:aqxgzs23] Perhaps there is an error ? the source ( is one test of c5) [code=fw:aqxgzs23]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="...
image on menu RESOLVED
Silvio, Your test is good. Did you try to see medidal.BMP size ??
image on menu RESOLVED
it the same of the post converte to bmp ( with infarview) return to menu if I insert before the first menuitem this lis line I see [img:35v9rqwz]https&#58;//i&#46;postimg&#46;cc/KjyyQYLg/strange&#46;jpg[/img:35v9rqwz] then I click on widow client with the mouse the menu "File" is moved to right as you ...
image on menu RESOLVED
Hello Cristobal Any adivse ? I think Silvio found something is not working ok with this menu Regards,
image on menu RESOLVED
compuin do you saw the mail ?
image on menu RESOLVED
[quote="Silvio.Falconi":aitpahg0]compuin do you saw the mail ?[/quote:aitpahg0] Silvio, Listo! Revisa tu email y dejame saber
image on menu RESOLVED
[quote="Compuin":3gw8b7eq][quote="Silvio.Falconi":3gw8b7eq]compuin do you saw the mail ?[/quote:3gw8b7eq] Silvio, Listo! Revisa tu email y dejame saber[/quote:3gw8b7eq] Debe quedar asi [code=fw:3gw8b7eq]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span s...
image on menu RESOLVED
Silvio [code=fw:2cyh6dj1]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp; oMenu:<span style="color: #000000;">oFont</span> &nbsp;:= oFont<br />&nbsp;</div>[/code:2cyh6dj1] Please, define font in command menu [code=fw:2cyh6dj1]<div class="fw" id="{CB}" style="font-family: monospace;"><br ...
image on menu RESOLVED
I made allways oMenu:oFont := oFont then on the menu only I insert 2010/2013/2015 it take the color if I add my colors it not run local nClrText := RGB( 99, 54, 128 ) local nClrTDisa := RGB( 197, 194, 184 ) local nClrPane := RGB( 245, 245, 245 ) local nClrSepar := RGB( 94...
image on menu RESOLVED
Have you tried the code I sent you by mail to correct yours?
image on menu RESOLVED
yes now it ok
image on menu RESOLVED
Bravo!
image size
Hi, all ! There is file 1.jpg How to know the size of the picture in this file ?
image size
[code=fw:3fdc3fzb]<div class="fw" id="{CB}" style="font-family: monospace;">? NBMPHEIGHT<span style="color: #000000;">&#40;</span> hBmp <span style="color: #000000;">&#41;</span><br />? NBMPWIDTH<span style="color: #000000;">&#40;</span> hBmp <span style="color: #000000;">&#41;</span></div>[/code:3fdc3fzb] EMG
image size
Thanks !
image trasparent
CAN I SET THE QUANTITY OF TRASPARENT OF A BITMAP I WANT SHOW ON A A DIALOG ?
image trasparent
See \Fwh\Samples\BmpAlpha.Prg Regards Anser
image trasparent
run only with alpha bitmap ?
image trasparent
[quote:350brew1][b:350brew1]The Alpha Channel[/b:350brew1] RGB colours are also called RGB channels. The reason for this is that there is an optional fourth channel a pixel can have, namely its alpha channel. The alpha channel ('A') is used to represent transparency. Not all digital images have transparency informati...