topic
stringlengths
1
63
text
stringlengths
1
577k
graficos estilos tortas.
Amigos Hace varios dias que no entro a las news por ello no respondi a tiempo esta liga. RMC.EXE lo hice por que tengo ejecutables en clipper y en diferentes versiones de FW que requieren graficas y usar RMCHART.dll exige estar en 32 bits y actualizado con las versiones mas recientes de FWH y XHARBOUR La idea es simple sus programas en clipper o FW deben crear un archivo de texto llamado RMC.TXT que sera leido por RMC.EXE que genera una ventana con la grafica y un menu para cambiar a los estilos del RMCHART.Adicionalmnete deben poner rmchart.dll en la misma carpeta del ejecutable. Solo esos 3 archivos y nada mas por que no usamos la version en ocx del rmchart que exige registro de sistema. Esos archivos estan un correo de yahoo que yo uso para enviar cosas a mis amigos Entren como si fuera su correo y descargen los archivos de ahi , busquen el mensaje que dice para los amigos del foro de fivetech Usuario : <!-- e --><a href="mailto:cps_envios@yahoo.es">cps_envios@yahoo.es</a><!-- e --> Clave : 020369 Aqui os dejo algunos ejemplos de como se crea RMC.txt RMC.TXT TYPECHART=SIMPLELINE CAPTION=Importaciones por Pais Origen ABRIL 2008 XMINVALUE=0 XMAXVALUE=500 XTICKCOUNT=5 XSUNIT= XSTEXT=Nº Despachos YLABEL=AR*BR*CA*CH*CN*CO*CZ*DE*ES*FR*GB*HU*IN*IS*IT*JP*KR*MX*MY*PR*SG*TH*TR*TW*US YSTEXT=Paises YTICKCOUNT=25 BARSERIES=2,22,1,9,403,4,15,34,9,5,4,1,18,1,12,12,50,4,3,1,1,2,2,4,68 Aqui os explico Tipo de Grafica inicial TYPECHART=SIMPLELINE Titulo de la Grafica CAPTION=Importaciones por Pais Origen ABRIL 2008 Valores del eje x XMINVALUE=0 XMAXVALUE=500 XTICKCOUNT=5 XSUNIT= XSTEXT=Nº Despachos Valores del eje Y YLABEL=AR*BR*CA*CH*CN*CO*CZ*DE*ES*FR*GB*HU*IN*IS*IT*JP*KR*MX*MY*PR*SG*TH*TR*TW*US YSTEXT=Paises YTICKCOUNT=25 Datos de la grafica BARSERIES=2,22,1,9,403,4,15,34,9,5,4,1,18,1,12,12,50,4,3,1,1,2,2,4,68 Por ejemplo asi seria su programa Func gpaisRM Local j,dplan:={},mplan:={},nombre:={},n,T:="",sLabels:="",k,cadbar:="" Local mes:="4"//LTRIM(STR(VAL(ZZZMES(_VG("GPAIS_1")) ))) local cmd,CMD_:="SELECT SEA"+XCOD()+".PAIS_ORIGE,TA141.DESCRI,DGA"+XCOD()+".FCHNUMER FROM SEA"+XCOD()+" LEFT JOIN DGA"+XCOD()+" ON SEA"+XCOD()+".NUME_ORDEN=DGA"+XCOD()+".NUME_ORDEN LEFT JOIN TA141 ON SEA"+XCOD()+".PAIS_ORIGE=TA141.CODIGO WHERE YEAR(DGA"+XCOD()+".FCHNUMER)="+_VG("A20_19")+" AND MONTH(DGA"+XCOD()+".FCHNUMER)="+mes+" AND SEA"+XCOD()+".CODI_REGI='10'" cmd_+=" ORDER BY SEA"+XCOD()+".PAIS_ORIGE" VZ2QUERY(@cmd,CMD_) For j=1 to cmd:nRowCount cmd:Goto(j);cmd:Load() IF (n:=ASCAN(mplan,cmd:FldGet(1)))=0 aadd(dplan,1 ) aadd(mplan,cmd:FldGet(1) ) aadd(nombre,subs(cmd:FldGet(2),1,15) ) sLabels+=cmd:FldGet(1)+"*" ELSE dplan[n]:=dplan[n]+1 ENDIF Next j sLabels:=subs(sLabels,1,len(sLabels)-1) For k=1 to len(dplan) if k=len(dplan) cadbar+=ltrim(str(dplan[k])) else cadbar+=ltrim(str(dplan[k]))+"," endif next k T+="TYPECHART=SIMPLEBAR"+H() T+="CAPTION=Importaciones por Pais Origen ABRIL "+ALLTRIM(_VG("A20_19"))+H() T+="XMINVALUE=0"+H() T+="XMAXVALUE=500"+H() T+="XTICKCOUNT=5"+H() T+="XSUNIT= "+H() T+="XSTEXT=Nº Despachos "+h() T+="YLABEL="+sLabels+H() T+="YSTEXT=Paises "+h() T+="YTICKCOUNT="+LTRIM(STR(len(dplan)))+H() T+="BARSERIES="+cadbar+H() MEMOWRIT("RMC.TXT",T) cmd:Close() winexec("RMC") retu .t. Function h retu(chr(13)+chr(10)) ***************************************************** T+="TYPECHART=SIMPLEBAR"+H() Otra cosa los valores del TYPE CHART que pueden variar para la grafica inicial son SIMPLEBAR PIE DONUT PYRAMID HORIZONTALBAR SIMPLELINE GROUPBAR BARSLINES y dentro con el menu pueden cambiar a todas esas graficas y se puede imprimir y copiar al portapapeles *************************************************************************************** *** MAS EJEMPLOS **************************************************************************************** /////////////// FUENTE DE LAS GRAFICAS DEL MATRICSOFT //////////////////// FUNC GRAFHM // COMPARATIVA ENTRE HOMBRE SY MUJERES POR OFERTA EDUCARTIVA SEPRADO POR CARRERA LOCAL cmd:="",oHom,oMuj,j,BARSERIES:="BARSERIES=",BARSERIES2:="BARSERIES2=",YLABEL:="YLABEL=",oCarr LOCAL TXT:="",MAXVALO:=0 cmd+="SELECT CARRERA FROM carreras ORDER BY COD_CAR" vz2Query(@oCarr,cmd ) For j=1 to oCarr:nRowCount oCarr:Goto(j);oCarr:Load() YLABEL+=alltrim(oCarr:FldGet(1))+if(j=oCarr:nRowCount,"","*") Next j cmd:="" cmd+="SELECT COUNT(*) FROM matricula " cmd+="LEFT JOIN alumnos ON alumnos.codigo=matricula.cod_alum " cmd+="WHERE PERIODO='"+PERIODO()+"' AND matricula.TIPO_CAR='"+SUBS(OFERTAEDUCATIVA(),1,2)+"' AND alumnos.SEXO='M' " cmd+="GROUP BY COD_CAR " //MSGGET(,,CMD) vz2Query(@oHom,cmd) //MSGALERT("Cuantros hombres hay "+ltrim(str(oHom:nRowCount))) For j=1 to oHom:nRowCount oHom:Goto(j);oHom:Load() IF VALTYPE(oHom:FldGet(1))="N" BARSERIES+=ltrim(str(oHom:FldGet(1)))+if(j=oHom:nRowCount,"",",") else BARSERIES+=oHom:FldGet(1)+if(j=oHom:nRowCount,"",",") ENDIF IF VAL(oHom:FldGet(1))>MAXVALO MAXVALO:=VAL(oHom:FldGet(1)) ENDIF Next j cmd:="" cmd+="SELECT COUNT(*) FROM matricula " cmd+="LEFT JOIN alumnos ON alumnos.codigo=matricula.cod_alum " cmd+="WHERE PERIODO='"+PERIODO()+"' AND matricula.TIPO_CAR='"+SUBS(OFERTAEDUCATIVA(),1,2)+"' AND alumnos.SEXO='F' " cmd+="GROUP BY COD_CAR " vz2Query(@oMuj,cmd) For j=1 to oMuj:nRowCount oMuj:Goto(j);oMuj:Load() IF VALTYPE(oMuj:FldGet(1))="N" BARSERIES2+=ltrim(str(oMuj:FldGet(1)))+if(j=oMuj:nRowCount,"",",") else BARSERIES2+=oMuj:FldGet(1)+if(j=oMuj:nRowCount,"",",") ENDIF IF VAL(oHom:FldGet(1))>MAXVALO MAXVALO:=VAL(oHom:FldGet(1)) ENDIF Next j //MSGALERT("Cuantas mujeres hay "+ltrim(str(oMuj:nRowCount)) ) //MSGALERT(MAXVALO,"MAXVALO "+VALTYPE(MAXVALO)) TXT+="TYPECHART=HORIZONTALBAR"+H() TXT+="CAPTION=Alumnos de "+OFERTAEDUCATIVA()+" "+PERIODO()+H() TXT+="XMINVALUE=0"+H() TXT+="XMAXVALUE="+LTRIM(STR(MAXVALO))+H() //200"+H() TXT+="XTICKCOUNT=10"+H() TXT+="XSUNIT="+H() TXT+="XSTEXT=Nº Alumnos"+H() TXT+=YLABEL+H() TXT+="YSTEXT=AÑOS DE ESTUDIOS"+h() TXT+="YTICKCOUNT="+ltrim(str( oCarr:nRowCount ))+H() TXT+=BARSERIES+h() TXT+=BARSERIES2+h() TXT+="LEGEND=Hombres*Mujeres"+h() MEMOWRIT("RMC.TXT",TXT) WINEXEC("RMC.exe") RETU .T. FUNC GRAFMR // COMPARATIVA MATRICULADO Y RETIRADOS LOCAL cmd:="",oMat,oAct,oRet,j,BARSERIES:="BARSERIES=",BARSERIES2:="BARSERIES2=",BARSERIES3:="BARSERIES3=",YLABEL:="YLABEL=",oCarr LOCAL TXT:="",MAXVALO:=0 cmd+="SELECT CARRERA FROM carreras ORDER BY COD_CAR" vz2Query(@oCarr,cmd ) For j=1 to oCarr:nRowCount oCarr:Goto(j);oCarr:Load() YLABEL+=alltrim(oCarr:FldGet(1))+if(j=oCarr:nRowCount,"","*") Next j cmd:="" cmd+="SELECT COUNT(*) FROM matricula " cmd+="WHERE PERIODO='"+PERIODO()+"' AND matricula.TIPO_CAR='"+SUBS(OFERTAEDUCATIVA(),1,2)+"' " cmd+="GROUP BY COD_CAR " //MSGGET(,,CMD) vz2Query(@oMat,cmd) //MSGALERT("Cuantros hombres hay "+ltrim(str(oHom:nRowCount))) For j=1 to oMat:nRowCount oMat:Goto(j);oMat:Load() IF VALTYPE(oMat:FldGet(1))="N" BARSERIES+=ltrim(str(oMat:FldGet(1)))+if(j=oMat:nRowCount,"",",") else BARSERIES+=oMat:FldGet(1)+if(j=oMat:nRowCount,"",",") ENDIF IF VAL(oMat:FldGet(1))>MAXVALO MAXVALO:=VAL(oMat:FldGet(1)) ENDIF Next j cmd:="" cmd+="SELECT COUNT(*) FROM matricula " cmd+="WHERE PERIODO='"+PERIODO()+"' AND matricula.TIPO_CAR='"+SUBS(OFERTAEDUCATIVA(),1,2)+"' AND matricula.BAJA='SI' " cmd+="GROUP BY COD_CAR " vz2Query(@oRet,cmd) For j=1 to oRet:nRowCount oRet:Goto(j);oRet:Load() IF VALTYPE(oRet:FldGet(1))="N" BARSERIES2+=ltrim(str(oRet:FldGet(1)))+if(j=oRet:nRowCount,"",",") else BARSERIES2+=oRet:FldGet(1)+if(j=oRet:nRowCount,"",",") ENDIF IF VAL(oRet:FldGet(1))>MAXVALO MAXVALO:=VAL(oRet:FldGet(1)) ENDIF Next j cmd:="" cmd+="SELECT COUNT(*) FROM matricula " cmd+="INNER JOIN asiscur on matricula.cod_alum=asiscur.cod_alum " cmd+="WHERE matricula.PERIODO='"+PERIODO()+"' AND matricula.TIPO_CAR='"+SUBS(OFERTAEDUCATIVA(),1,2)+"' " cmd+="GROUP BY matricula.COD_CAR " vz2Query(@oAct,cmd) For j=1 to oAct:nRowCount oAct:Goto(j);oAct:Load() IF VALTYPE(oAct:FldGet(1))="N" BARSERIES3+=ltrim(str(oAct:FldGet(1)))+if(j=oAct:nRowCount,"",",") else BARSERIES3+=oAct:FldGet(1)+if(j=oAct:nRowCount,"",",") ENDIF IF VAL(oAct:FldGet(1))>MAXVALO MAXVALO:=VAL(oAct:FldGet(1)) ENDIF Next j //MSGALERT("Cuantas mujeres hay "+ltrim(str(oMuj:nRowCount)) ) TXT+="TYPECHART=HORIZONTALBAR"+H() TXT+="CAPTION=Alumnos de "+OFERTAEDUCATIVA()+" "+PERIODO()+H() TXT+="XMINVALUE=0"+H() TXT+="XMAXVALUE="+ltrim(str(maxvalo))+H() TXT+="XTICKCOUNT=10"+H() TXT+="XSUNIT="+H() TXT+="XSTEXT=Nº Alumnos"+H() TXT+=YLABEL+H() TXT+="YSTEXT=AÑOS DE ESTUDIOS"+h() TXT+="YTICKCOUNT="+ltrim(str( oCarr:nRowCount ))+H() TXT+=BARSERIES+h() TXT+=BARSERIES2+h() TXT+=BARSERIES3+h() TXT+="LEGEND=Matriculados*Retirados*Activos"+h() MEMOWRIT("RMC.TXT",TXT) WINEXEC("RMC.exe") RETU .T. FUNC GRAFATF // COMPARATIVA ASISTENCUA TARDANZAS Y FALTAS LOCAL cmd:="",oMat,j,BARSERIES:="BARSERIES=",BARSERIES2:="BARSERIES2=",BARSERIES3:="BARSERIES3=",YLABEL:="YLABEL=",oCarr LOCAL TXT:="",MAXVALO:=0 cmd+="SELECT CARRERA FROM carreras ORDER BY COD_CAR" vz2Query(@oCarr,cmd ) For j=1 to oCarr:nRowCount oCarr:Goto(j);oCarr:Load() YLABEL+=alltrim(oCarr:FldGet(1))+if(j=oCarr:nRowCount,"","*") Next j cmd:="" cmd+="SELECT SUM(ASISTENCIA),SUM(TARDANZA),SUM(FALTAS) FROM asiscur " cmd+="WHERE asiscur.PERIODO='"+PERIODO()+"' AND asiscur.TIPO_CAR='"+SUBS(OFERTAEDUCATIVA(),1,2)+"' " cmd+="GROUP BY asiscur.COD_CAR " //MSGGET(,,CMD) vz2Query(@oMat,cmd) //MSGALERT("Cuantros hombres hay "+ltrim(str(oHom:nRowCount))) For j=1 to oMat:nRowCount oMat:Goto(j);oMat:Load() BARSERIES+=ltrim(str(oMat:FldGet(1)))+if(j=oMat:nRowCount,"",",") BARSERIES2+=ltrim(str(oMat:FldGet(2)))+if(j=oMat:nRowCount,"",",") BARSERIES3+=ltrim(str(oMat:FldGet(3)))+if(j=oMat:nRowCount,"",",") IF oMat:FldGet(1)>MAXVALO MAXVALO=oMat:FldGet(1) ENDIF IF oMat:FldGet(2)>MAXVALO MAXVALO=oMat:FldGet(2) ENDIF IF oMat:FldGet(3)>MAXVALO MAXVALO=oMat:FldGet(3) ENDIF Next j //MSGALERT("Cuantas mujeres hay "+ltrim(str(oMuj:nRowCount)) ) TXT+="TYPECHART=GROUPBAR"+H() TXT+="CAPTION=Alumnos de "+OFERTAEDUCATIVA()+" "+PERIODO()+H() TXT+="XMINVALUE=0"+H() TXT+="XMAXVALUE="+ltrim(str(maxvalo))+H() TXT+="XTICKCOUNT=10"+H() TXT+="XSUNIT="+H() TXT+="XSTEXT=Nº veces"+H() TXT+=YLABEL+H() TXT+="YSTEXT=AÑOS DE ESTUDIOS"+h() TXT+="YTICKCOUNT="+ltrim(str( oCarr:nRowCount ))+H() TXT+=BARSERIES+h() TXT+=BARSERIES2+h() TXT+=BARSERIES3+h() TXT+="LEGEND=Asistencias*Tardanzas*Faltas"+h() MEMOWRIT("RMC.TXT",TXT) WINEXEC("RMC.exe") RETU .T. /// FLUJOGRAMA DE PAGO DE PENSIONES EMITIDOS VZ COBRADOS FUNC GRAFFLUJO LOCAL TXT:="",J,CMD:="",o LOCAL YLABEL:="YLABEL=" LOCAL BARSERIES:="BARSERIES=",BARSERIES2:="BARSERIES2=",MAXVALO:=0 cmd+="SELECT MES,SUM(DEBE),SUM(HABER) FROM "+ASHIS2()+" " cmd+="WHERE PERIODO='"+PERIODO()+"' AND PAIS_ORIGE='"+SUBS(OFERTAEDUCATIVA(),1,2)+"' " cmd+="GROUP BY MES " //MSGGET(,,@CMD) vz2Query(@o,cmd ) For j=1 to o:nRowCount o:Goto(j);o:Load(j) YLABEL+=cccmes(VAL(o:FldGet(1)))+if(j=o:nRowCount,"","*") BARSERIES+=ltrim(str(o:FldGet(2)))+if(j=o:nRowCount,"",",") BARSERIES2+=ltrim(str(o:FldGet(3)))+if(j=o:nRowCount,"",",") if o:FldGet(2)>MAXVALO MAXVALO=o:FldGet(2) endif if o:FldGet(3)>MAXVALO MAXVALO=o:FldGet(3) endif Next j TXT+="TYPECHART=GROUPBAR"+H() TXT+="CAPTION=FLUJOGRAMA DE PAGO DE PENSIONES "+OFERTAEDUCATIVA()+" "+PERIODO()+H() TXT+="XMINVALUE=0"+H() TXT+="XMAXVALUE="+LTRIM(STR(MAXVALO))+H() TXT+="XTICKCOUNT=10"+H() TXT+="XSUNIT=S/."+H() TXT+="XSTEXT=Importes Emitidos"+H() TXT+="XSUNIT2=S/."+H() TXT+="XSTEXT2=Importes Cobrados"+H() TXT+=YLABEL+H() TXT+="YSTEXT=MESES"+h() TXT+="YTICKCOUNT="+ltrim(str(o:nRowCount))+H() TXT+=BARSERIES+h() TXT+=BARSERIES2+h() TXT+="LEGEND=Emitido*Cobrado"+h() MEMOWRIT("RMC.TXT",TXT) WINEXEC("RMC.exe") RETU .T. /// grafica del flujo de caja por fechas INGRESOS VZ GASYOS POR DIA Func grafrubro LOCAL TXT:="",J,CMD:="",o LOCAL YLABEL:="YLABEL=" LOCAL BARSERIES:="BARSERIES=",BARSERIES2:="BARSERIES2=",MAXVALO:=0 cmd+="SELECT fchnumer,sum(debe),sum(haber) FROM "+ashis2()+" " cmd+="WHERE CUENTA='"+CTA10()+"' AND (FCHNUMER>='"+DTOMY(_vg("RCRU_3"))+"' AND FCHNUMER<='"+DTOMY(_vg("RCRU_5"))+"' ) " cmd+="GROUP BY FCHNUMER" vz2Query(@o,cmd ) For j=1 to o:nRowCount o:Goto(j);o:Load(j) YLABEL+=dtoc(o:FldGet(1))+if(j=o:nRowCount,"","*") BARSERIES+=ltrim(str(o:FldGet(2)))+if(j=o:nRowCount,"",",") BARSERIES2+=ltrim(str(o:FldGet(3)))+if(j=o:nRowCount,"",",") IF o:FldGet(2)>MAXVALO MAXVALO:=o:FldGet(2) ENDIF IF o:FldGet(3)>MAXVALO MAXVALO:=o:FldGet(3) ENDIF Next j MSGALERT( MAXVALO,"MAXVALO") TXT+="TYPECHART=GROUPBAR"+H() TXT+="CAPTION=FLUJOGRAMA DE INGRESOS Y GASTOS POR DIA "+OFERTAEDUCATIVA()+" "+PERIODO()+H() TXT+="XMINVALUE=0"+H() TXT+="XMAXVALUE="+LTRIM(STR(MAXVALO))+H() TXT+="XTICKCOUNT=10"+H() TXT+="XSUNIT=S/."+H() TXT+="XSTEXT=Ingresos"+H() TXT+="XSUNIT2=S/."+H() TXT+="XSTEXT2=Salidas"+H() TXT+=YLABEL+H() TXT+="YSTEXT=DIAS"+h() TXT+="YTICKCOUNT="+ltrim(str(o:nRowCount))+H() TXT+=BARSERIES+h() TXT+=BARSERIES2+h() TXT+="LEGEND=Ingresos*Salidas"+h() MEMOWRIT("RMC.TXT",TXT) WINEXEC("RMC.exe") RETU .T. Espero les sea de utilidad Saludos
graficos estilos tortas.
Estimado Sr. Vladimir, [quote:xktoh3kg]RMCHART sin lugar a dudas la mejor opción Yo tengo un ejecutable que te saca la grafica en varios estilos a partir de un archivo de texto si te interesa dejame tu correo y te lo envio. [/quote:xktoh3kg] También estoy interesado en tener una copia del programa que usted ha dicho. Mi dirección de correo electrónico está <!-- e --><a href="mailto:anserkk@gmail.com">anserkk@gmail.com</a><!-- e --> Gracias Anser
graficos estilos tortas.
[quote="Vladimir Zorrilla":edvmdr72]RMCHART sin lugar a dudas la mejor opción Yo tengo un ejecutable que te saca la grafica en varios estilos a partir de un archivo de texto si te interesa dejame tu correo y te lo envio. Saludos[/quote:edvmdr72] Vladimir, parece muy interesante, me gustaría si pudiera enviármelo también a jmurugosa(arroba)gmail.com, o tal vez colocar un link aquí para que los interesados podamos bajarlo. Gracias desde ya.
graficos estilos tortas.
Vladimir: Me sumo a la solicitud. Mi correo es <!-- e --><a href="mailto:f.alegria.p@gmail.com">f.alegria.p@gmail.com</a><!-- e --> Gracias
graficos estilos tortas.
Vladimir el mio es: <!-- e --><a href="mailto:adhemarcuellar@hotmail.com">adhemarcuellar@hotmail.com</a><!-- e --> Se le agradece Mucho Saludos Adhemar
graficos estilos tortas.
Hola Vladimir Si no es molestia, te agradecere el envio a mi correo es <!-- e --><a href="mailto:lubin.am@speedy.com.pe">lubin.am@speedy.com.pe</a><!-- e --> , me parece interesante la alternativa que mencionas Lubin
great finding in print preview
Antonio, I tried your suggestion by commenting out the section you suggested. Unfortunately, I can't see any difference. What difference should we notice? Thanks.
great finding in print preview
Meanwhile I was testing some changes in Class TMetaFile (tmetafil.prg) I found that if I comment out this section of code, the print preview is incredibly much better! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> I do appreciate your tests and comments, thanks! [code=fw:2ilfrjpz]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> <span style="color: #0000ff;">Paint</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TMetaFile<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> nVStep, nHStep<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> ::<span style="color: #000000;">hMeta</span> == <span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> File<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">cCaption</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style="color: #000000;">hMeta</span> = GetEnhMetaFile<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">cCaption</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; elseif ! Empty<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">cCaption</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Alert<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Could not find the Metafile,"</span> + CRLF + <span style="color: #ff0000;">"please check your TEMP environment variable"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">endif</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> ::<span style="color: #000000;">hMeta</span> != <span style="color: #000000;">0</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; ::<span style="color: #000000;">Shadow</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; SetMapMode<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hDC</span>, MM_ANISOTROPIC <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">/*<br />&nbsp; &nbsp; &nbsp; &nbsp; SetWindowExt( ::hDC, 100, 100 )<br />&nbsp; &nbsp; &nbsp; &nbsp; if ::nVRatio == nil<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::SetCoors()<br />&nbsp; &nbsp; &nbsp; &nbsp; endif &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; SetViewportExt( ::hDC, 100 * ::nXZoom, 100 * ( ::nYZoom / 2 ) * ::nVRatio * ::Super:nWidth() / ::Super:nHeight() )<br />&nbsp; &nbsp; &nbsp; &nbsp; nHStep = ( ::Super:nWidth() * ( ::nXZoom - 1 ) ) / 9.8 <br />&nbsp; &nbsp; &nbsp; &nbsp; nVStep = ( ( ::Super:nWidth() * ::nXZoom * ::nVRatio ) - ::Super:nHeight() ) / 10.3<br />&nbsp; &nbsp; &nbsp; &nbsp; SetViewOrg( ::hDC, -::nXorig * nHStep, -::nYorig * nVStep )<br />&nbsp; &nbsp; &nbsp; &nbsp; */</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; PlayEnhMetaFile<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hDC</span>, ::<span style="color: #000000;">hMeta</span>, ::<span style="color: #000000;">hWnd</span>, .f. <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br />&nbsp;</div>[/code:2ilfrjpz]
great finding in print preview
perhaps I not understood ...what there is better? can you insert an image please
great finding in print preview
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=27349#p152142">viewtopic.php?f=6&t=27349#p152142</a><!-- l -->
great finding in print preview
Michel, Do your previews look like the Acrobat PDF previews ? We have to do more tests to find on what printer object instructions that makes a real difference. Here the improvement is outstanding, I will post some screenshots. Could you please post a screenshot to see how it looks there for you ? thanks
great finding in print preview
Antonio, Here is a screenshot without your change in the preview : [img:3rk6enx7]http&#58;//www&#46;ma-consult&#46;be/preview1&#46;jpg[/img:3rk6enx7] Here is a screenshot WITH your change in the preview : [img:3rk6enx7]http&#58;//www&#46;ma-consult&#46;be/preview2&#46;jpg[/img:3rk6enx7] I'm very sorry, but I can't see any difference. Your opinion?
great finding in print preview
Michel, for me it seems as you use bold in the first report. The 2nd is much clearer. Best regards, Otto
great finding in print preview
Michel, I don't know yet what printer actions may affect my proposed change, but here in some specific tests, there is a big difference. I will try to post some screenshots asap. I am doing more tests and I will report here my findings, thanks
great finding in print preview
hi Antonio the text is clearer, but the zoom does not work well bye
great finding in print preview
Mauri, Yes, thats what I am reviewing: the right way for zooming it <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
great music mixes online
Chillout: <!-- m --><a class="postlink" href="http://soundcloud.com/pablo-bolivar">http://soundcloud.com/pablo-bolivar</a><!-- m --> [url:1f9ptkkz]http&#58;//soundcloud&#46;com/pablo-bolivar/mind-groove-vol-9-galaxy[/url:1f9ptkkz] [img:1f9ptkkz]http&#58;//img156&#46;imageshack&#46;us/img156/7398/capturefzq&#46;jpg[/img:1f9ptkkz] [url:1f9ptkkz]http&#58;//soundcloud&#46;com/pablo-bolivar/mind-groove-8-frozen-futures[/url:1f9ptkkz] [img:1f9ptkkz]http&#58;//img245&#46;imageshack&#46;us/img245/3648/capturerls&#46;jpg[/img:1f9ptkkz]
grey buttons on button bar
I'm getting an inconsistant behavior on a button bar. When I disable certain buttons one of them will 'grey' meaning that its colors become muted while leaving the bitmap recognizable, but the other 2 disabled button turn dark gray obscuring obscuring the bitmap. What must I do to control the appearance of disabled buttons? Don P.S. Is there a way to post before and after screen caps here?
grey buttons on button bar
Don, I am guessing it is differences in the bitmaps. Try moving the bitmaps to different buttons and see if the behavior follows the bitmap. You can post pictures here by uploading them to a free picture hosting site like <!-- w --><a class="postlink" href="http://www.imageshack.com">www.imageshack.com</a><!-- w -->. The site will give you a link to the picture which you can then paste into your message here. Regards, James
grey buttons on button bar
James, You are probably correct about the bitmaps being the source of the problem. The 2 buttons you see to the left in the image below do not work properly. All other buttons seem to be working properly. Enabled: [url=http&#58;//img59&#46;imageshack&#46;us/i/ablebarcopy&#46;jpg/:1ugytxha][img:1ugytxha]http&#58;//img59&#46;imageshack&#46;us/img59/3569/ablebarcopy&#46;th&#46;jpg[/img:1ugytxha][/url:1ugytxha] Disabled: [url=http&#58;//img440&#46;imageshack&#46;us/i/disablebarcopy&#46;jpg/:1ugytxha][img:1ugytxha]http&#58;//img440&#46;imageshack&#46;us/img440/3886/disablebarcopy&#46;th&#46;jpg[/img:1ugytxha][/url:1ugytxha]
grid on rpreview
How I can create a grid sytem as Fast Report Grid on metafile of Rpreview ( when the metafile is on preview) Some can help me please ?
grid printing
Is it possible to print a grid on a simple way ? kind regards José
grid printing
José, Do you mean to print it on a window or dialog ? If so, then please try: oWnd:bPainted = { | hDC, cPS | DrawGrid( oWnd:hWnd, hDC, cPS, 5, 5 ) } There is an example of use in FWH\visual\design.prg
grid printing
No simply print on paper a grid with 5 x 5 rows/cols
grid printing
Please review FWH\samples\testprn2.prg
group marker group marker lines RESOLVED
[img:23yihhe8]https&#58;//i&#46;postimg&#46;cc/ZRFrqVhL/sde&#46;jpg[/img:23yihhe8] How can I go about drawing the thickest lines but only the marker lines for each group? ie only the lines marked with red arrows?
group marker group marker lines RESOLVED
I resolved with FOR i := 1 TO 1 oCol := :aCols[ i ] oCol:nColDividerStyle := LINESTYLE_BLACK NEXT FOR i := 6 TO 56 STEP 5 oCol := :aCols[ i ] oCol:nColDividerStyle := LINESTYLE_BLACK NEXT But I not Know if it's Right [img:31hm2eh8]https&#58;//i&#46;postimg&#46;cc/8PnXTLgf/mn&#46;png[/img:31hm2eh8]
group marker group marker lines RESOLVED
Dear Silvio, Will we win the lotto ? You are becoming a Master of it <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
group marker group marker lines RESOLVED
Is there a lottery in espana? tell me if I can make sone predictions, so you'll win sure I know that in spain there is the Primitiva which is a lottery with six numbers + a complementary, probably my functions also run for the primitive with small changes, but without an archive I cannot make statistics, I have found an archive from 1985 to 2014 in txt format, I don't know where to found the extractions up to the current date to make predictions, to calculate late numbers and other statistics.
group on oBrw:Report
I would like to group in the report but it doesn't work for me through a combobox the user selects the index oDbf:setorder(nGroup) oDbf:gotop() nGroup is a number aGroup := {nGroup} oBrw:Report( cTitle, , , ; { |oRep, oBrw| MySetUp( oRep, oBrw, oDbf ) }, aGroup ) [code=fw:31mtpald]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #00C800;">static</span> <span style="color: #00C800;">function</span> MySetUp<span style="color: #000000;">&#40;</span> oRep, oBrw, oDbf <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">local</span>  cFooter  := <span style="color: #ff0000;">"footer title"</span><br />   <span style="color: #00C800;">local</span>  cTitle1  := <span style="color: #ff0000;">"title row 1"</span><br />   <span style="color: #00C800;">local</span>  cTitle2  := <span style="color: #ff0000;">"title row 2"</span><br />   <span style="color: #00C800;">local</span> cLines   := cValToChar<span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">nLen</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" lines"</span><br /><br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oFont <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">'tahoma'</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">-9</span> <span style="color: #0000ff;">OF</span> oRep:<span style="color: #000000;">oDevice</span><br /><br />    oRep:<span style="color: #000000;">aFont</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>   := oFont<br /><br />    oRep:<span style="color: #000000;">nTitleUpLine</span> := RPT_SINGLELINE<br />    oRep:<span style="color: #000000;">nTitleDnLine</span> := RPT_SINGLELINE<br />    oRep:<span style="color: #000000;">nTotalLine</span>   := RPT_SINGLELINE<br /><br />    oRep:<span style="color: #000000;">oheader</span> := TrLine<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#123;</span>||cTitle1<span style="color: #000000;">&#125;</span>,<span style="color: #000000;">&#123;</span>||cTitle2<span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span>, oRep, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />    oRep:<span style="color: #000000;">oTitle</span> := TrLine<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#123;</span>|| cf<span style="color: #000000;">&#40;</span>date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"- Pagina  : "</span>+Str<span style="color: #000000;">&#40;</span>oRep:<span style="color: #000000;">nPage</span>,<span style="color: #000000;">3</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span>, oRep, <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span><br /><br />    AEval<span style="color: #000000;">&#40;</span> oRep:<span style="color: #000000;">aColumns</span>, <span style="color: #000000;">&#123;</span> | o | o:<span style="color: #000000;">lShadow</span> := ! o:<span style="color: #000000;">lShadow</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />    oRep:<span style="color: #000000;">bskip</span> := <span style="color: #000000;">&#123;</span> || <span style="color: #00C800;">IF</span><span style="color: #000000;">&#40;</span>oRep:<span style="color: #000000;">nCounter</span> % <span style="color: #000000;">2</span> =<span style="color: #000000;">0</span> , oRep:<span style="color: #000000;">lShadow</span> :=.F.,oRep:<span style="color: #000000;">lShadow</span> :=.T.<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br />    <br />      <span style="color: #00C800;">return</span>  <span style="color: #00C800;">nil</span><br /><br /> </div>[/code:31mtpald] I also want to eject the page and make pijama effect but not work [code=fw:31mtpald]<div class="fw" id="{CB}" style="font-family: monospace;">AEval<span style="color: #000000;">&#40;</span> oRep:<span style="color: #000000;">aColumns</span>, <span style="color: #000000;">&#123;</span> | o | o:<span style="color: #000000;">lShadow</span> := ! o:<span style="color: #000000;">lShadow</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />    oRep:<span style="color: #000000;">bskip</span> := <span style="color: #000000;">&#123;</span> || <span style="color: #00C800;">IF</span><span style="color: #000000;">&#40;</span>oRep:<span style="color: #000000;">nCounter</span> % <span style="color: #000000;">2</span> =<span style="color: #000000;">0</span> , oRep:<span style="color: #000000;">lShadow</span> :=.F.,oRep:<span style="color: #000000;">lShadow</span> :=.T.<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span></div>[/code:31mtpald] [b:31mtpald]on report give me this [/b:31mtpald] [img:31mtpald]https&#58;//i&#46;postimg&#46;cc/j204FFb5/ko&#46;png[/img:31mtpald] it looks like it does the group but then it doesn't, it looks like it's not indexed but actually i index the odbf file but maybe not the oBrw it gets the data from I tried to add on MySetUp() function also these lines but not work [code=fw:31mtpald]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">local</span> cAlias   := oBrw:<span style="color: #000000;">cAlias</span><br />&nbsp;<span style="color: #00C800;">IF</span> &nbsp; len<span style="color: #000000;">&#40;</span>aGroup<span style="color: #000000;">&#41;</span> > <span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">//group</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> lEject<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GROUP <span style="color: #0000ff;">ON</span> <span style="color: #ff0000;">"(cAlias)->"</span>+ltrim<span style="color: #000000;">&#40;</span>aGroup<span style="color: #000000;">&#91;</span>nGroup<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;HEADER aGroup<span style="color: #000000;">&#91;</span>nGroup<span style="color: #000000;">&#93;</span>+<span style="color: #ff0000;">" :"</span>+<span style="color: #ff0000;">"(cAlias)->"</span>+aGroup<span style="color: #000000;">&#91;</span>nGroup<span style="color: #000000;">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FOOTER space<span style="color: #000000;">&#40;</span><span style="color: #000000;">40</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"Total items "</span>+oRep:<span style="color: #000000;">aGroups</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cValue</span>+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">" ("</span>+ltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>oRep:<span style="color: #000000;">aGroups</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nCounter</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">")"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">FONT</span> <span style="color: #000000;">1</span> &nbsp; EJECT<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GROUP <span style="color: #0000ff;">ON</span> <span style="color: #ff0000;">"(cAlias)->"</span>+ltrim<span style="color: #000000;">&#40;</span>aGroup<span style="color: #000000;">&#91;</span>nGroup<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;HEADER aGroup<span style="color: #000000;">&#91;</span>nGroup<span style="color: #000000;">&#93;</span>+<span style="color: #ff0000;">" :"</span>+<span style="color: #ff0000;">"(cAlias)->"</span>+aGroup<span style="color: #000000;">&#91;</span>nGroup<span style="color: #000000;">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FOOTER space<span style="color: #000000;">&#40;</span><span style="color: #000000;">40</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"Total items "</span>+oRep:<span style="color: #000000;">aGroups</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cValue</span>+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">" ("</span>+ltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>oRep:<span style="color: #000000;">aGroups</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nCounter</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">")"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">FONT</span> <span style="color: #000000;">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Endif</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Endif</span><br /> </div>[/code:31mtpald] How resolve it ?
group on oBrw:Report
Any solution please?
gtgui.lib
Hi Antonio, I downloadeded the latest release and tried to build testprn2.prg; however I am getting an error stating gtgui.lib is missing. I checked the LIB folders for FWH and xHarbour (Oct2006) and it is misssing. Is the LIB required? If so, where can I download the file? Thank you,
gtgui.lib
Hi Antonio, Also, I am getting invalid OMF record for ACE32.LIB; where can I get the latest version? Thank you,
gtgui.lib
Antonio, I am also getting error linking testprn2.prg; I adding the coding at the top. // Sample showing how to manage the printer object #include "FiveWin.ch" #pragma BEGINDUMP #include "hbapi.h" #include "hbapiitm.h" PHB_SYMB hb_dynsymSymbol( PHB_DYNS pDynSym ) { return pDynSym->pSymbol; } #pragma ENDDUMP and I am getting the following error. Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error: Unresolved external '_hb_dynsymSymbol' referenced from C:\FWH\LIB\FIVEHC.LIB|HARBOURC Error: Unresolved external '_hb_objHasMessage' referenced from C:\FWH\LIB\FIVEHC.LIB|FFDLGPRC Error: Unresolved external '_HB_FUN___CLSCNTCLASSES' referenced from C:\FWH\LIB\FIVEHX.LIB|ERRSYSW
gtgui.lib
Antonio, Sorry, I downloaded xHarbour from FWH and it corrected the problems below. However, the page counter on print preview is not working. Thank you,
gtgui.lib
Darrell, Please test samples\TestPrn2.prg and check if it works fine, thanks.
gtgui.lib
Antonio, It does not work. I am sending an email to you with screen shots. Regards,
gtgui.lib
Darrell, Fixed. It was not working on non XP themed apps.
gtgui.lib
Hi Antonio, I am having a problem with :Refresh(); it initializes but does not refresh. cText := "1" oText:Refresh() ===> 1 cText := "2" oText:Refresh() ===> still shows 1 Regards,
gtgui.lib
Antonio, How to fix this bug? It's also occuring on Win98. Thanks -- xHB0.99.61 + FWH 2.8 Nov
gtgui.lib
Darrell, Please do it this way: [code:26d4rx5o] oText&#58;SetText&#40; "1" &#41; &#46;&#46;&#46; oText&#58;SetText&#40; "2" &#41; [/code:26d4rx5o]
gtgui.lib
Antonio, That worked. However, we have over 300 prg that have the otext:refresh() that worked before I installed the upgrade. Please let me know if there is a fix for otext:refresh(); othererwise we will have to waste time reprogramming all the prg. Thank you,
gtgui.lib
Darrell, Please remove this line from Class TSay: METHOD Refresh() INLINE If( ::bGet != nil, ::SetText( Eval( ::bGet ) ),) and try your app again, thanks
gtgui.lib
Darrell, Can't you just use a global replace? That should only take you a few seconds to fix 300 prgs. James
gtwin en verce
Hola a todos del foro Cuando trato de compilar y ejecutar un sistema con verce, este me pide el archivo gtwwin, dice que no lo encuentra... He visto en otros post que ya no se usa el gtwin, mas bien el gtgui. Uso fwh7.04, que puedo hacer para que no me pida el nombre de este archivo o modificar algo en el verce... Salu2 Francis
gtwin en verce
Renombra GTGUI.lib como GTWIN.lib
gtwin en verce
Ok Master Voy a intentarlo y reportare como resulta... Otra pregunta con fwh7.04 el xbrowse ya funciona del todo ok, como edicion por celdas, es que no tengo muchos ejemplos sobre este tema. Gracias Salu2 Francis
gtwin en verce
Francis, Funciona bastante mejor, aunque la versión más completa es la que se incluye en FWH 7.07
gtwin.lib missing
Hi everybody, I am getting an error during compile. ..... gtwin.lib file missing. I am not getting such file in appropriate path. Could any one tell me where is it available? Arindam
gtwin.lib missing
Arindam, in June 2006 Build : * New: IMPORTANT: Due to recent changes in Harbour and xHarbour, GTGUI.LIB must be linked instead of GTWIN.LIB. Regards,
gtwin.lib missing
Thanks for your information. After doing the necessary changes in .mak file the followin errors are generating from different .lib. Please let me know what more replacement required during compilation. rtl.lib(math.obj) : warning LNK4006: __matherr already defined in LIBC.lib(matherr.obj); second definition ignored rtl.lib(math.obj) : warning LNK4006: __matherr already defined in LIBC.lib(matherr.obj); second definition ignored Creating library test.lib and object test.exp FiveHM.lib(REBAR.obj) : error LNK2001: unresolved external symbol _hb_vmProcessSymbolsEx FiveHM.lib(TGET.obj) : error LNK2001: unresolved external symbol _hb_vmProcessSymbolsEx FiveHM.lib(RPREVIEW.obj) : error LNK2001: unresolved external symbol _hb_vmProcessSymbolsEx FiveHM.lib(COMBOBOX.obj) : error LNK2001: unresolved external symbol _hb_vmProcessSymbolsEx FiveHM.lib(TOOLBAR.obj) : error LNK2001: unresolved external symbol _hb_vmProcessSymbolsEx FiveHM.lib(listbox.obj) : error LNK2001: unresolved external symbol _hb_vmProcessSymbolsEx FiveHM.lib(DIALOG.obj) : error LNK2001: unresolved external symbol _hb_vmProcessSymbolsEx FiveHM.lib(FILENAME.obj) : error LNK2001: unresolved external symbol _hb_vmProcessSymbolsEx FiveHM.lib(MGET.obj) : error LNK2001: unresolved external symbol _hb_vmProcessSymbolsEx rtl.lib(regex.obj) : error LNK2001: unresolved external symbol _regcomp rtl.lib(regex.obj) : error LNK2001: unresolved external symbol _regfree rtl.lib(regex.obj) : error LNK2001: unresolved external symbol _regexec rtl.lib(regex.obj) : error LNK2001: unresolved external symbol _pcre_free test.exe : fatal error LNK1120: 5 unresolved externals Thanks and regards. Arindam
gtwin.lib missing
Hi Arindam, what is your version of FWH ? Version of [x]Harbour ? Best regards.
gtwin.lib missing
Hi Baxajaum! My FWH version is 2.7 and xHarbour version is xHarbour Builder Prof. for window-March 06 Arindam
gtwin.lib missing
Arindam, You need an upgraded xharbour builder. Please contact xharbour.com
gtwin.lib missing
Hi Antonio, Now I am using xHarbour last release Aug, 06-RC8 and FWH ver 2.7. While testing msmake setup (i.e. ..\Fwh\makes\msmake) to compile multiple .prg under a project, the following error codes are generating. rtl.lib(math.obj) : warning LNK4006: __matherr already defined in LIBC.lib(matherr.obj); second definition ignored rtl.lib(math.obj) : warning LNK4006: __matherr already defined in LIBC.lib(matherr.obj); second definition ignored Creating library test.lib and object test.exp rtl.lib(regex.obj) : error LNK2001: unresolved external symbol _regcomp rtl.lib(regex.obj) : error LNK2001: unresolved external symbol _regfree rtl.lib(regex.obj) : error LNK2001: unresolved external symbol _regexec rtl.lib(regex.obj) : error LNK2001: unresolved external symbol _pcre_free test.exe : fatal error LNK1120: 4 unresolved externals While Compiling single .prg from ..\Samples\.... .prg, there is no problem and generating exe and testing smoothly. Can you tell me, what the problem is actually and provide me solution for the same? Arindam
guardar y recuperar bmps en un campo memo
Hola, Por favor, ¿es posible guardar y recuperar bmps en un campo memo?. Muchas gracias.
guardar y recuperar bmps en un campo memo
mgsoft Yo hago asi: [code=fw:1dbt28z2]<div class="fw" id="{CB}" style="font-family: monospace;"><br />cImagen:=<span style="color: #ff0000;">"IMAGEN.BMP"</span> &nbsp;<span style="color: #B900B9;">//Se puede .JPG .PNG</span><br />BLOBImport<span style="color: #000000;">&#40;</span> FieldPos<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"CampoMemo"</span> <span style="color: #000000;">&#41;</span>,cImagen <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">//Graba</span><br /><br />oImagen:<span style="color: #000000;">LoadFromMemory</span><span style="color: #000000;">&#40;</span> CampoMemo <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">//Lee</span><br /><br />&nbsp;</div>[/code:1dbt28z2] Saludos, Adhemar
guardar y recuperar bmps en un campo memo
Muchas gracias ¿Y donde esta por favor la función blog import?
guardar y recuperar bmps en un campo memo
Eduardo. Compilo con FWH 11.06 y xHarbour 1.2.1 Rev 9445 y funciona. Saludos, Adhemar
guardar y recuperar bmps en un campo memo
Muchas gracias, funciona perfecto. Desconocía estas funciones nuevas de Harbour y xHarbour. Aquí dejo un sample: [code=fw:2fgpunzs]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"blob.ch"</span><br /><br /><span style="color: #00C800;">function</span> main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><br /><span style="color: #00C800;">local</span> aStru := <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#123;</span><span style="color: #ff0000;">"CODIGO"</span>, <span style="color: #ff0000;">"C"</span>, <span style="color: #000000;">6</span>, <span style="color: #000000;">0</span><span style="color: #000000;">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><span style="color: #ff0000;">"FOTO"</span>, <span style="color: #ff0000;">"M"</span>, <span style="color: #000000;">10</span>, <span style="color: #000000;">0</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#125;</span><br /><br /><span style="color: #00C800;">local</span> cOrigen := <span style="color: #ff0000;">"TEST-OLD.BMP"</span><br /><span style="color: #00C800;">local</span> cSalida := <span style="color: #ff0000;">"SALIDA.BMP"</span><br /><br /><br />REQUEST DBFCDX, DBFFPT<br /><br />RDDSETDEFAULT<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"DBFCDX"</span><span style="color: #000000;">&#41;</span><br /><br /><br /><br /><br />dbcreate<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"FOTOS"</span>, aStru<span style="color: #000000;">&#41;</span><br /><br /><br />USE FOTOS <span style="color: #00C800;">NEW</span><br /><span style="color: #B900B9;">// Para salvar teste.bmp no dbf</span><br />append blank<br />replace codigo with <span style="color: #ff0000;">"000001"</span><br /><br /><span style="color: #00C800;">if</span> ! BLOBImport<span style="color: #000000;">&#40;</span> FieldPos<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"FOTO"</span> <span style="color: #000000;">&#41;</span>, cOrigen <span style="color: #000000;">&#41;</span><br />?<span style="color: #ff0000;">"error"</span> &nbsp;<br />&nbsp;<span style="color: #00C800;">return</span> <span style="color: #00C800;">Nil</span><br /><span style="color: #00C800;">endif</span><br /><br /><br /><br /><br /><span style="color: #B900B9;">// Para recuperar a foto como Temp.bmp</span><br />ferase<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Temp.bmp"</span><span style="color: #000000;">&#41;</span><br /><span style="color: #B900B9;">//dbseek(........)</span><br /><span style="color: #00C800;">if</span> ! BLOBExport<span style="color: #000000;">&#40;</span> FieldPos<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"FOTO"</span><span style="color: #000000;">&#41;</span>, cSalida, BLOB_EXPORT_OVERWRITE <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;?<span style="color: #ff0000;">"error"</span> &nbsp;<br /><span style="color: #00C800;">endif</span><br /><br /><br /><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br />&nbsp;</div>[/code:2fgpunzs]
guardar y recuperar bmps en un campo memo
Eduardo, suponiendo que tienes un control Image "oFoto" definido en tu dialogo, puedes probar el cargar la imagen sin pasar por disco, yo lo hago pero uso tablas ADT, pero no esta demas que lo intentes [code=fw:jz0ryry2]<div class="fw" id="{CB}" style="font-family: monospace;">oFoto:<span style="color: #000000;">LoadFromMemory</span><span style="color: #000000;">&#40;</span> tabla -> foto <span style="color: #000000;">&#41;</span></div>[/code:jz0ryry2] nos comentas como te va saludos Marcelo
guidelines for Metro style apps
[url:3bv09zlv]http&#58;//msdn&#46;microsoft&#46;com/en-us/windows/apps[/url:3bv09zlv]
guidelines for Metro style apps
[url:lkx6ebmj]http&#58;//msdn&#46;microsoft&#46;com/en-us/library/windows/apps/hh465424&#46;aspx[/url:lkx6ebmj] [quote:lkx6ebmj] Controls Design your app's UI to showcase the content. •App bar: Place your app's commands in the app bar so users know where to look for them. See Guidelines for app bars. •Navigation: See Navigation design patterns. •FlipView: See Guidelines for FlipView controls. •SemanticZoom: See Guidelines for SemanticZoom controls. •Text boxes: See Guidelines for text input. •Spell checking: See Guidelines for spell checking. •Thumbnails: See Guidelines for thumbnails. •Flyouts: See Guidelines for Flyouts. •Message dialogs: See Guidelines for message dialogs. •Context menus: See Guidelines for context menus. •Tooltips: See Guidelines for tooltips. •Buttons: See Guidelines for buttons. •TimePickers: See Guidelines for TimePickers. •DatePickers: See Guidelines for DatePickers. •Check boxes: See Guidelines for check boxes. •Radio buttons: See Guidelines for radio buttons. •Select control: See Guidelines for the Select control. •Sliders: See Guidelines for sliders. •Toggle switches: See Guidelines for toggle switches. •Rating controls: See Guidelines for rating controls. •Progress controls: See Guidelines for progress controls. [/quote:lkx6ebmj]
hDC y pintado [SOLUCIONADO]
Hola, Estoy con el TSBrowse intentando pintarle un triangulito en cada celda del grid. Resulta que si a la funcion que dibuja el polygono no le paso un nuevo hDC con GetDC(::hWnd), no pinta el triangulito. Por otra parte, parece que también se produce fuga de recursos al pintar los triangulitos, como si recursos de los triangulitos restaurados. Básicamente el trianguilito lo pinto asi: [code=fw:35amm0p9]<div class="fw" id="{CB}" style="font-family: monospace;"><br />vsolid:= <span style="color: #000000;">&#123;</span>;<br />          <span style="color: #000000;">&#123;</span>nLeftIni, nBottomIni        <span style="color: #000000;">&#125;</span>,;<br />          <span style="color: #000000;">&#123;</span>nLeftIni, nBottomIni- nAlto <span style="color: #000000;">&#125;</span>,;<br />          <span style="color: #000000;">&#123;</span>nLeftIni+ nAncho, nBottomIni<span style="color: #000000;">&#125;</span> ;<br />         <span style="color: #000000;">&#125;</span><br /><br />hPen1 := CreatePen<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> , <span style="color: #000000;">1</span>, nColorNuevo <span style="color: #000000;">&#41;</span><br />hBrush1  := CreateSolidBrush<span style="color: #000000;">&#40;</span> nColorNuevo <span style="color: #000000;">&#41;</span><br /><br />hOldBrush := SelectObject<span style="color: #000000;">&#40;</span> hDC, hBrush1 <span style="color: #000000;">&#41;</span><br />hOldPen := SelectObject<span style="color: #000000;">&#40;</span> hDC, hPen1 <span style="color: #000000;">&#41;</span><br />polypolygon<span style="color: #000000;">&#40;</span> hDC, vsolid <span style="color: #000000;">&#41;</span><br /><br />DeleteObject<span style="color: #000000;">&#40;</span>hBrush1<span style="color: #000000;">&#41;</span><br />DeleteObject<span style="color: #000000;">&#40;</span>hPen1<span style="color: #000000;">&#41;</span>      <br /><br /> </div>[/code:35amm0p9] La pregunta es: ¿ por qué si no genero un hDC cada vez que llamo a la funcion de pintado del triangulito, este no se pinta ? Gracias.
hDC y pintado [SOLUCIONADO]
He conseguido que funcione CASI bien, Se pintan los triangulos SALVOOOOO cuando paso una ventana / programa por encima del browse: ahi se borran los pu/eteros triangulitos. Le he echado de horas a esto (7 min), que más barato me hubiera salido contratar a alguien que domine el C. Llegado este punto no sé si cortarme las venas o abrirme en canal... <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> [img:32pi5wng]http&#58;//subirimagen&#46;me/uploads/20161125061902&#46;png[/img:32pi5wng]
hacer el diálogo de error log más ancho que a veces no se l
A veces no se lee bien. Gracias.
hacer el diálogo de error log más ancho que a veces no se l
Elvira, Tienes razón, pero tambien por ese motivo ofrece un botón que lo muestra completo en el notepad. Usar un diálogo mucho mayor, ocultaría la pantalla del usuario que muchas veces es muy util para saber lo que esta haciendo. Si es solo ampliarlo un poco, no hay problema. Vosotros lo habeis modificado ?
hacer el diálogo de error log más ancho que a veces no se l
Antonio, Muchas gracias, si lo hemos modificado para hacerlo un pelín más ancho, nada más. Muy agradecida.
hacer el diálogo de error log más ancho que a veces no se l
Elvira, Que dimensiones le habeis puesto ?
hacer librería fivehx
Que tengo que compilar para hacer esta librería, hace como dos años la hice pero no me acuerdo que es lo que hay que incluir...Gracias
hacer librería fivehx
Use: HARB2LIB.EXESaludos.
hacer que un diálogo con folder vaya al primer get
Hola, ¿Es posible que en un diálogo con Folder vaya al primer GET de la pestaña 1?. Gracias.
hacer que un diálogo con folder vaya al primer get
ofld:nOption :=1 oDlg[1]:setfocus() <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
hacer que un diálogo con folder vaya al primer get
No funciona. Mi código es: REDEFINE FOLDER oFld ID 201 OF oDlg ; PROMPT "&Uno", "&Dos", "&Observaciones" ; DIALOGS "A1", "A2", "a3" // ----- GENERAL REDEFINE GET cCODIGO ID 99 OF oFld:aDialogs[ 1 ] Y probé con: ofld:nOption :=1 oFld:aDialogs[ 1 ]:setfocus() Tampoco
hacer que un diálogo con folder vaya al primer get
Lucas que version de fivewin usas?
hacer que un diálogo con folder vaya al primer get
Daniel, 11.08. Gracias.
hacer que un diálogo con folder vaya al primer get
Prueba [code=fw:1l8mxlo1]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">local</span> oGet<br />...<br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oGet <span style="color: #0000ff;">VAR</span> cCODIGO <span style="color: #0000ff;">ID</span> <span style="color: #000000;">99</span> <span style="color: #0000ff;">OF</span> oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span><br />...<br />...<br /><br />oFld:<span style="color: #000000;">SetOption</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br />oGet:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div>[/code:1l8mxlo1]
hacer que un diálogo con folder vaya al primer get
Daniel, Fïjate cómo tengo definidos los GET: [code=fw:ka6sq4ss]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> cCODIGO <span style="color: #0000ff;">ID</span> <span style="color: #000000;">99</span> <span style="color: #0000ff;">OF</span> oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span><br />&nbsp;</div>[/code:ka6sq4ss] Luego, no puedo hacer lo que me dices. ¿No hay forma de saber internamente cuál es el primer control de un folder tipo GET?. Cuando hago click en el 2 y luego vuelvo al 1, entonces sí que me salta en el primer get. Gracias
hacer que un diálogo con folder vaya al primer get
Lucas [quote="lucasdebeltran":1fx6t8su]¿No hay forma de saber internamente cuál es el primer control de un folder tipo GET?.[/quote:1fx6t8su] si [code=fw:1fx6t8su]<div class="fw" id="{CB}" style="font-family: monospace;">nGet = AScan<span style="color: #000000;">&#40;</span> oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aControls</span>, <span style="color: #000000;">&#123;</span>| oControl | oControl:<span style="color: #000000;">IsKindOf</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"TGET"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">if</span> nGet > <span style="color: #000000;">0</span><br />   oGet =  oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aConstrols</span><span style="color: #000000;">&#91;</span> nGet <span style="color: #000000;">&#93;</span> <br />   oGet:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">endif</span></div>[/code:1fx6t8su]
hacer que un diálogo con folder vaya al primer get
Muchas gracias Daniel. Funciona perfecto. Dejo el código con un ejemplo: [code=fw:3nbyraak]<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: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oDlg, oFld<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> cget := <span style="color: #ff0000;">"daniel gracias!! &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "</span><br /><br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"FiveWin Dynamic folders"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">5</span>, <span style="color: #000000;">5</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">20</span>, <span style="color: #000000;">49</span><br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">0.5</span>, <span style="color: #000000;">1</span> <span style="color: #0000ff;">FOLDER</span> oFld <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&xBase"</span>, <span style="color: #ff0000;">"&And OOP"</span>, <span style="color: #ff0000;">"&Power"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">160</span>, <span style="color: #000000;">90</span><br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&Hello"</span> <span style="color: #0000ff;">OF</span> oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">ACTION</span> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Hello world!"</span> <span style="color: #000000;">&#41;</span><br /><br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">4</span>, <span style="color: #000000;">1</span> <span style="color: #0000ff;">get</span> &nbsp;cGet &nbsp;<span style="color: #0000ff;">OF</span> oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span><br /><br /><br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">5.5</span>, <span style="color: #000000;">11</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"Ok"</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">ACTION</span> oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span> ;<br />&nbsp; &nbsp;<span style="color: #0000ff;">on</span> <span style="color: #0000ff;">init</span> Foco<span style="color: #000000;">&#40;</span> oFld <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br />procedure AppSys <span style="color: #B900B9;">// Xbase++ requirement</span><br /><br /><span style="color: #00C800;">return</span><br /><br /><br /><br /><span style="color: #00C800;">function</span> foco<span style="color: #000000;">&#40;</span> oFld <span style="color: #000000;">&#41;</span><br /><br /><br /><span style="color: #00C800;">local</span> nGet, oGet<br /><br />nGet = AScan<span style="color: #000000;">&#40;</span> oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aControls</span>, <span style="color: #000000;">&#123;</span>| oControl | oControl:<span style="color: #000000;">IsKindOf</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"TGET"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">if</span> nGet > <span style="color: #000000;">0</span><br />&nbsp; &nbsp;oGet = &nbsp;oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> nGet <span style="color: #000000;">&#93;</span><br />&nbsp; &nbsp;oGet:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">endif</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:3nbyraak]
hacer que un diálogo con folder vaya al primer get
Lucas, Prueba asi tambien: ACTIVATE DIALOG oDlg ; ON INIT ( oFld:aDialogs[ 1 ]:setfocus(), .F. ) [url:21s5wxmd]http&#58;//msdn&#46;microsoft&#46;com/en-us/library/windows/desktop/ms645428(v=vs&#46;85)&#46;aspx[/url:21s5wxmd] [quote:21s5wxmd]The dialog box procedure should return TRUE to direct the system to set the keyboard focus to the control specified by wParam. Otherwise, it should return FALSE to prevent the system from setting the default keyboard focus[/quote:21s5wxmd] De ahi que retornemos .F. <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
hacer un ingrso
Un cordial saludo para todos en el foro. Antonio Dios bendiga cada paso que des en cada dia de tu vida.... Feliz 2007 Quisiera que me expliques como arreglo el .prg del tutor07 para hacer ingresos desde esa ventana al dbf, requiero hacerlo de esa manera y no como lo sugiere el tutor08, he intentado como lo hacia en clipper y he podido hacer el ingreso. Cordial saludo jairo E Barbosa
hacer un ingrso
Lo que te falta es un boton que realice: a) un APPEND BLANK, a continuacion b) reemplace en el registro nuevo las variables getnombre y getdireccion [quote="jaba":10w2g9jx]Un cordial saludo para todos en el foro. Antonio Dios bendiga cada paso que des en cada dia de tu vida.... Feliz 2007 Quisiera que me expliques como arreglo el .prg del tutor07 para hacer ingresos desde esa ventana al dbf, requiero hacerlo de esa manera y no como lo sugiere el tutor08, he intentado como lo hacia en clipper y he podido hacer el ingreso. Cordial saludo jairo E Barbosa[/quote:10w2g9jx]
harbour + twbrowse
Fazendo teste com o [b:2nnbbpbi]harbour[/b:2nnbbpbi] percebi que é mais rapido que o [b:2nnbbpbi]XHARBOUR[/b:2nnbbpbi]. Gostaria de saber se alguem possui a TWBROWSE E HBZIP para [b:2nnbbpbi]HARBOUR[/b:2nnbbpbi] ? -------------------------------------- Making test with [b:2nnbbpbi]harbour [/b:2nnbbpbi]I perceived that he is faster that the XHARBOUR. It would like to know if somebody possesss [b:2nnbbpbi]TWBROWSE[/b:2nnbbpbi] and HBZIP for [b:2nnbbpbi]HARBOUR[/b:2nnbbpbi]?
harbour + twbrowse
Luiz53: Aquí en Utilidades esta twBrowse para Harbour. HbZip no se si esta. Saludos Ruben Fernandez
harbour 1.1 rc and btnget
Hi, Anyone could use btnget with harbour 1.1 rc ? It' shows a run time error : Error occurred at: 2007.11.20, 18:40:44 Error description: Error BASE/1081 Argument error: + Args: [ 1] = U [ 2] = N 1 Stack Calls =========== Called from: => TBTNGET(0) makfile.bc: INCLUDE_DIR = \borland\bcc55\include;\harbour\include;d:\fw711\include;.\include BIN_DIR = \harbour\bin OBJ_DIR = \contrib\btnget\obj LIB_DIR = \contrib\btnget\lib $(LIB_DIR)\btnget.lib :\ $(OBJ_DIR)\btnget.obj \ $(OBJ_DIR)\btndown.obj \ $(OBJ_DIR)\fwcal.obj \ $(OBJ_DIR)\zoomlbx.obj \ $(OBJ_DIR)\getbtn.obj \ $(OBJ_DIR)\fwbmp.obj $(OBJ_DIR)\btnget.c : source\btnget.prg $(OBJ_DIR)\btnget.obj : $(OBJ_DIR)\btnget.c $(OBJ_DIR)\btndown.c : source\btndown.prg $(OBJ_DIR)\btndown.obj : $(OBJ_DIR)\btndown.c $(OBJ_DIR)\fwcal.c : source\fwcal.prg $(OBJ_DIR)\fwcal.obj : $(OBJ_DIR)\fwcal.c $(OBJ_DIR)\zoomlbx.c : source\zoomlbx.prg $(OBJ_DIR)\zoomlbx.obj : $(OBJ_DIR)\zoomlbx.c $(OBJ_DIR)\getbtn.obj : source\getbtn.c $(OBJ_DIR)\fwbmp.obj : source\fwbmp.c .c.obj: \borland\bcc55\bin\bcc32 $(CLIBFLAGS) -c -O2 -I$(INCLUDE_DIR) -DHB_OS_WIN_32_USED -o$@ $< \borland\bcc55\bin\tlib $(LIB_DIR)\btnget.lib -+$@,, .prg.c: $(BIN_DIR)\harbour.exe $< -q0 -es2 -gc0 -n -i$(INCLUDE_DIR) -o$@ Regards ! Shuming Wang
harbour 1.1 rc and btnget
Shuming, Please compile that class with line numbers info, so you may find the source code for the error: > Error description: Error BASE/1081 Argument error: + Args: [ 1] = U [ 2] = N 1 > It looks as a number (1) is tried to be added to a nil value
harbour 3.0 ceiling(101.2/2.53)==41 bug?
Hi, call Harbour 3.0 function ?ceiling(101.2/2.53) // 41 // Should be 40. Regards! Shuming Wang
harbour 3.0 ceiling(101.2/2.53)==41 bug?
I get the same result using this C sample: [code=fw:1ih781x9]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <stdio.h><br /><span style="color: #00D7D7;">#include</span> <math.h><br /><br /><br />int main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; printf<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"%lf<span style="color: #000000;">\n</span>"</span>, ceil<span style="color: #000000;">&#40;</span> <span style="color: #000000;">101.2</span> / <span style="color: #000000;">2.53</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; <span style="color: #00C800;">return</span> <span style="color: #000000;">0</span>;<br /><span style="color: #000000;">&#125;</span></div>[/code:1ih781x9] It's a well known problem with floating-point numbers. The result of the division is probably a little more than 40 (ie. 40.000000000001) so ceil() gives 41. You have to working around the problem using some sort of rounding. EMG
harbour 3.0 ceiling(101.2/2.53)==41 bug?
EMG, 2.53X40==101.20 MySQL select ceiling(101.2/2.53) // 40 Regards! Shuming Wang
harbour 3.0 ceiling(101.2/2.53)==41 bug?
Please read something about floating-point numbers. I repeat: it's a well known problem and no, it's not specific of a particular programming language. EMG
harbour 3.0 ready to download
Donwload harbour 3.0 redy to be used <!-- m --><a class="postlink" href="http://sourceforge.net/projects/harbour-project/">http://sourceforge.net/projects/harbour-project/</a><!-- m --> After more than 1.5 years of strong development and 3600 commits,stable Harbour 3.0.0 version has been tagged and source packages released. Harbour will be a true alternative to big players like Python, PHP and Ruby and maybe Java, C# even. Partecipate to download event at <!-- m --><a class="postlink" href="https://www.facebook.com/event.php?eid=120147401411693">https://www.facebook.com/event.php?eid=120147401411693</a><!-- m -->
harbour 3.0 ready to download
Massimo, It seems as Harbour 3.0 has several backwards compatibility problems, so meanwhile we don't test it in deep and find some solutions (i.e. Class TOleAuto is missing!), we don't recommend FWH users to happily upgrade to it. In the meantime we do recommend the Harbour and xHarbour builds that we have built ourselves and properly tested them: [url:3mnj9mfu]http&#58;//code&#46;google&#46;com/p/harbour-and-xharbour-builds/downloads/list[/url:3mnj9mfu]
harbour 3.0 ready to download
Antonio: en el Harbour que pone para bajar falta rddads.lib. Gracias. Gracias y saludos Ruben Fernandez
harbour 3.0 ready to download
Antonio Con Xharbour 1.2.1 Rev 9381 Da error en el rpreview al querer exportar a Doc o PDF Sales SISTEMA.EXE dejo de funcionar Gracias, Saludos Adhemar
harbour 3.0 ready to download
Amigos, Ya descubrí porque no exporta. La libreria RTL.LIB esta dañada. La reemplace con una anterior y funciona perfecto. Saludos, Adhemar
harbour 3.0 ready to download
Hello To use Fivewin with Harbour 3.0, can try link this lib (after fivewin lib) borland: [url:2xd6j0am]http&#58;//www&#46;danielgarciagil&#46;com/fivewin/files/legacy&#46;lib[/url:2xd6j0am]
harbour 3.0 ready to download
And for Microsoft VC 2010 ?
harbour 3.0 ready to download
Hello Tim coming soon... <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
harbour 3.0 ready to download
Hello Tim Already to MSVC msvc:[url:2pe7qbsn]http&#58;//www&#46;danielgarciagil&#46;com/fivewin/files/legacym&#46;lib[/url:2pe7qbsn]