topic
stringlengths
1
63
text
stringlengths
1
577k
emailing
FROM USER should either be a string or null. James
emailing
My bad, I was thinking you were passing the FROM clause. lFromUser is a flag to determine if you want the user to get a dialog box, and yes, it is supposed to be a logical as you have it. I don't know why passing .f. is generating an error. I may well be, as someone else suggested, that you need to install the upgraded xHarbour also. James
emailing
Tim, [quote:2vr3zvlx]I use the latest FWH. I also have Outlook ( Office 365 ) installed on Windows 10 and it works perfectly. Antonio has provided more recent builds of Harbour for download ( within the past few months ) so upgrading from a 6 year old version might be helpful.[/quote:2vr3zvlx] David's client is using an SMTP server with TLS security. Can you tell me, is this server automatically installed when you install Outlook (Office 365)? As I expect you know, FW's email system uses CDO which does not support TSL. James
emal valid
exist a function to check an email ?
emal valid
[code=fw:2dqqh7ad]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> aGet<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> XEMAILNOCONTA <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@K"</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">22</span> <span style="color: #0000ff;">OF</span> oDlgServ &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">FONT</span> oFnt <span style="color: #0000ff;">UPDATE</span> <span style="color: #0000ff;">COLOR</span> CLR_BLACK, CLR_WHITE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">VALID</span><span style="color: #000000;">&#40;</span> VALIDA_GET_EMAIL<span style="color: #000000;">&#40;</span> XEMAILNOCONTA, aGet <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">WHEN</span><span style="color: #000000;">&#40;</span> lConsulta <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">FUNCTION</span> VALIDA_GET_EMAIL<span style="color: #000000;">&#40;</span> cEMAILNOCONTA, aGet <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cContaUsuario, cNomeUsuario<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cRegEx := <span style="color: #ff0000;">"^[_a-z0-9-]+(<span style="color: #000000;">\.</span>[_a-z0-9-]+)*@[a-z0-9-]+(<span style="color: #000000;">\.</span>[a-z0-9-]+)*(<span style="color: #000000;">\.</span>[a-z]{2,4})$"</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> lIsValid := .F.<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">PUBLIC</span> cNomeUsuFinal<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> GETASYNCKEY<span style="color: #000000;">&#40;</span> VK_UP <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">RETURN</span><span style="color: #000000;">&#40;</span> .T. <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> EMPTY<span style="color: #000000;">&#40;</span> cEMAILNOCONTA <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// = a XEMAILNOCONTA</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"ATEN€ÇO USUµRIO: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"</span> <span style="color: #000000;">&#41;</span>+CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"DIGITE O NOME DA CONTA DE EMAIL. &nbsp; &nbsp;"</span> <span style="color: #000000;">&#41;</span>+CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Exemplo: <!-- e --><a href="mailto:.......@pleno.com.br">.......@pleno.com.br</a><!-- e --> &nbsp; &nbsp; &nbsp; "</span> <span style="color: #000000;">&#41;</span>, &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"EMAIL(Conta) NÇO INFORMADO. CUIDADO!"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">RETURN</span><span style="color: #000000;">&#40;</span> .F. <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> <span style="color: #000000;">&#40;</span> ALLTRIM<span style="color: #000000;">&#40;</span>LOWER<span style="color: #000000;">&#40;</span> cEMAILNOCONTA <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">LIKE</span> cRegEx <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; lIsValid := .T.<br />&nbsp; &nbsp;<span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"ATEN€ÇO USUµRIO: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"</span> <span style="color: #000000;">&#41;</span>+CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"DIGITE UM EMAIL VÇLIDO.. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"</span> <span style="color: #000000;">&#41;</span>+CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"ESTA CONTA DE EMAIL ESTµ ERRADA.. &nbsp; "</span> <span style="color: #000000;">&#41;</span>+CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Exemplo: <!-- e --><a href="mailto:.......@pleno.com.br">.......@pleno.com.br</a><!-- e --> &nbsp; &nbsp; &nbsp; "</span> <span style="color: #000000;">&#41;</span>+CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"VOCÒ DIGITOU: "</span> + ALLTRIM<span style="color: #000000;">&#40;</span> cEMAILNOCONTA <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"EMAIL(Conta) CONTENDO ERROS... VEJA!"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;cContaUsuario := LOWER<span style="color: #000000;">&#40;</span> cEMAILNOCONTA <span style="color: #000000;">&#41;</span><br />&nbsp;<br />&nbsp; &nbsp;cNomeUsuario := <span style="color: #0000ff;">Substr</span><span style="color: #000000;">&#40;</span> cContaUsuario, <span style="color: #000000;">1</span>, <span style="color: #000000;">&#40;</span> <span style="color: #00C800;">AT</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"@"</span>, cContaUsuario <span style="color: #000000;">&#41;</span> <span style="color: #000000;">-1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+SPACE<span style="color: #000000;">&#40;</span><span style="color: #000000;">30</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;cNomeUsuFinal := cNomeUsuario<br /><br />&nbsp; &nbsp;aGet<span style="color: #000000;">&#91;</span><span style="color: #000000;">7</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">VARPUT</span><span style="color: #000000;">&#40;</span> cNomeUsuario <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;aGet<span style="color: #000000;">&#91;</span><span style="color: #000000;">7</span><span style="color: #000000;">&#93;</span>:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;aGet<span style="color: #000000;">&#91;</span><span style="color: #000000;">7</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;aGet<span style="color: #000000;">&#91;</span><span style="color: #000000;">7</span><span style="color: #000000;">&#93;</span>:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span><span style="color: #000000;">&#40;</span> lIsValid <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:2dqqh7ad]
emal valid
Se usas HARBOUR: [url:395tfgam]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=40988&sid=03ad6d6cd77d38af03cf3b732e60d480[/url:395tfgam]
emal valid
allready seen this function but here not run ok
emal valid
[quote="Silvio.Falconi":ov8gdpeq]allready seen this function but here not run ok[/quote:ov8gdpeq] Harbour or xHarbour?
emal valid
Hello Silvio, I use the function from Mr. Ramesh Babu. Best regards, Otto [code=fw:kkd4hqf7]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; ******************************************************************************<br />&nbsp; &nbsp;** <span style="color: #00C800;">FUNCTION</span> Validate_Email_Address<span style="color: #000000;">&#40;</span>cE_Mail<span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">to</span> Validate the entry <span style="color: #0000ff;">of</span> e.<span style="color: #0000ff;">mail</span> **<br />&nbsp; &nbsp;** &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;address - By RAMESH BABU P <span style="color: #000000;">&#40;</span><!-- e --><a href="mailto:aksharasoft@hotmail.com">aksharasoft@hotmail.com</a><!-- e --><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;**<br />&nbsp; &nbsp;******************************************************************************<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style="color: #00C800;">FUNCTION</span> Validate_Email_Address<span style="color: #000000;">&#40;</span>cE_Mail<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #00C800;">LOCAL</span> lOk := .T., cValid_Letters := <span style="color: #ff0000;">"abcdefghijklmnopqrstuvwxyz0123456789._-@"</span><br />&nbsp; &nbsp; <span style="color: #00C800;">LOCAL</span> n<br />&nbsp; &nbsp; <span style="color: #00C800;">local</span> cToken &nbsp; &nbsp; &nbsp; := <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp; <span style="color: #00C800;">local</span> cDomainPart &nbsp;:= <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp; <span style="color: #00C800;">local</span> cLocalPart &nbsp; := <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp; <span style="color: #00C800;">local</span> nLocalPart &nbsp; := <span style="color: #000000;">0</span><br />&nbsp; &nbsp; <span style="color: #00C800;">local</span> nAnzPunkte &nbsp; := <span style="color: #000000;">0</span><br />&nbsp; &nbsp; <span style="color: #00C800;">local</span> I &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:= <span style="color: #000000;">0</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; cE_Mail := ALLTRIM<span style="color: #000000;">&#40;</span>cE_Mail<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; <span style="color: #00C800;">IF</span> EMPTY<span style="color: #000000;">&#40;</span>cE_Mail<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #00C800;">RETURN</span> .T.<br /><span style="color: #00C800;">ENDIF</span><br /><br /><span style="color: #00C800;">DO</span> <span style="color: #00C800;">CASE</span><br /><br />* Check <span style="color: #00C800;">for</span> existance <span style="color: #0000ff;">of</span> <span style="color: #ff0000;">'@'</span> and <span style="color: #ff0000;">'.'</span> the basic characters <span style="color: #0000ff;">of</span> an email<br /><span style="color: #00C800;">CASE</span> <span style="color: #000000;">&#40;</span>.NOT. <span style="color: #ff0000;">"@"</span> $ cE_Mail<span style="color: #000000;">&#41;</span> .OR. <span style="color: #000000;">&#40;</span>.NOT. <span style="color: #ff0000;">"."</span> $ cE_Mail<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; lOk := .F.<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; * Check <span style="color: #ff0000;">'@'</span> is typed more than the required <span style="color: #000000;">1</span> time<br />&nbsp; &nbsp; <span style="color: #00C800;">CASE</span> NumAt<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"@"</span>,cE_Mail <span style="color: #000000;">&#41;</span> > <span style="color: #000000;">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// FT_NOOCCUR("@",cE_Mail,.F.) >1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; lOk := .F.<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; * Check wether any characters are between <span style="color: #ff0000;">'@'</span> and <span style="color: #ff0000;">'.'</span> or type continuous<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">CASE</span> <span style="color: #000000;">&#40;</span> RAT<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"."</span>, cE_Mail<span style="color: #000000;">&#41;</span> - <span style="color: #00C800;">AT</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"@"</span>, cE_Mail<span style="color: #000000;">&#41;</span> <= <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lOk := .F.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">OTHERWISE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">//local-part - there must be a local part</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cToken := StrToken<span style="color: #000000;">&#40;</span> cE_Mail,<span style="color: #000000;">1</span>,<span style="color: #ff0000;">'@'</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nLocalPart := len<span style="color: #000000;">&#40;</span> ALLTRIM<span style="color: #000000;">&#40;</span>cToken<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> nLocalPart = <span style="color: #000000;">0</span> .or. nLocalPart > <span style="color: #000000;">64</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lOk := .F.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">//domain-part</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cDomainpart &nbsp;:= StrToken<span style="color: #000000;">&#40;</span> cE_Mail,<span style="color: #000000;">2</span>,<span style="color: #ff0000;">'@'</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; * Check domain-part <span style="color: #00C800;">if</span> &nbsp;<span style="color: #ff0000;">'.'</span> is typed more than the required <span style="color: #000000;">1</span> time<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nAnzPunkte := NumAt<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"."</span>,cDomainpart <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">FOR</span> I := <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> nAnzPunkte + <span style="color: #000000;">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cToken &nbsp; := StrToken<span style="color: #000000;">&#40;</span> cDomainpart,I,<span style="color: #ff0000;">'.'</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> I = nAnzPunkte<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> len<span style="color: #000000;">&#40;</span>ALLTRIM<span style="color: #000000;">&#40;</span>cToken<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> < <span style="color: #000000;">2</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lOk := .F.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> len<span style="color: #000000;">&#40;</span>ALLTRIM<span style="color: #000000;">&#40;</span>cToken<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> < <span style="color: #000000;">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lOk := .F.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">next</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">FOR</span> n = <span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> LEN<span style="color: #000000;">&#40;</span>cE_Mail<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> .NOT. LOWER<span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>cE_Mail,n,<span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> $ cValid_Letters<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lOk := .F.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EXIT<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">NEXT</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDCASE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> .NOT. lOk<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> MsgYesNo<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Infobox"</span>,<span style="color: #ff0000;">"Keine gültige Emailadresse - "</span>+ CRLF + &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"Email trotzdem speichern?"</span><span style="color: #000000;">&#41;</span>=.t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lOk:=.t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">RETURN</span> lOk<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">//----------------------------------------------------------------------------//</span></div>[/code:kkd4hqf7]
emal valid
Compilado con HARBOUR. Intenta ahora: [code=fw:2cx8uujl]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// C:\SILVIO2\SILVSSAY.PRG - 20/11/2021 - <!-- e --><a href="mailto:kapiabafwh@gmail.com">kapiabafwh@gmail.com</a><!-- e --></span><br /><br /><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"hbcompat.ch"</span> &nbsp;<span style="color: #B900B9;">// Harbour and xHarbour</span><br /><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"SSay.ch"</span><br /><br /><span style="color: #00D7D7;">#Define</span> CLR_LGREEN &nbsp; &nbsp; nRGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">190</span>, <span style="color: #000000;">215</span>, <span style="color: #000000;">190</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00D7D7;">#Define</span> CLR_SOFTYELLOW nRGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">255</span>, <span style="color: #000000;">251</span>, <span style="color: #000000;">225</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00D7D7;">#Define</span> CLR_PINK &nbsp; &nbsp; &nbsp; nRGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">255</span>, <span style="color: #000000;">128</span>, <span style="color: #000000;">128</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00D7D7;">#Define</span> CLR_NBLUE &nbsp; &nbsp; &nbsp;nRGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">128</span>, <span style="color: #000000;">128</span>, <span style="color: #000000;">192</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00D7D7;">#Define</span> CLR_MSPURPLE &nbsp; nRGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span>, &nbsp; <span style="color: #000000;">120</span>, <span style="color: #000000;">215</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00D7D7;">#Define</span> CLR_MSRED &nbsp; &nbsp; &nbsp;nRGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">232</span>, &nbsp;<span style="color: #000000;">17</span>, &nbsp;<span style="color: #000000;">35</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00D7D7;">#Define</span> CLR_MSGRAY &nbsp; &nbsp; nRGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">229</span>, <span style="color: #000000;">229</span>, <span style="color: #000000;">229</span> <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">FUNCTION</span> Configura<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oDlg, oFld, oBarDialog, oFont, cTitle, aGrad, oOk, oExit<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cDenominazione := <span style="color: #ff0000;">"I LOVE FIVEWIN THE BEST OF THE WORLD! &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cIndirizzo &nbsp; &nbsp; := <span style="color: #ff0000;">"AVENUE ATLANTICA, 1200 - LEBLON - RIO DE JANEIRO."</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oSay &nbsp; &nbsp; &nbsp;:= ARRAY<span style="color: #000000;">&#40;</span><span style="color: #000000;">4</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> aGet &nbsp; &nbsp; &nbsp;:= ARRAY<span style="color: #000000;">&#40;</span><span style="color: #000000;">4</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;LOCA &nbsp;cCompl &nbsp; &nbsp;:= REPLICATE<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"."</span>, &nbsp;<span style="color: #000000;">9</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> SilDrawLi := REPLICATE<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"_"</span>, <span style="color: #000000;">13</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> EmailSilv := SPACE<span style="color: #000000;">&#40;</span><span style="color: #000000;">50</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;cTitle := <span style="color: #ff0000;">"Italia Informatica Corporation: Configurazione di Sistema"</span><br /><br />&nbsp; &nbsp;SET _3DLOOK <span style="color: #0000ff;">ON</span><br /><br />&nbsp; &nbsp;SetGetColorFocus<span style="color: #000000;">&#40;</span> CLR_LGREEN <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// COR EM TODOS OS GETS DOS DIALOGOS.</span><br /><br />&nbsp; &nbsp;tGet<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">lDisColors</span> &nbsp;:= .F. &nbsp; <span style="color: #B900B9;">// WHEN( .F. ) COR.</span><br />&nbsp; &nbsp;tGet<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">nClrTextDis</span> := CLR_HBLUE<br />&nbsp; &nbsp;tGet<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">nClrPaneDis</span> := CLR_SOFTYELLOW<br /><br />&nbsp; &nbsp;SetBalloon<span style="color: #000000;">&#40;</span> .T. <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// Balloon shape required for tooltips</span><br /><br />&nbsp; &nbsp;SkinButtons<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;aGrad := <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span> <span style="color: #000000;">1</span>, CLR_WHITE, CLR_HCYAN &nbsp;<span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span><br /><br />&nbsp; &nbsp;<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;">16</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">TITLE</span> cTitle <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">900</span>, <span style="color: #000000;">400</span> <span style="color: #0000ff;">PIXEL</span> TRUEPIXEL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; GRADIENT aGrad<br /><br />&nbsp; &nbsp;oDlg:<span style="color: #000000;">lHelpIcon</span> := .F.<br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTONBAR</span> oBarDialog <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">80</span>, <span style="color: #000000;">80</span> <span style="color: #000000;">2007</span> BOTTOM NOBORDER<br /><br />&nbsp; &nbsp;@<span style="color: #000000;">3</span>, <span style="color: #000000;">0</span> FOLDEREX oFld <span style="color: #0000ff;">SIZE</span> oDlg:<span style="color: #000000;">nWidth</span>, oDlg:<span style="color: #000000;">nHeight</span> - oBarDialog:<span style="color: #000000;">nheight</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">PROMPTS</span> <span style="color: #ff0000;">"&Azienda"</span>, <span style="color: #ff0000;">"&Setup"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">BITMAPS</span> <span style="color: #ff0000;">"C:<span style="color: #000000;">\F</span>WH1905<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\f</span>loppy.bmp"</span>, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"C:<span style="color: #000000;">\F</span>WH1905<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\H</span>elpInd.bmp"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">FONT</span> oFont <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">COLOR</span> CLR_MSGRAY TAB HEIGHT <span style="color: #000000;">25</span> <span style="color: #0000ff;">ROUND</span> <span style="color: #000000;">5</span><br /><br />&nbsp; &nbsp;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 />&nbsp; &nbsp;oFld:<span style="color: #000000;">aEnable</span> = <span style="color: #000000;">&#123;</span> .T., .T., .F., .F. <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;oFld:<span style="color: #000000;">Show</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> Set<span style="color: #000000;">&#40;</span> _SET_INSERT, ! Set<span style="color: #000000;">&#40;</span> _SET_INSERT <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; Set<span style="color: #000000;">&#40;</span> _SET_INSERT, ! Set<span style="color: #000000;">&#40;</span> _SET_INSERT <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">22</span>, <span style="color: #000000;">10</span> SENSITIVE <span style="color: #0000ff;">SAY</span> oSay<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Denominazione:"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">60</span>, <span style="color: #000000;">20</span> &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">UPDATE</span> <span style="color: #0000ff;">PIXEL</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> <span style="color: #0000ff;">FONT</span> oFont COLORS CLR_PINK, CLR_WHITE ;<br />&nbsp; &nbsp; &nbsp; TRANSPARENT<br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">24.00</span>, <span style="color: #000000;">10</span> <span style="color: #0000ff;">SAY</span> oSilDrawLi <span style="color: #0000ff;">VAR</span> SilDrawLi <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">150</span>, <span style="color: #000000;">15</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;">UPDATE</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">FONT</span> oFont COLORS CLR_PINK, CLR_WHITE TRANSPARENT<br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">22</span>, <span style="color: #000000;">70</span> <span style="color: #0000ff;">GET</span> aGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> cDenominazione <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">363</span>, <span style="color: #000000;">12</span> <span style="color: #0000ff;">UPDATE</span> <span style="color: #0000ff;">PIXEL</span> &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &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> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">FONT</span> oFont COLORS CLR_MSPURPLE, CLR_WHITE<br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">36.50</span>, <span style="color: #000000;">10</span> SENSITIVE <span style="color: #0000ff;">SAY</span> oSay<span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Indirizzo"</span>+cCompl+<span style="color: #ff0000;">".:"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">60</span>, <span style="color: #000000;">20</span> <span style="color: #0000ff;">PIXEL</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> <span style="color: #0000ff;">FONT</span> oFont &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp;COLORS CLR_MSPURPLE, CLR_WHITE <span style="color: #0000ff;">UPDATE</span> TRANSPARENT<br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">39.50</span>, <span style="color: #000000;">10</span> <span style="color: #0000ff;">SAY</span> oSilDrawLi <span style="color: #0000ff;">VAR</span> SilDrawLi <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">150</span>, <span style="color: #000000;">15</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;">UPDATE</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">FONT</span> oFont COLORS CLR_MSPURPLE, CLR_WHITE TRANSPARENT<br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">36.50</span>, <span style="color: #000000;">70</span> <span style="color: #0000ff;">GET</span> aGet<span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> cIndirizzo <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">363</span>, <span style="color: #000000;">12</span> <span style="color: #0000ff;">PIXEL</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;">UPDATE</span> <span style="color: #0000ff;">FONT</span> oFont COLORS CLR_MSPURPLE, CLR_WHITE<br /><br />&nbsp; &nbsp;<span style="color: #B900B9;">// Email Silvio</span><br />&nbsp; &nbsp;@ <span style="color: #000000;">54.50</span>, <span style="color: #000000;">10</span> SENSITIVE <span style="color: #0000ff;">SAY</span> oSay<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Email Silvio......:"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">60</span>, <span style="color: #000000;">20</span> <span style="color: #0000ff;">PIXEL</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> <span style="color: #0000ff;">FONT</span> oFont &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp;COLORS CLR_MSRED , CLR_WHITE <span style="color: #0000ff;">UPDATE</span> TRANSPARENT<br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">51.50</span>, <span style="color: #000000;">70</span> <span style="color: #0000ff;">GET</span> aGet<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> EmailSilv <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">363</span>, <span style="color: #000000;">12</span> <span style="color: #0000ff;">PIXEL</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;">UPDATE</span> <span style="color: #0000ff;">FONT</span> oFont COLORS CLR_MSRED , CLR_WHITE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">VALID</span><span style="color: #000000;">&#40;</span> VALIDA_GET_CONTA<span style="color: #000000;">&#40;</span> EmailSilv, aGet <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">370</span>, <span style="color: #000000;">350</span> <span style="color: #0000ff;">BUTTON</span> oOk &nbsp; <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Send &Mail"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">22</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">PIXEL</span> &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ACTION</span><span style="color: #000000;">&#40;</span> oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">370</span>, <span style="color: #000000;">500</span> <span style="color: #0000ff;">BUTTON</span> oExit <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&Salida"</span> &nbsp; &nbsp;<span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">80</span>, <span style="color: #000000;">20</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">PIXEL</span> &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ACTION</span><span style="color: #000000;">&#40;</span> oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #00C800;">DEFAULT</span> CANCEL<br /><br />&nbsp; &nbsp;SET <span style="color: #0000ff;">FONT</span> <span style="color: #0000ff;">OF</span> oOk &nbsp; <span style="color: #0000ff;">TO</span> oFont<br />&nbsp; &nbsp;SET <span style="color: #0000ff;">FONT</span> <span style="color: #0000ff;">OF</span> oExit <span style="color: #0000ff;">TO</span> oFont<br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> Set<span style="color: #000000;">&#40;</span> _SET_INSERT, ! Set<span style="color: #000000;">&#40;</span> _SET_INSERT <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; Set<span style="color: #000000;">&#40;</span> _SET_INSERT, ! Set<span style="color: #000000;">&#40;</span> _SET_INSERT <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;oFont:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><span style="color: #00C800;">FUNCTION</span> VALIDA_GET_CONTA<span style="color: #000000;">&#40;</span> cEmailSilvio, aGet <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cContaUsuario, cNomeUsuario<br /><span style="color: #B900B9;">// LOCAL cRegEx := "^[a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$" &nbsp;// ou:</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cRegEx := <span style="color: #ff0000;">"^[_a-z0-9-]+(<span style="color: #000000;">\.</span>[_a-z0-9-]+)*@[a-z0-9-]+(<span style="color: #000000;">\.</span>[a-z0-9-]+)*(<span style="color: #000000;">\.</span>[a-z]{2,4})$"</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> lIsValid := .F.<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">PUBLIC</span> cNomeUsuFinal<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> GETASYNCKEY<span style="color: #000000;">&#40;</span> VK_UP <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">RETURN</span><span style="color: #000000;">&#40;</span> .T. <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> EMPTY<span style="color: #000000;">&#40;</span> cEmailSilvio <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"ATEN€ÇO USUµRIO: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"</span> <span style="color: #000000;">&#41;</span>+CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"DIGITE O NOME DA CONTA DE EMAIL. &nbsp; &nbsp;"</span> <span style="color: #000000;">&#41;</span>+CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Exemplo: <!-- e --><a href="mailto:.......@pleno.com.br">.......@pleno.com.br</a><!-- e --> &nbsp; &nbsp; &nbsp; "</span> <span style="color: #000000;">&#41;</span>, &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"EMAIL(Conta) NÇO INFORMADO. CUIDADO!"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">RETURN</span><span style="color: #000000;">&#40;</span> .F. <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;<span style="color: #B900B9;">// #Include "hbcompat.ch" &nbsp;// Harbour and xHarbour</span><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> <span style="color: #000000;">&#40;</span> ALLTRIM<span style="color: #000000;">&#40;</span>LOWER<span style="color: #000000;">&#40;</span> cEmailSilvio <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">LIKE</span> cRegEx <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; lIsValid := .T.<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">ELSE</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"ATEN€ÇO USUµRIO: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Harbour..."</span> <span style="color: #000000;">&#41;</span>+CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"DIGITE UM EMAIL VÇLIDO.. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"</span> <span style="color: #000000;">&#41;</span>+CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"ESTA CONTA DE EMAIL ESTµ ERRADA.. &nbsp; "</span> <span style="color: #000000;">&#41;</span>+CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Exemplo: <!-- e --><a href="mailto:.......@pleno.com.br">.......@pleno.com.br</a><!-- e --> &nbsp; &nbsp; &nbsp; "</span> <span style="color: #000000;">&#41;</span>+CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"VOCÒ DIGITOU: "</span> + ALLTRIM<span style="color: #000000;">&#40;</span> cEmailSilvio <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"EMAIL(Conta) CONTENDO ERROS... VEJA!"</span> <span style="color: #000000;">&#41;</span> <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: #000000;">&#40;</span> lIsValid <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #B900B9;">// FIN / END</span><br />&nbsp;</div>[/code:2cx8uujl]
emal valid
[code=fw:fx8berp7]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//Si no estoy mal, este código es aporte de Daniel García</span><br /><span style="color: #00C800;">function</span> validaEmail<span style="color: #000000;">&#40;</span>cEmail<span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">LOCAL</span> pCompiled := hb_regexComp<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"^[_a-z0-9-]+(<span style="color: #000000;">\.</span>[_a-z0-9-]+)*@[a-z0-9-]+(<span style="color: #000000;">\.</span>[a-z0-9-]+)*(<span style="color: #000000;">\.</span>[a-z]{2,4})$"</span><span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">LOCAL</span> aMatch <br />    <span style="color: #00C800;">LOCAL</span> cRet := .t.<br />    aMatch = hb_regex<span style="color: #000000;">&#40;</span> pCompiled, alltrim<span style="color: #000000;">&#40;</span>cEmail<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">if</span> Empty<span style="color: #000000;">&#40;</span> aMatch <span style="color: #000000;">&#41;</span><br />        cRet := .f.<br />    end<br /><span style="color: #00C800;">return</span> cRet<br /> </div>[/code:fx8berp7]
emal valid
[quote="leandro":iolts5f5][code=fw:iolts5f5]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//Si no estoy mal, este código es aporte de Daniel García</span><br /><span style="color: #00C800;">function</span> validaEmail<span style="color: #000000;">&#40;</span>cEmail<span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">LOCAL</span> pCompiled := hb_regexComp<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"^[_a-z0-9-]+(<span style="color: #000000;">\.</span>[_a-z0-9-]+)*@[a-z0-9-]+(<span style="color: #000000;">\.</span>[a-z0-9-]+)*(<span style="color: #000000;">\.</span>[a-z]{2,4})$"</span><span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">LOCAL</span> aMatch <br />    <span style="color: #00C800;">LOCAL</span> cRet := .t.<br />    aMatch = hb_regex<span style="color: #000000;">&#40;</span> pCompiled, alltrim<span style="color: #000000;">&#40;</span>cEmail<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">if</span> Empty<span style="color: #000000;">&#40;</span> aMatch <span style="color: #000000;">&#41;</span><br />        cRet := .f.<br />    end<br /><span style="color: #00C800;">return</span> cRet<br /> </div>[/code:iolts5f5][/quote:iolts5f5] Gracias Leandro. Ahora compilando con HBMK2.exe. [url:iolts5f5]https&#58;//mega&#46;nz/file/BVs21BhB#Ex8y-KM3oZB6bkqcMO6D9W9vB78xXg6BcfIUBFVGwMU[/url:iolts5f5] Regards, saludos.
emf to pdf
Fivewin creates beautiful .EMF files within the report object. Does anyone know of a utility or library I can call from within my applications to convert these .EMF files to a .PDF file?
emf to pdf
Yes. Using PDFCreator you can make the process completely automatic. EMG
emf to pdf
[quote="EnricoMaria":1zdc4r19]Yes. Using PDFCreator you can make the process completely automatic. EMG[/quote:1zdc4r19] Enrico PDF creator will install avirtual printer just like Adobe distiller. Is there a way to have a lib linked within an app (avoid installing the printer) that can allow converting from Emf to Pdf. If anyone has done the job and is willing to share, If we can Enhance the FW preview to support Pdf creation and email (this part is easy), then it will be great. I would be personnally get rid of Easypreview that is not compatible with fwh anymore since over a year now. Richard
emf to pdf
It would be fine to have as a fw function ......as EMF2PDF().... Regards silvio
emf to pdf
I know there is a DLL ( davinci) it can converte from emf to pdf ...but i not Know how I can make it
emf to pdf
<!-- m --><a class="postlink" href="http://www.herdsoft.com/ftp/downloads.html#davinci">http://www.herdsoft.com/ftp/downloads.html#davinci</a><!-- m --> here you can load the dll
emf to pdf
Now I found a C source (emf2pdf.cpp) there is someone Know how make a fw function...?
emf to pdf
[quote="Silvio":25mmvg6g]http://www.herdsoft.com/ftp/downloads.html#davinci here you can load the dll[/quote:25mmvg6g] Silvio, Davinci is copyright protected, we can not include it in our apps just like this. I want to check the pdf.lib from xharbour Richard
emf to pdf
I found a file cpp now... [code:5z48jbn7]// file&#58; emf2pdf&#46;cpp // // Converts an EMF file to a 1 page PDF file&#46; // // To build, make sure the files pdfGDI&#46;dll, pdfGDI&#46;lib, pdfGDI&#46;h // are in the current directory, then from the command line&#58; // // cl emf2pdf&#46;cpp pdfGDI&#46;lib gdi32&#46;lib #include <windows&#46;h> #include <stdio&#46;h> #include "pdfGDI&#46;h" void main&#40;int argc, char *argv&#91;&#93;&#41; &#123; HDC dc; if &#40;argc < 3&#41; &#123; printf&#40;"usage&#58; emf2pdf filename&#46;emf filename&#46;pdf\n"&#41;; return; &#125; HPDFGDI h = pdfGDI_open&#40;argv&#91;2&#93;&#41;; if &#40;!h&#41; &#123; char msg&#91; ERROR_MSG_SIZE &#93;; pdfGDI_getErrorMsg&#40;h, msg&#41;; printf&#40;"pdfGDI_open failed&#58; %s\n", msg&#41;; return ; &#125; dc = pdfGDI_startPage&#40;h, "A4"&#41;; if &#40;!dc&#41; &#123; char msg&#91; ERROR_MSG_SIZE &#93;; pdfGDI_getErrorMsg&#40;h, msg&#41;; printf&#40;"pdfGDI_startPage failed&#58; %s\n", msg&#41;; return ; &#125; // now play the EMF file to our PDF dc HENHMETAFILE metaFileHandle = GetEnhMetaFile&#40;argv&#91;1&#93;&#41;; if &#40;metaFileHandle == 0&#41; &#123; printf&#40;"could not open metafile &#91;%s&#93;", argv&#91;1&#93;&#41;; return ; &#125; RECT rect = &#123;0, 0, 1000, 1000&#125;; if &#40;!PlayEnhMetaFile&#40;dc, metaFileHandle, &rect&#41;&#41; &#123; printf&#40;"PlayEnhMetaFile failed\n"&#41;; &#125; DeleteEnhMetaFile&#40;metaFileHandle&#41;; pdfGDI_close&#40;h&#41;; &#125; [/code:5z48jbn7] I have also these files : pdfGDI.dll, pdfGDI.lib, pdfGDI.h but I think not have the source of pdfgdi.lib Can you create a fw function ? Regards
emf to pdf
pdf of xharbour (contrib) support only jpeg", "tiff", "gif", and "png"... I already test it
emf to pdf
[quote="Richard Chidiak":13mo3mhp]Enrico PDF creator will install a virtual printer just like Adobe distiller.[/quote:13mo3mhp] Yes, but you can drive it using an INI file. You can get the PDF file without any user action. And it is free. EMG
emf.dll para 64Bits
Hola, buen día De donde puedo descargar el archivo emf.dll para 64.bits. Al envíar una vista previa con la clase TReporte, me solicita ese archivo. Saludos
emf.dll para 64Bits
Viktor, He buscado emf.dll por todos los fuentes de FWH y tambien dentro de las librerías de FWH, y no aparece por ninguna parte. Estas usando una Clase TReporte que no es de FWH ? En caso afirmativo, puedes copiar aqui su código fuente para que veamos desde donde se usa ? gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
empezando con easyPreview
El siguiente paso es enlazar el easypreview ... Me pide un archivo que se llama wpdf.h que no viene en el código He retocado algunos errores : En Epmeta.prg he retocado el codigo de estas funciones para quitar los errores . [code=fw:ohl89bms]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><br /><span style="color: #00D7D7;">#pragma</span> BEGINDUMP<br /><br /><span style="color: #00D7D7;">#include</span> <windows.h><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"hbapi.h"</span><br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span>EP_PLAYENHMETAFILE<span style="color: #000000;">&#41;</span><br /><br /><span style="color: #000000;">&#123;</span><br />&nbsp;RECT rect;<br />&nbsp;HENHMETAFILE &nbsp;hemf =<span style="color: #000000;">&#40;</span>HENHMETAFILE<span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp;HDC &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hDC &nbsp;= <span style="color: #000000;">&#40;</span> HDC <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>;<br /><br /><span style="color: #B900B9;">// GetEnhMetaFileHeader( hemf, sizeof( mh ), &mh ) ;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> hb_parl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; rect.<span style="color: #0000ff;">left</span> = <span style="color: #000000;">0</span>;<br />&nbsp; &nbsp; &nbsp; rect.top &nbsp;= <span style="color: #000000;">0</span>;<br />&nbsp; &nbsp; &nbsp; rect.<span style="color: #0000ff;">right</span> &nbsp;= GetDeviceCaps<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> HDC <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>, HORZRES <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; rect.bottom = GetDeviceCaps<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> HDC <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>, VERTRES <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp;<span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">else</span><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span>HB_IS_ARRAY<span style="color: #000000;">&#40;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;rect.<span style="color: #0000ff;">left</span> &nbsp; = hb_parvni<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp;rect.top &nbsp; &nbsp;= hb_parvni<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3</span>, <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp;rect.<span style="color: #0000ff;">right</span> &nbsp;= hb_parvni<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3</span>, <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp;rect.bottom = hb_parvni<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3</span>, <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">else</span><br />&nbsp;<span style="color: #B900B9;">// &nbsp; &nbsp; GetClientRect( WindowFromDC( hDC ), &rc );</span><br />&nbsp; &nbsp; &nbsp; GetClientRect <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span>HWND<span style="color: #000000;">&#41;</span>hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span>, &rect <span style="color: #000000;">&#41;</span>;<br />&nbsp;hb_retl<span style="color: #000000;">&#40;</span> PlayEnhMetaFile<span style="color: #000000;">&#40;</span> hDC, hemf, <span style="color: #000000;">&#40;</span> LPRECT <span style="color: #000000;">&#41;</span> &rect <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span><br /><span style="color: #B900B9;">//------------------ &nbsp;------------------------//</span><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span>ENHMETASIZE<span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp;HENHMETAFILE hemf = <span style="color: #000000;">&#40;</span>HENHMETAFILE<span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp;INT &nbsp;sizetyp &nbsp; &nbsp; &nbsp;= &nbsp;hb_parni<span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp;ENHMETAHEADER mh ;<br />&nbsp; &nbsp;RECTL rect ;<br /><br />&nbsp; &nbsp;GetEnhMetaFileHeader<span style="color: #000000;">&#40;</span> hemf, sizeof<span style="color: #000000;">&#40;</span> mh <span style="color: #000000;">&#41;</span>, &mh <span style="color: #000000;">&#41;</span> ;<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span>sizetyp == <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> &nbsp; &nbsp; <span style="color: #B900B9;">// Size in Pixel</span><br />&nbsp; &nbsp; &nbsp; rect = mh.rclBounds ;<br />&nbsp; &nbsp;<span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; rect = mh.rclFrame ; &nbsp;<span style="color: #B900B9;">//Size in 0.1 mm</span><br /><br />&nbsp; &nbsp;hb_reta<span style="color: #000000;">&#40;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp;hb_storvni<span style="color: #000000;">&#40;</span>rect.<span style="color: #0000ff;">left</span> &nbsp;, <span style="color: #000000;">-1</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp;hb_storvni<span style="color: #000000;">&#40;</span>rect.top &nbsp; , <span style="color: #000000;">-1</span>, <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp;hb_storvni<span style="color: #000000;">&#40;</span>rect.<span style="color: #0000ff;">right</span> , <span style="color: #000000;">-1</span>, <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp;hb_storvni<span style="color: #000000;">&#40;</span>rect.bottom, <span style="color: #000000;">-1</span>, <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span><br /><span style="color: #B900B9;">//------------------ &nbsp;------------------------//</span><br />&nbsp;</div>[/code:ohl89bms]
empezando con easyPreview
He subido al repositorio de easypreview un archivo wpdf.h por si alguien lo quiere , supongo que es el que necesitamos . Ahora me lanza 12 errores al compilar wpdf.c ... Saludos a todos.
empezando con easyPreview
Manuel, Ese código no es necesario y es del módulo nativo de EasyPreview para exportar en PDF. Edita epreview.prg y cambia el nombre de la función rpreview a otro. Entonces la función de preview del diseñador usara el de Fivewin. Prueba.
empezando con easyPreview
[quote="lucasdebeltran":3hemqz70]Manuel, Ese código no es necesario y es del módulo nativo de EasyPreview para exportar en PDF. Edita epreview.prg y cambia el nombre de la función rpreview a otro. Entonces la función de preview del diseñador usara el de Fivewin. Prueba.[/quote:3hemqz70] Pues no resuelve el tema <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> . Al dar a imprimir en easyreport tenemos 2 opciones o llamar a otro exe llamado "ERSTART.EXE" y ejecutarlo ( el cual también tendremos que reconstruir ) o usar la clase epreview ( epclass.prg ) si enlazo este prg es cuando empieza a encadenar llamadas a tpdf , a mypdf , etc ... solo con el cambio de rpreview no resolvemos . Gracias por la ayuda .... seguiremos investigando .
empezando con easyPreview
A ver si ayuda, independientemente de lo que comenta Lucas [code=fw:191pgpi8]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#define</span> IPT_SELECT        0x000 <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPT_WMF           0x001 <span style="color: #B900B9;">// Windows-Metafile</span><br /><span style="color: #00D7D7;">#define</span> IPT_DXF           0x002 <span style="color: #B900B9;">// AUTOCAD DXF-</span><br /><span style="color: #00D7D7;">#define</span> IPT_EPS           0x004 <span style="color: #B900B9;">// Encapsulated PostScript EPS</span><br /><span style="color: #00D7D7;">#define</span> IPT_BMP           0x008 <span style="color: #B900B9;">// Windows-Bitmapfile</span><br /><span style="color: #00D7D7;">#define</span> IPT_TIF           0x010 <span style="color: #B900B9;">// TIFF 5.0</span><br /><span style="color: #00D7D7;">#define</span> IPT_GIF           0x020 <span style="color: #B900B9;">// Compuserve GIF</span><br /><span style="color: #00D7D7;">#define</span> IPT_PCX           0x040 <span style="color: #B900B9;">// PCX</span><br /><span style="color: #00D7D7;">#define</span> IPT_JPG           0x080 <span style="color: #B900B9;">// JPEG-File</span><br /><span style="color: #00D7D7;">#define</span> IPT_PNG           0x100 <span style="color: #B900B9;">// PNG (Portable network Graphic)</span><br /><span style="color: #00D7D7;">#define</span> IPT_EMF           0x200 <span style="color: #B900B9;">// EMF (Enhanced Windows MetaFile)</span><br /><span style="color: #00D7D7;">#define</span> IPT_JPC          0x1000 <span style="color: #B900B9;">// JPEG-2000 Code Stream Syntax (ISO/IEC 15444-1)</span><br /><span style="color: #00D7D7;">#define</span> IPT_JP2          0x2000 <span style="color: #B900B9;">// JPEG-2000 JP2 File Format Syntax (ISO/IEC 15444-1)</span><br /><span style="color: #00D7D7;">#define</span> IPT_PGX          0x4000 <span style="color: #B900B9;">// JPEG-2000 VM Format</span><br /><span style="color: #00D7D7;">#define</span> IPT_RAS          0x8000 <span style="color: #B900B9;">// Sun Rasterfile (RAS)</span><br /><span style="color: #00D7D7;">#define</span> IPT_PNM         0x10000 <span style="color: #B900B9;">// Portable Anymap (Graymap/Pixmap/Bitmap) (PNM, PGM, PPM)</span><br /><br /><span style="color: #00D7D7;">#define</span> IPT_FLT           0x800 <span style="color: #B900B9;">// </span><br /><br /><span style="color: #00D7D7;">#define</span> IPE_OK             <span style="color: #000000;">0</span>    <span style="color: #B900B9;">// </span><br /><br /><span style="color: #00D7D7;">#define</span> IPE_ABORT          <span style="color: #000000;">1</span>    <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPE_WRONGTYPE      <span style="color: #000000;">2</span>    <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPE_CORRUPTED      <span style="color: #000000;">3</span>    <span style="color: #B900B9;">// </span><br /><br /><span style="color: #00D7D7;">#define</span> IPE_CLOSE          <span style="color: #000000;">4</span>    <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPE_OPEN           <span style="color: #000000;">5</span>    <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPE_WRITE          <span style="color: #000000;">6</span>    <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPE_EOF            <span style="color: #000000;">7</span>    <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPE_NOMEM          <span style="color: #000000;">8</span>    <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPE_UNSUPPORTED    <span style="color: #000000;">9</span>    <span style="color: #B900B9;">// </span><br /><br /><span style="color: #00D7D7;">#define</span> IPE_MAX256        <span style="color: #000000;">10</span>    <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPE_REENTERED     <span style="color: #000000;">11</span>    <span style="color: #B900B9;">//</span><br /><br /><span style="color: #00D7D7;">#define</span> IPE_PARAM         <span style="color: #000000;">12</span>    <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPE_ERRINFLT      <span style="color: #000000;">13</span>    <span style="color: #B900B9;">//</span><br /><span style="color: #00D7D7;">#define</span> IPE_ERRNOFLT      <span style="color: #000000;">14</span>    <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPE_ERRTEXTFLT    <span style="color: #000000;">15</span>    <span style="color: #B900B9;">//</span><br /><span style="color: #00D7D7;">#define</span> IPE_NOLICENSE     <span style="color: #000000;">16</span>    <span style="color: #B900B9;">// </span><br /><br /><span style="color: #00D7D7;">#define</span> IPE_LAST          <span style="color: #000000;">32</span>    <span style="color: #B900B9;">// </span><br /><br /><span style="color: #00D7D7;">#define</span> IPF_MSGBOX                   0x1L <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPF_DIB                      0x8L <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPF_META                    0x10L <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPF_ENH                    0x800L <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPF_COMPRESS                 0x2L <span style="color: #B900B9;">// </span><br /><br /><span style="color: #00D7D7;">#define</span> IPF_TIFF_APPEND         0x200000L <span style="color: #B900B9;">// TIFF-Write: Append Page to existing TIF file.</span><br /><br /><span style="color: #00D7D7;">#define</span> IPF_TIFF_COMPMETHOD     0x300000e0 <span style="color: #B900B9;">// TIFF-Write Compression Modes</span><br /><span style="color: #00D7D7;">#define</span> IPF_TIFF_NOCOMP         0x00000020 <span style="color: #B900B9;">// TIFF-Write: Uncompressed</span><br /><span style="color: #00D7D7;">#define</span> IPF_TIFF_LZW            0x00000040 <span style="color: #B900B9;">// TIFF-Write: LZW</span><br /><span style="color: #00D7D7;">#define</span> IPF_TIFF_CCITTRLE       0x00000060 <span style="color: #B900B9;">// TIFF-Write: CCITT </span><br /><span style="color: #00D7D7;">#define</span> IPF_TIFF_CCITTFAX3      0x00000080 <span style="color: #B900B9;">// TIFF-Write: CCITT G3 Fax Compression</span><br /><span style="color: #00D7D7;">#define</span> IPF_TIFF_CCITTFAX4      0x000000a0 <span style="color: #B900B9;">// TIFF-Write: CCITT G4 Fax Compression</span><br /><span style="color: #00D7D7;">#define</span> IPF_TIFF_PACKBITS       0x000000c0 <span style="color: #B900B9;">// TIFF-Write: PACKBITS</span><br /><span style="color: #00D7D7;">#define</span> IPF_TIFF_JPEG           0x000000e0 <span style="color: #B900B9;">// TIFF-Write: JPEG</span><br /><span style="color: #00D7D7;">#define</span> IPF_TIFF_DEFLATE        0x10000000 <span style="color: #B900B9;">// TIFF-Write: Deflate (zlib)</span><br /><br /><span style="color: #00D7D7;">#define</span> IPF_QUALITY               0xF000L <span style="color: #B900B9;">// JPEG- 0x1000: 0x9000 </span><br /><span style="color: #00D7D7;">#define</span> IPF_LOWQUALITY            0x3000L <span style="color: #B900B9;">// JPEG</span><br /><span style="color: #00D7D7;">#define</span> IPF_INTERLACED           0x10000L <span style="color: #B900B9;">// PNG/GIF-Write: Write in interlaced Mode</span><br /><span style="color: #00D7D7;">#define</span> IPF_PNG_INTERLACED       IPF_INTERLACED <span style="color: #B900B9;">// Obsolete</span><br /><br /><span style="color: #00D7D7;">#define</span> IPF_FILEDIALOG               0x4L <span style="color: #B900B9;">// </span><br /><br /><span style="color: #00D7D7;">#define</span> IPF_NOPROGRESSBAR          0x100L <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPF_NOWAIT                 IPF_NOPROGRESSBAR <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPF_NOWARNINGS             0x200L <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPF_ALLOWLZW               0x400L <span style="color: #B900B9;">// </span><br /><br /><span style="color: #00D7D7;">#define</span> IPF_ZLIB_MASK              0xc0000000<br /><span style="color: #00D7D7;">#define</span> IPF_ZLIB_DEFAULT_COMPRESSION 0x00000000  <span style="color: #B900B9;">// Medium Speed, Medium compression rate for Deflate-Algorithm</span><br /><span style="color: #00D7D7;">#define</span> IPF_ZLIB_BEST_SPEED        0x40000000  <span style="color: #B900B9;">// High Speed, Low compression rate for Deflate-Algorithm</span><br /><span style="color: #00D7D7;">#define</span> IPF_ZLIB_BEST_COMPRESSION  0xc0000000  <span style="color: #B900B9;">// Low Speed, High compression rate for Deflate-Algorithm</span><br /><br /><br /><span style="color: #00D7D7;">#define</span> IPF_UNUSED                 0x0fde0000  <span style="color: #B900B9;">// IPF_xxxx Bits, </span><br /><br /><span style="color: #B900B9;">//------------------- Flags for DXF-Import -----------------------</span><br /><span style="color: #00D7D7;">#define</span> IPDXF_BLACKONLY            0x00000001L <span style="color: #B900B9;">// Import all DXF-Elements as black</span><br /><span style="color: #00D7D7;">#define</span> IPDXF_IGNOREEXTMINMAX      0x00000002L <span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPDXF_EXTENDED             0x00000004L <span style="color: #B900B9;">// </span><br /><br /><span style="color: #B900B9;">//------------------- Flags for Import DIB-Type selection --------</span><br />#  <span style="color: #0000ff;">define</span> IPDIBF_IMPORT_32BIT       0x00020000L<span style="color: #B900B9;">// </span><br />#  <span style="color: #0000ff;">define</span> IPDIBF_ALLOW_IMPORT_CMYK  0x00080000L<span style="color: #B900B9;">//</span><br />#  <span style="color: #0000ff;">define</span> IPDIBF_ALLOW_IMPORT_48BIT 0x00100000L<span style="color: #B900B9;">// </span><br />#  <span style="color: #0000ff;">define</span> IPDIBF_ALLOW_IMPORT_RGBA  0x00400000L<span style="color: #B900B9;">// </span><br /><span style="color: #00D7D7;">#define</span> IPDIBF_NORMALIZE            0x00800000L<span style="color: #B900B9;">// </span><br /><br /><span style="color: #00D7D7;">#define</span> IPM_WARNING <span style="color: #000000;">1</span><br /><span style="color: #00D7D7;">#define</span> IPM_ERROR   <span style="color: #000000;">2</span><br /><br /><br /> </div>[/code:191pgpi8] Este es el fichero que he construido <!-- m --><a class="postlink" href="https://navarro_cristobal@bitbucket.org/navarro_cristobal/easypreview_n1.git">https://navarro_cristobal@bitbucket.org ... iew_n1.git</a><!-- m --> (en descargas) A partir de lo que he encontrado en: <!-- m --><a class="postlink" href="http://www.herdsoft.com/ftp/downloads.html#davinci">http://www.herdsoft.com/ftp/downloads.html#davinci</a><!-- m -->
empezando con easyPreview
Manuel, Acabo de actualizar del repositorio y sin hacer nada me sale correctamente el Print/Preview: [img:2q9zuv3k]http&#58;//i61&#46;tinypic&#46;com/2pqq0bd&#46;png[/img:2q9zuv3k] Y he visto que en source\easyprev.prg rpreview() está comentada a ER_Preview(). Lo que si salen diversos warnings al compilar. Es más, si suprimes del make EasyReport #easyprev.prg. Y de source\ereport.prg y source\erstart.prg estás llamadas: [code=fw:2q9zuv3k]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; <br /><span style="color: #B900B9;">//EP_TidyUp()</span><br />&nbsp; &nbsp;<span style="color: #B900B9;">//EP_LinkedToApp()</span><br />&nbsp; &nbsp;<span style="color: #B900B9;">//EP_SetPath( ".\" )</span></div>[/code:2q9zuv3k] Todo funciona sin problemas. La clase de impresión de los Reportes es Vrd; source\vrd.prg y el comando es: EASYREPORT <oVRD> ; NAME <cRptFile> ; [ PREVIEW <lPreview> ] ; [ TO <cPrinter> ] ; [ OF <oWnd> ] ; [ <lModal: MODAL> ] ; [ <lPrintIDs: PRINTIDS> ] ; [ <lNoPrint: NOPRINT> ] ; [ <lNoExpr: NOEXPR> ] ; [ CHECK <lCheck> ] ; [ AREAPATH <cAreaPath> ] ; [ PRINTDIALOG <lPrDialog> ] ; [ COPIES <nCopies> ] ; [ PRINTOBJECT <oPrn> ] ; [ PAPERSIZE <aSize> ] ; [ TITLE <cTitle> ] ; [ PREVIEWDIR <cPrevDir> ] ; [ AUTOPAGEBREAK <lAutoBreak> ] ; [ SHOWINFO <lShowInfo> ] ; Por defecto, usa el preview de Fivewin. Respecto a EasyPreview, actualmente el Preview de Fivewin hace lo mismo y más cosas. El código fuente de Timm podría ser interesante por si las correcciones a la generación de los MetaFiles son interesantes y, sobre todo, porque generaba PDFS de forma nativa. Como yo no se C no puedo valorar la calidad de tal código. Ah, y muchas gracias por el esfuerzo que estáis haciendo.
empezando con easyPreview
[quote="lucasdebeltran":34utyndv]Manuel, Acabo de actualizar del repositorio y sin hacer nada me sale correctamente el Print/Preview: [/quote:34utyndv] Efectivamente son los últimos cambios que se han hecho para que funcione "de urgencia" , y se pueda utilizar e ir reportando errores . Aun faltan muchas cosas que se han comentado y mucho código que se esta enlazando que sobra , también código que mirar por si es interesante para mejorar el producto , pero ya parece que funciona, eso si, no totalmente estable .
empezando con easyPreview
Manuel, Sencillamente espectacular <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Mi mas sincera enhorabuena! Esta mañana pude dedicarle un rato, luego ya tuve que marcharme para hacer cosas, la familia, etc. y cuando he regresado ahora y lo he visto, me he quedado realmente asombrado! Ahora falta entender como lo has hecho. Si nos explicases un poco cual ha sido la estrategia para incluirlo y hacerlo funcionar, seguro que muchos te lo agradeceríamos <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
empezando con easyPreview
Realmente no he tenido que modificar demasiadas cosas , he renombrado la función de Tim Rpreview a ER_rpreview() ( nos sobra realmente ) , he enlazado los módulos necesarios y comentado las funciones que daban error para mas adelante revisarlas , ahora mismo sobra mucho código que se ha enlazado y alguno falla , he pasado dialogos no modales a modales de momento ( se ve que en el desarrollo inicial estaban en modal y quedaron a medias en el desarrollo de Tim ) . Falta algo de trabajo y el programa aún rompe en ocasiones , pero amenos se puede usar . Saludos a todos.
empezando con easyPreview
Si os habéis fijado, una vez lanzado el preview de un report, se puede volver a pulsar el boton "Imprimir" por lo que te crea otra ventana (por el tema de ser MdiChild) con otra previsualizacion del mismo reporte Una vez lanzado la previsualizacion del report habria que desactivar el boton imprimir y preview
empty date in xBrowse column
Hi all, is there a way to put an empty date into a xBrowse column with nEditType := EDIT_DATE? I have the case of columns with empty date contents. If a user triggers the datepicker control by accident or curiousity, there is no way to escape by leaving the column value empty. Thanks for each hint. Detlef
empty date in xBrowse column
If the original value is empty date, even after dtpicker is activated, pressing Esc restores the original value of empty date. Also, please add this code: [code=fw:3bov3sp2]<div class="fw" id="{CB}" style="font-family: monospace;">oCol:<span style="color: #000000;">bKeyDown</span> := <span style="color: #000000;">&#123;</span> |k,f,br,col| <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> k == <span style="color: #000000;">32</span>, <span style="color: #000000;">&#40;</span> col:<span style="color: #000000;">VarPut</span><span style="color: #000000;">&#40;</span> CTOD<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span>, <span style="color: #00C800;">nil</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span></div>[/code:3bov3sp2] If the original value is not an empty date, pressing Space key while on the cell makes it empty.
empty date in xBrowse column
Many thanks, Mr. Rao both tips are working fine.
empty file by Ftp
Hi, I have a txt file in a ftp directory with about 30 rows, how can I to empty it (not delete it) by Ftp class ? thank you
empty file by Ftp
Just create the empty file locally and then send it by ftp. EMG
empty icon group
Hello, In our program, in a particular occasion, there is an empty icon group. In this case the class crashes when the user press any key. [code=fw:7ad1nvnp]<div class="fw" id="{CB}" style="font-family: monospace;">Application<br />===========<br />   Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">C</span>:\Pos\TLPosWin.exe <span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span> bits<span style="color: #000000;">&#41;</span><br />   <span style="color: #0000ff;">Size</span>: <span style="color: #000000;">*********</span> bytes<br />   Compiler version: <span style="color: #000000;">Harbour</span> <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">&#40;</span>r1412151448<span style="color: #000000;">&#41;</span><br />   FiveWin  Version: <span style="color: #000000;">FWH</span> <span style="color: #000000;">15.03</span><br />   Windows version: <span style="color: #000000;">6.1</span>, Build <span style="color: #000000;">7601</span> Service Pack <span style="color: #000000;">1</span><br /><br />   Time <span style="color: #0000ff;">from</span> start: <span style="color: #000000;">0</span> hours <span style="color: #000000;">0</span> mins <span style="color: #000000;">16</span> secs <br />   Error occurred <span style="color: #00C800;">at</span>: <span style="color: #000000;">27</span>/<span style="color: #000000;">03</span>/<span style="color: #000000;">15</span>, <span style="color: #000000;">18</span>:<span style="color: #000000;">01</span>:<span style="color: #000000;">04</span><br />   Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">1132</span>  Limiti superati: <span style="color: #000000;">accesso</span> all<span style="color: #ff0000;">'array<br />   Args:<br />     [   1] = A   { ... } length: 0<br />     [   2] = N   0<br /><br />Stack Calls<br />===========<br />   Called from:  => ARRAY:__OPARRAYINDEX( 0 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\I</span>GROUP.PRG => TICONGROUP:KEYDOWN( 867 )<br />   Called from:  => TWINDOW:HANDLEEVENT( 0 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\C</span>ONTROL.PRG => TICONGROUP:HANDLEEVENT( 1733 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\W</span>INDOW.PRG => _FWH( 3355 )<br />   Called from:  => DIALOGBOX( 0 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\D</span>IALOG.PRG => TDIALOG:ACTIVATE( 287 )<br />   Called from: TLPosWin.prg => TODOLIST( 2508 )<br />   Called from: TLPosWin.prg => (b)COOLBAR_VARIE( 3902 )<br />   Called from: btnbmp.prg => TBTNBMP:CLICK( 608 )<br />   Called from: btnbmp.prg => TBTNBMP:LBUTTONUP( 823 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\C</span>ONTROL.PRG => TCONTROL:HANDLEEVENT( 1723 )<br />   Called from: btnbmp.prg => TBTNBMP:HANDLEEVENT( 1620 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\W</span>INDOW.PRG => _FWH( 3355 )<br />   Called from:  => WINRUN( 0 )<br />   Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\W</span>INDOW.PRG => TWINDOW:ACTIVATE( 1057 )<br />   Called from: TLPosWin.prg => MAIN( 841 )<br /><br />System<br />======<br />   CPU type: Intel(R) Core(TM)2 Duo CPU     E7400  @ 2.80GHz -2147483648 Mhz<br />   Hardware memory: 4095 megs<br /><br />   Free System resources: 90 %<br />        GDI    resources: 90 %<br />        User   resources: 90 %<br /><br />   Windows total applications running: 7<br />      1 ,                                                                                                     <br />      2 , C:<span style="color: #000000;">\P</span>os<span style="color: #000000;">\T</span>LPosWin.exe                                                                                 <br />      3 , C:<span style="color: #000000;">\P</span>os<span style="color: #000000;">\f</span>reeimage.dll                                                                                <br />      4 , C:<span style="color: #000000;">\W</span>indows<span style="color: #000000;">\W</span>inSxS<span style="color: #000000;">\x</span>86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e697 <br />      5 , C:<span style="color: #000000;">\W</span>indows<span style="color: #000000;">\s</span>yswow64<span style="color: #000000;">\S</span>HLWAPI.dll                                                                     <br />      6 DDE Server Window, C:<span style="color: #000000;">\W</span>indows<span style="color: #000000;">\s</span>yswow64<span style="color: #000000;">\o</span>le32.dll                                                                       <br />      7 GDI+ Window, C:<span style="color: #000000;">\W</span>indows<span style="color: #000000;">\W</span>inSxS<span style="color: #000000;">\x</span>86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18455_none_72d576ad8665e8 <br /><br />Variables in use<br />================<br />   Procedure     Type   Value<br />   ==========================<br />   ARRAY:__OPARRAYINDEX<br />     Param   1:    O    Class: ERROR<br />   TICONGROUP:KEYDOWN<br />     Param   1:    N    0<br />     Local   1:    U    <br />     Local   2:    U    <br />   TWINDOW:HANDLEEVENT<br />     Param   1:    N    27<br />     Param   2:    N    65537<br />     Local   1:    O    Class: TICONGROUP<br />     Local   2:    N    0<br />     Local   3:    N    0<br />     Local   4:    U    <br />     Local   5:    A    Len:    0<br />     Local   6:    N    0<br />   TICONGROUP:HANDLEEVENT<br />     Param   1:    N    256<br />     Param   2:    N    27<br />     Param   3:    N    65537<br />   _FWH<br />     Param   1:    N    256<br />     Param   2:    N    27<br />     Param   3:    N    65537<br />     Local   1:    U    <br />   DIALOGBOX<br />     Param   1:    N    65537<br />     Param   2:    N    256<br />     Param   3:    N    27<br />     Param   4:    N    65537<br />     Param   5:    N    37<br />     Local   1:    O    Class: TICONGROUP<br />   TDIALOG:ACTIVATE<br />     Param   1:    N    1310720<br />     Param   2:    C    "DLG_TODO"<br />     Param   3:    N    1255060<br />     Param   4:    O    Class: TDIALOG<br />   TODOLIST<br />     Param   1:    U    <br />     Param   2:    U    <br />     Param   3:    U    <br />     Param   4:    L    .F.<br />     Param   5:    B    {|| ... }<br />     Param   6:    L    .T.<br />     Param   7:    B    {|| ... }<br />     Param   8:    U    <br />     Param   9:    U    <br />     Param  10:    L    .F.<br />     Param  11:    L    .F.<br />     Local   1:    N    1255060<br />     Local   2:    S    <br />     Local   3:    O    Class: TDIALOG<br />   (b)COOLBAR_VARIE<br />     Param   1:    A    Len:   25<br />     Param   2:    L    .T.<br />     Local   1:    O    Class: TDIALOG<br />     Local   2:    O    Class: TMULTIGET<br />     Local   3:    O    Class: TICONGROUP<br />     Local   4:    O    Class: TSPLITTER<br />     Local   5:    O    Class: TSPLITTER<br />     Local   6:    O    Class: TSPLITTER<br />     Local   7:    O    Class: TXBROWSE<br />     Local   8:    C    ""<br />     Local   9:    A    Len:    0<br />     Local  10:    A    Len:    0<br />     Local  11:    A    Len:    1<br />     Local  12:    A    Len:    0<br />     Local  13:    A    Len:    0<br />     Local  14:    A    Len:    8<br />     Local  15:    N    9<br />     Local  16:    O    Class: TGRAPH<br />     Local  17:    A    Len:   12<br />     Local  18:    A    Len:    5<br />     Local  19:    N    0<br />     Local  20:    O    Class: TFONT<br />   TBTNBMP:CLICK<br />     Param   1:    O    Class: TBTNBMP<br />   TBTNBMP:LBUTTONUP<br />   TCONTROL:HANDLEEVENT<br />     Param   1:    N    32<br />     Param   2:    N    35<br />     Param   3:    N    0<br />     Local   1:    L    .T.<br />     Local   2:    S    <br />   TBTNBMP:HANDLEEVENT<br />     Param   1:    N    514<br />     Param   2:    N    0<br />     Param   3:    N    2097187<br />     Local   1:    U    <br />   _FWH<br />     Param   1:    N    514<br />     Param   2:    N    0<br />     Param   3:    N    2097187<br />   WINRUN<br />     Param   1:    N    2097187<br />     Param   2:    N    514<br />     Param   3:    N    0<br />     Param   4:    N    2097187<br />     Param   5:    N    19<br />     Local   1:    O    Class: TBTNBMP<br />   TWINDOW:ACTIVATE<br />     Param   1:    N    1255060<br />   MAIN<br />     Param   1:    C    "MAXIMIZED"<br />     Param   2:    U    <br />     Param   3:    B    {|| ... }<br />     Param   4:    U    <br />     Param   5:    B    {|| ... }<br />     Param   6:    U    <br />     Param   7:    U    <br />     Param   8:    B    {|| ... }<br />     Param   9:    U    <br />     Param  10:    U    <br />     Param  11:    U    <br />     Param  12:    U    <br />     Param  13:    U    <br />     Param  14:    U    <br />     Param  15:    U    <br />     Param  16:    U    <br />     Param  17:    B    {|| ... }<br />     Param  18:    U    <br />     Param  19:    U    <br />     Param  20:    L    .F.<br />     Local   1:    O    Class: TWINDOW<br />     Local   2:    U    <br />     Local   3:    U    <br /><br />---CUT---</span></div>[/code:7ad1nvnp] If I add a control here, it crashes on VK_RETURN: [code=fw:7ad1nvnp]<div class="fw" id="{CB}" style="font-family: monospace;">Application<br />===========<br />&nbsp; &nbsp;Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">C</span>:\Pos\TLPosWin.exe <span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span> bits<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">Size</span>: <span style="color: #000000;">*********</span> bytes<br />&nbsp; &nbsp;Compiler version: <span style="color: #000000;">Harbour</span> <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">&#40;</span>r1412151448<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;FiveWin &nbsp;Version: <span style="color: #000000;">FWH</span> <span style="color: #000000;">15.03</span><br />&nbsp; &nbsp;Windows version: <span style="color: #000000;">6.1</span>, Build <span style="color: #000000;">7601</span> Service Pack <span style="color: #000000;">1</span><br /><br />&nbsp; &nbsp;Time <span style="color: #0000ff;">from</span> start: <span style="color: #000000;">0</span> hours <span style="color: #000000;">0</span> mins <span style="color: #000000;">33</span> secs <br />&nbsp; &nbsp;Error occurred <span style="color: #00C800;">at</span>: <span style="color: #000000;">27</span>/<span style="color: #000000;">03</span>/<span style="color: #000000;">15</span>, <span style="color: #000000;">18</span>:<span style="color: #000000;">10</span>:<span style="color: #000000;">00</span><br />&nbsp; &nbsp;Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">1132</span> &nbsp;Limiti superati: <span style="color: #000000;">accesso</span> all<span style="color: #ff0000;">'array<br />&nbsp; &nbsp;Args:<br />&nbsp; &nbsp; &nbsp;[ &nbsp; 1] = A &nbsp; { ... } length: 0<br />&nbsp; &nbsp; &nbsp;[ &nbsp; 2] = N &nbsp; 0<br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called from: &nbsp;=> ARRAY:__OPARRAYINDEX( 0 )<br />&nbsp; &nbsp;Called from: igroup.prg => TICONGROUP:KEYDOWN( 895 )<br />&nbsp; &nbsp;Called from: &nbsp;=> TWINDOW:HANDLEEVENT( 0 )<br />&nbsp; &nbsp;Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\C</span>ONTROL.PRG => TICONGROUP:HANDLEEVENT( 1733 )<br />&nbsp; &nbsp;Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\W</span>INDOW.PRG => _FWH( 3355 )<br />&nbsp; &nbsp;Called from: &nbsp;=> DIALOGBOX( 0 )<br />&nbsp; &nbsp;Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\D</span>IALOG.PRG => TDIALOG:ACTIVATE( 287 )<br />&nbsp; &nbsp;Called from: TLPosWin.prg => TODOLIST( 2508 )<br />&nbsp; &nbsp;Called from: TLPosWin.prg => (b)COOLBAR_VARIE( 3902 )<br />&nbsp; &nbsp;Called from: btnbmp.prg => TBTNBMP:CLICK( 608 )<br />&nbsp; &nbsp;Called from: btnbmp.prg => TBTNBMP:LBUTTONUP( 823 )<br />&nbsp; &nbsp;Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\C</span>ONTROL.PRG => TCONTROL:HANDLEEVENT( 1723 )<br />&nbsp; &nbsp;Called from: btnbmp.prg => TBTNBMP:HANDLEEVENT( 1620 )<br />&nbsp; &nbsp;Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\W</span>INDOW.PRG => _FWH( 3355 )<br />&nbsp; &nbsp;Called from: &nbsp;=> WINRUN( 0 )<br />&nbsp; &nbsp;Called from: .<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\c</span>lasses<span style="color: #000000;">\W</span>INDOW.PRG => TWINDOW:ACTIVATE( 1057 )<br />&nbsp; &nbsp;Called from: TLPosWin.prg => MAIN( 841 )<br /><br />System<br />======<br />&nbsp; &nbsp;CPU type: Intel(R) Core(TM)2 Duo CPU &nbsp; &nbsp; E7400 &nbsp;@ 2.80GHz 75 Mhz<br />&nbsp; &nbsp;Hardware memory: 4095 megs<br /><br />&nbsp; &nbsp;Free System resources: 90 %<br />&nbsp; &nbsp; &nbsp; &nbsp; GDI &nbsp; &nbsp;resources: 90 %<br />&nbsp; &nbsp; &nbsp; &nbsp; User &nbsp; resources: 90 %<br /><br />&nbsp; &nbsp;Windows total applications running: 7<br />&nbsp; &nbsp; &nbsp; 1 , &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; 2 , C:<span style="color: #000000;">\P</span>os<span style="color: #000000;">\T</span>LPosWin.exe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; 3 , C:<span style="color: #000000;">\P</span>os<span style="color: #000000;">\f</span>reeimage.dll &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; 4 , C:<span style="color: #000000;">\W</span>indows<span style="color: #000000;">\W</span>inSxS<span style="color: #000000;">\x</span>86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e697 <br />&nbsp; &nbsp; &nbsp; 5 , C:<span style="color: #000000;">\W</span>indows<span style="color: #000000;">\s</span>yswow64<span style="color: #000000;">\S</span>HLWAPI.dll &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; 6 DDE Server Window, C:<span style="color: #000000;">\W</span>indows<span style="color: #000000;">\s</span>yswow64<span style="color: #000000;">\o</span>le32.dll &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; 7 GDI+ Window, C:<span style="color: #000000;">\W</span>indows<span style="color: #000000;">\W</span>inSxS<span style="color: #000000;">\x</span>86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18455_none_72d576ad8665e8 <br /><br />Variables in use<br />================<br />&nbsp; &nbsp;Procedure &nbsp; &nbsp; Type &nbsp; Value<br />&nbsp; &nbsp;==========================<br />&nbsp; &nbsp;ARRAY:__OPARRAYINDEX<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 1: &nbsp; &nbsp;O &nbsp; &nbsp;Class: ERROR<br />&nbsp; &nbsp;TICONGROUP:KEYDOWN<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 1: &nbsp; &nbsp;N &nbsp; &nbsp;0<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 1: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 2: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp;TWINDOW:HANDLEEVENT<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 1: &nbsp; &nbsp;N &nbsp; &nbsp;13<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 2: &nbsp; &nbsp;N &nbsp; &nbsp;1835009<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 1: &nbsp; &nbsp;O &nbsp; &nbsp;Class: TICONGROUP<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 2: &nbsp; &nbsp;N &nbsp; &nbsp;0<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 3: &nbsp; &nbsp;N &nbsp; &nbsp;0<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 4: &nbsp; &nbsp;C &nbsp; &nbsp;""<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 5: &nbsp; &nbsp;S &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 6: &nbsp; &nbsp;A &nbsp; &nbsp;Len: &nbsp; &nbsp;0<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 7: &nbsp; &nbsp;N &nbsp; &nbsp;0<br />&nbsp; &nbsp;TICONGROUP:HANDLEEVENT<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 1: &nbsp; &nbsp;N &nbsp; &nbsp;256<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 2: &nbsp; &nbsp;N &nbsp; &nbsp;13<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 3: &nbsp; &nbsp;N &nbsp; &nbsp;1835009<br />&nbsp; &nbsp;_FWH<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 1: &nbsp; &nbsp;N &nbsp; &nbsp;256<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 2: &nbsp; &nbsp;N &nbsp; &nbsp;13<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 3: &nbsp; &nbsp;N &nbsp; &nbsp;1835009<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 1: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp;DIALOGBOX<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 1: &nbsp; &nbsp;N &nbsp; &nbsp;1835009<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 2: &nbsp; &nbsp;N &nbsp; &nbsp;256<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 3: &nbsp; &nbsp;N &nbsp; &nbsp;13<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 4: &nbsp; &nbsp;N &nbsp; &nbsp;1835009<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 5: &nbsp; &nbsp;N &nbsp; &nbsp;37<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 1: &nbsp; &nbsp;O &nbsp; &nbsp;Class: TICONGROUP<br />&nbsp; &nbsp;TDIALOG:ACTIVATE<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 1: &nbsp; &nbsp;N &nbsp; &nbsp;14024704<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 2: &nbsp; &nbsp;C &nbsp; &nbsp;"DLG_TODO"<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 3: &nbsp; &nbsp;N &nbsp; &nbsp;1517418<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 4: &nbsp; &nbsp;O &nbsp; &nbsp;Class: TDIALOG<br />&nbsp; &nbsp;TODOLIST<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 1: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 2: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 3: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 4: &nbsp; &nbsp;L &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 5: &nbsp; &nbsp;B &nbsp; &nbsp;{|| ... }<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 6: &nbsp; &nbsp;L &nbsp; &nbsp;.T.<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 7: &nbsp; &nbsp;B &nbsp; &nbsp;{|| ... }<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 8: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 9: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;10: &nbsp; &nbsp;L &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;Param &nbsp;11: &nbsp; &nbsp;L &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 1: &nbsp; &nbsp;N &nbsp; &nbsp;1517418<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 2: &nbsp; &nbsp;S &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 3: &nbsp; &nbsp;O &nbsp; &nbsp;Class: TDIALOG<br />&nbsp; &nbsp;(b)COOLBAR_VARIE<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 1: &nbsp; &nbsp;A &nbsp; &nbsp;Len: &nbsp; 25<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 2: &nbsp; &nbsp;L &nbsp; &nbsp;.T.<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 1: &nbsp; &nbsp;O &nbsp; &nbsp;Class: TDIALOG<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 2: &nbsp; &nbsp;O &nbsp; &nbsp;Class: TMULTIGET<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 3: &nbsp; &nbsp;O &nbsp; &nbsp;Class: TICONGROUP<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 4: &nbsp; &nbsp;O &nbsp; &nbsp;Class: TSPLITTER<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 5: &nbsp; &nbsp;O &nbsp; &nbsp;Class: TSPLITTER<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 6: &nbsp; &nbsp;O &nbsp; &nbsp;Class: TSPLITTER<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 7: &nbsp; &nbsp;O &nbsp; &nbsp;Class: TXBROWSE<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 8: &nbsp; &nbsp;C &nbsp; &nbsp;""<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 9: &nbsp; &nbsp;A &nbsp; &nbsp;Len: &nbsp; &nbsp;0<br />&nbsp; &nbsp; &nbsp;Local &nbsp;10: &nbsp; &nbsp;A &nbsp; &nbsp;Len: &nbsp; &nbsp;0<br />&nbsp; &nbsp; &nbsp;Local &nbsp;11: &nbsp; &nbsp;A &nbsp; &nbsp;Len: &nbsp; &nbsp;1<br />&nbsp; &nbsp; &nbsp;Local &nbsp;12: &nbsp; &nbsp;A &nbsp; &nbsp;Len: &nbsp; &nbsp;0<br />&nbsp; &nbsp; &nbsp;Local &nbsp;13: &nbsp; &nbsp;A &nbsp; &nbsp;Len: &nbsp; &nbsp;0<br />&nbsp; &nbsp; &nbsp;Local &nbsp;14: &nbsp; &nbsp;A &nbsp; &nbsp;Len: &nbsp; &nbsp;8<br />&nbsp; &nbsp; &nbsp;Local &nbsp;15: &nbsp; &nbsp;N &nbsp; &nbsp;9<br />&nbsp; &nbsp; &nbsp;Local &nbsp;16: &nbsp; &nbsp;O &nbsp; &nbsp;Class: TGRAPH<br />&nbsp; &nbsp; &nbsp;Local &nbsp;17: &nbsp; &nbsp;A &nbsp; &nbsp;Len: &nbsp; 12<br />&nbsp; &nbsp; &nbsp;Local &nbsp;18: &nbsp; &nbsp;A &nbsp; &nbsp;Len: &nbsp; &nbsp;5<br />&nbsp; &nbsp; &nbsp;Local &nbsp;19: &nbsp; &nbsp;N &nbsp; &nbsp;0<br />&nbsp; &nbsp; &nbsp;Local &nbsp;20: &nbsp; &nbsp;O &nbsp; &nbsp;Class: TFONT<br />&nbsp; &nbsp;TBTNBMP:CLICK<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 1: &nbsp; &nbsp;O &nbsp; &nbsp;Class: TBTNBMP<br />&nbsp; &nbsp;TBTNBMP:LBUTTONUP<br />&nbsp; &nbsp;TCONTROL:HANDLEEVENT<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 1: &nbsp; &nbsp;N &nbsp; &nbsp;19<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 2: &nbsp; &nbsp;N &nbsp; &nbsp;16<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 3: &nbsp; &nbsp;N &nbsp; &nbsp;0<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 1: &nbsp; &nbsp;L &nbsp; &nbsp;.T.<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 2: &nbsp; &nbsp;S &nbsp; &nbsp;<br />&nbsp; &nbsp;TBTNBMP:HANDLEEVENT<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 1: &nbsp; &nbsp;N &nbsp; &nbsp;514<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 2: &nbsp; &nbsp;N &nbsp; &nbsp;0<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 3: &nbsp; &nbsp;N &nbsp; &nbsp;1245200<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 1: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp;_FWH<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 1: &nbsp; &nbsp;N &nbsp; &nbsp;514<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 2: &nbsp; &nbsp;N &nbsp; &nbsp;0<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 3: &nbsp; &nbsp;N &nbsp; &nbsp;1245200<br />&nbsp; &nbsp;WINRUN<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 1: &nbsp; &nbsp;N &nbsp; &nbsp;1245200<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 2: &nbsp; &nbsp;N &nbsp; &nbsp;514<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 3: &nbsp; &nbsp;N &nbsp; &nbsp;0<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 4: &nbsp; &nbsp;N &nbsp; &nbsp;1245200<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 5: &nbsp; &nbsp;N &nbsp; &nbsp;19<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 1: &nbsp; &nbsp;O &nbsp; &nbsp;Class: TBTNBMP<br />&nbsp; &nbsp;TWINDOW:ACTIVATE<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 1: &nbsp; &nbsp;N &nbsp; &nbsp;1517418<br />&nbsp; &nbsp;MAIN<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 1: &nbsp; &nbsp;C &nbsp; &nbsp;"MAXIMIZED"<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 2: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 3: &nbsp; &nbsp;B &nbsp; &nbsp;{|| ... }<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 4: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 5: &nbsp; &nbsp;B &nbsp; &nbsp;{|| ... }<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 6: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 7: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 8: &nbsp; &nbsp;B &nbsp; &nbsp;{|| ... }<br />&nbsp; &nbsp; &nbsp;Param &nbsp; 9: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;10: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;11: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;12: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;13: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;14: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;15: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;16: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;17: &nbsp; &nbsp;B &nbsp; &nbsp;{|| ... }<br />&nbsp; &nbsp; &nbsp;Param &nbsp;18: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;19: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;20: &nbsp; &nbsp;L &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 1: &nbsp; &nbsp;O &nbsp; &nbsp;Class: TWINDOW<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 2: &nbsp; &nbsp;U &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Local &nbsp; 3: &nbsp; &nbsp;U &nbsp; &nbsp;<br />---CUT---<br /></span></div>[/code:7ad1nvnp] Regards, Antonino Perricone
empty icon group
Antonino, Try this: [code=fw:wd36v78i]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">METHOD</span> KeyDown<span style="color: #000000;">&#40;</span> nKey, nFlags <span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TIconGroup<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> nAt := ::<span style="color: #000000;">nFocused</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> nLen := Len<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">aIcons</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> cPrompt := ::<span style="color: #000000;">aPrompts</span><span style="color: #000000;">&#91;</span> <span style="color: #0000ff;">Min</span><span style="color: #000000;">&#40;</span> nAt, Len<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">aPrompts</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #B900B9;">// here!</span><br />&nbsp;</div>[/code:wd36v78i]
emulador compatible con shared
Hola a Todos Donde se puede bajar una emulador de WM2005 que sea compatible con la clausula SHARED?
emulador compatible con shared
Arturo, <!-- m --><a class="postlink" href="http://rapidshare.com/files/70865992/PPC_2005.ZIP.html">http://rapidshare.com/files/70865992/PPC_2005.ZIP.html</a><!-- m -->
emulador compatible con shared
[quote="Antonio Linares":2wdczdgo]Arturo, <!-- m --><a class="postlink" href="http://rapidshare.com/files/70865992/PPC_2005.ZIP.html">http://rapidshare.com/files/70865992/PPC_2005.ZIP.html</a><!-- m -->[/quote:2wdczdgo] Gracias Antonio. Pero al parecer no me explique bien. Me refiero a la clausula SHARED DEL USE en FWPPC: USE ( CurDir() + "\arch.dbf" ) SHARED NEW Trabaja correctamente en mi dispositivo, pero no asi en el emulador de microsoft para PocketPC, el cual es el que se recomienda en el proceso de instalacion de FWPPC, aun cuando opera en MODO WIN MOBILE 2005. La pregunta es: Alguien conoce alguna version de emulador de POCKET-PC que soporte abrir DBF's en modo SHARED?
emulador compatible con shared
Arturo, No posiciones las DBFs en la tarjeta de memoria del emulador sino en un directorio del Pocket PC y SHARED debe funcionar bien
emulate ordscope on array
I have two arrays and I have to save them in two dbf the two arrays are linked by a nItem code If I had two dbf I would know how to do it using ordscope but with arrays I don't know how to do it [b:32csr0wg]Main Array[/b:32csr0wg] I must save on invoice.dbf [img:32csr0wg]https&#58;//i&#46;postimg&#46;cc/0QNM6snM/main&#46;png[/img:32csr0wg] [b:32csr0wg]On first array[/b:32csr0wg] First column ----> nItem (as secondary array) Second column ----> type Item Third column ----> date fourth column ----> date [b:32csr0wg]Secondary Array[/b:32csr0wg] I must save on articles.dbf [img:32csr0wg]https&#58;//i&#46;postimg&#46;cc/bYs3GGmT/righe&#46;png[/img:32csr0wg] [b:32csr0wg]nItem[/b:32csr0wg] is the first column on each arrays [b:32csr0wg]On second array [/b:32csr0wg] First column ----> nItem (of first array) Second column ----> button number Third column ----> line number on the invoice fourth column ----> product description fifth column ----> product price sixth column ----> product image seventh column ----> product type
en FW existe un boton con un list?
Hola. Existe en fW un boton que en la parte derecha tenga una flecha que al tocar despliegue una lista de, por ejemplo, items? gracias.
en FW existe un boton con un list?
Puedes usar el GET con ACTION. En la funcion que llame el action puedes tener un browse que muestre los items y los elija. [code=fw:vv6p4tn6]<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;">"xbrowse.ch"</span> <br /><br /><span style="color: #00C800;">function</span> main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <br /><span style="color: #00C800;">LOCAL</span> oDlg, oGet, oBot, cDato := SPACE<span style="color: #000000;">&#40;</span><span style="color: #000000;">30</span><span style="color: #000000;">&#41;</span><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;">"Boton con ACTION"</span> <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">05</span>,<span style="color: #000000;">15</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">25</span>,<span style="color: #000000;">90</span><br />&nbsp; &nbsp; oDlg:<span style="color: #000000;">lHelpIcon</span> := .f.<br />&nbsp; &nbsp; @ <span style="color: #000000;">07</span>, <span style="color: #000000;">05</span> <span style="color: #0000ff;">SAY</span> <span style="color: #ff0000;">"Completar dato:"</span> <span style="color: #0000ff;">OF</span> oDlg &nbsp;<span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">60</span>,<span style="color: #000000;">20</span> <span style="color: #0000ff;">RIGHT</span><br />&nbsp; &nbsp; @ <span style="color: #000000;">05</span>, <span style="color: #000000;">70</span> <span style="color: #0000ff;">GET</span> oGet <span style="color: #0000ff;">VAR</span> cDato &nbsp; &nbsp;<span style="color: #0000ff;">OF</span> oDlg &nbsp;<span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">60</span>,<span style="color: #000000;">20</span> CUEBANNER <span style="color: #ff0000;">"Escriba el Dato"</span>;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ACTION</span> &nbsp;<span style="color: #000000;">&#40;</span>oGet:<span style="color: #000000;">cText</span> := Buscar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> BITMAP <span style="color: #ff0000;">"C:<span style="color: #000000;">\f</span>wh16<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\d</span>arrow.bmp"</span><br />&nbsp; &nbsp; @ <span style="color: #000000;">50</span>, <span style="color: #000000;">70</span> <span style="color: #0000ff;">BUTTON</span> oBot <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&Ok"</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">30</span>,<span style="color: #000000;">10</span> <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> &nbsp;<span style="color: #0000ff;">PIXEL</span> &nbsp;<br />&nbsp; &nbsp; <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTER</span> <br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> Buscar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> aItems := <span style="color: #000000;">&#123;</span><span style="color: #ff0000;">"Opcion 1"</span>,<span style="color: #ff0000;">"Opcion 2"</span>,<span style="color: #ff0000;">"Opcion 3"</span><span style="color: #000000;">&#125;</span>, oDlg, oBrw, oBot<br /><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Buscar "</span> <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">09</span>,<span style="color: #000000;">15</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">28</span>,<span style="color: #000000;">60</span> <br />&nbsp; &nbsp;oDlg:<span style="color: #000000;">lHelpIcon</span> := .f.<br />&nbsp; &nbsp;@ <span style="color: #000000;">01</span>,<span style="color: #000000;">01</span> <span style="color: #0000ff;">XBROWSE</span> oBrw ARRAY aItems <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">100</span>,<span style="color: #000000;">140</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp;COLUMNS <span style="color: #000000;">1</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp;HEADERS <span style="color: #ff0000;">"Opciones"</span><br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;@<span style="color: #000000;">10</span>,<span style="color: #000000;">150</span> <span style="color: #0000ff;">BUTTON</span> oBot <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&Ok"</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">30</span>,<span style="color: #000000;">10</span> <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> <span style="color: #0000ff;">PIXEL</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTER</span> <br /><span style="color: #00C800;">RETURN</span> aItems<span style="color: #000000;">&#91;</span>oBrw:<span style="color: #000000;">nRowSel</span><span style="color: #000000;">&#93;</span></div>[/code:vv6p4tn6]
en FW existe un boton con un list?
[quote="goosfancito":14nz96e4]Hola. Existe en fW un boton que en la parte derecha tenga una flecha que al tocar despliegue una lista de, por ejemplo, items? gracias.[/quote:14nz96e4] Porque no usar el combobox/dbcombo.? ...saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
en FW existe un boton con un list?
hola. Si podría, pero quiero ver si puedo utilizarlo de otra forma, por eso me gustaría poder tener un boton que este como partido en dos. Como este boton, que justamente es lo que quiero hacer, cuando presiono la flecha que aparezca una lista. un menu. <!-- m --><a class="postlink" href="https://drive.google.com/file/d/0B7Y1b0fXI8iCVS1KQVJLZWt3eW8/view?usp=sharing">https://drive.google.com/file/d/0B7Y1b0 ... sp=sharing</a><!-- m --> gracias.
en FW existe un boton con un list?
[quote="goosfancito":2dzbylio]hola. Si podría, pero quiero ver si puedo utilizarlo de otra forma, por eso me gustaría poder tener un boton que este como partido en dos. Como este boton, que justamente es lo que quiero hacer, cuando presiono la flecha que aparezca una lista. un menu. <!-- m --><a class="postlink" href="https://drive.google.com/file/d/0B7Y1b0fXI8iCVS1KQVJLZWt3eW8/view?usp=sharing">https://drive.google.com/file/d/0B7Y1b0 ... sp=sharing</a><!-- m --> gracias.[/quote:2dzbylio] Creo la mejor opcion es la q te da CMSOFT, sino colocas un boton normal pequeño 16x16 al lado del GET, pero creo es innecesario a menos que quieras tener independencia de las acciones de ambos recursos, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
en FW existe un boton con un list?
no lo coloco porque quiero ver si puedo hacerlo con un button. gracias.
en FW existe un boton con un list?
No se si en los samples de la TRibbon vi algo como lo que quieres, un boton con un despliegue, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
en FW existe un boton con un list?
Gustavo, Puedes usar la función PopupBrowse() de FWH, pero sólo está disponible a partir de la versión 15.11 [code=fw:otgvew16]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; @ &nbsp; <span style="color: #000000;">4</span>, <span style="color: #000000;">4</span> <span style="color: #0000ff;">GET</span> oGetClient <span style="color: #0000ff;">VAR</span> oRec:<span style="color: #00C800;">Client</span> <span style="color: #0000ff;">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> cClient := Clients-><span style="color: #000000;">&#40;</span> PopupBrowse<span style="color: #000000;">&#40;</span> oWndClients:<span style="color: #000000;">oClient</span>:<span style="color: #000000;">oRs</span>, oGetClient <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> cClient != <span style="color: #00C800;">nil</span>, oRec:<span style="color: #00C800;">Client</span> := cClient,<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span></div>[/code:otgvew16] [img:otgvew16]https&#58;//bitbucket&#46;org/fivetech/screenshots/downloads/popupbrowse&#46;JPG[/img:otgvew16]
en FW existe un boton con un list?
a ok. voy a tratar en algun tiempo que tenga de modificar la clase tbutton para que pueda hacer lo que necesito. gracias.
en FW existe un boton con un list?
Buenas: Lo que buscas es exactamente esto: [code=fw:gy0wyjss]<div class="fw" id="{CB}" style="font-family: monospace;">....<br />  <span style="color: #0000ff;">redefine</span> buttonbmp obtn<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> bitmap <span style="color: #ff0000;">'nuevo'</span> <span style="color: #0000ff;">prompt</span> CRLF+CRLF+CRLF+<span style="color: #ff0000;">'Nuevo'</span> TEXTbottom <span style="color: #0000ff;">id</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">of</span> odlg1 <span style="color: #0000ff;">action</span> menubaY<span style="color: #000000;">&#40;</span>obtn<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>,sectorC<span style="color: #000000;">&#41;</span> ;    obtn<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">ctooltip</span>:= <span style="color: #ff0000;">'Nueva factura'</span><br />.....<br /><br /><br />funct menubaY<span style="color: #000000;">&#40;</span> obot1, sectorC <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">Local</span> oMenu, aRect<br />   aRect := GetClientRect<span style="color: #000000;">&#40;</span> obot1:<span style="color: #000000;">hWnd</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #0000ff;">menu</span> omenu1 <span style="color: #0000ff;">popup</span> <span style="color: #000000;">2007</span><br />     <span style="color: #0000ff;">menuitem</span> <span style="color: #ff0000;">'&Nueva factura'</span> <span style="color: #0000ff;">action</span>  <span style="color: #000000;">&#40;</span>iif<span style="color: #000000;">&#40;</span>sectorC=<span style="color: #ff0000;">'servicio'</span>,newfactu<span style="color: #000000;">&#40;</span>.t.,sectorC,<span style="color: #ff0000;">'Facturas'</span><span style="color: #000000;">&#41;</span>,newfactura<span style="color: #000000;">&#40;</span>.t.,,,<span style="color: #ff0000;">'factura'</span>,<span style="color: #ff0000;">'Facturas'</span>,.t.,sectorC<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>,gesfactu-><span style="color: #000000;">&#40;</span>OrdSetFocus<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'factuf'</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>,gesfactu-><span style="color: #000000;">&#40;</span>DbSetOrder<span style="color: #000000;">&#40;</span>oTabs:<span style="color: #000000;">noption</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>,lisfa:<span style="color: #0000ff;">refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,lisfa:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />     <span style="color: #0000ff;">menuitem</span> <span style="color: #ff0000;">'&Duplicar '</span>+iif<span style="color: #000000;">&#40;</span>versionOPC<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> .or. versionMUL<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,<span style="color: #ff0000;">''</span>,<span style="color: #ff0000;">'(SOLO para versión ELITE)'</span><span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">action</span> dupliF<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">when</span> iif<span style="color: #000000;">&#40;</span>versionOPC<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> .or. versionMUL<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,.t.,.f.<span style="color: #000000;">&#41;</span><br />     <span style="color: #0000ff;">separator</span><br />     <span style="color: #0000ff;">menuitem</span> <span style="color: #ff0000;">'Cancelar'</span> <span style="color: #0000ff;">action</span> omenu1:<span style="color: #000000;">end</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #0000ff;">endmenu</span><br />   <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">POPUP</span> omenu1 <span style="color: #00C800;">AT</span> aRect<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> + <span style="color: #000000;">1</span>, aRect<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">OF</span> oBot1<br /><span style="color: #00C800;">return</span><br /><br /><br /> </div>[/code:gy0wyjss]
en FW existe un boton con un list?
Amigos, modo simples: [code=fw:2s1503jw]<div class="fw" id="{CB}" style="font-family: monospace;"><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg...<br />   ...<br />   <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> DlgSetup<span style="color: #000000;">&#40;</span>oDlg<span style="color: #000000;">&#41;</span><br />   ...<br /><span style="color: #00C800;">Function</span> DlgSetup<span style="color: #000000;">&#40;</span>oDlg<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">local</span> oBar, oMnu, oBB<br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTONBAR</span> oBar  <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">35</span>, <span style="color: #000000;">35</span>  <span style="color: #0000ff;">OF</span> oDlg<br />   oBar:<span style="color: #000000;">bRClicked</span>:=oBar:<span style="color: #000000;">bLClicked</span>:=<span style="color: #000000;">&#123;</span>|| <span style="color: #00C800;">nil</span> <span style="color: #000000;">&#125;</span><br />   ...<br />   <span style="color: #0000ff;">MENU</span> oMnu <span style="color: #0000ff;">POPUP</span><br />        <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Pesquisa 1"</span>  <span style="color: #0000ff;">ACTION</span> DoPesq1<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />        <span style="color: #0000ff;">SEPARATOR</span>  <br />        <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Pesquisa 2"</span>  <span style="color: #0000ff;">ACTION</span> DoPesq2<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #0000ff;">ENDMENU</span>   <br />*<br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> oBB  <span style="color: #0000ff;">OF</span> oBar  <span style="color: #0000ff;">RESOURCE</span> <span style="color: #ff0000;">"FIND"</span>  <span style="color: #0000ff;">MENU</span> oMnu  NOBORDER ;<br />          TOOLTIP <span style="color: #ff0000;">"Pesquisa"</span>   <span style="color: #0000ff;">ACTION</span> oBB:<span style="color: #000000;">oPopup</span>:<span style="color: #0000ff;">Activate</span><span style="color: #000000;">&#40;</span> oBB:<span style="color: #000000;">nBottom</span>, oBB:<span style="color: #000000;">nLeft</span>, oBar, .f. <span style="color: #000000;">&#41;</span><br />   ...<br /> </div>[/code:2s1503jw] Saludos, Euclides
en TWbrowse se puede ocultar una columna?
eso. gracias.
en TWbrowse se puede ocultar una columna?
Si se puede ocultar, hay que darle ancho 0 saludos
en TWbrowse se puede ocultar una columna?
[quote="pymsoft":3ij79ubs]Si se puede ocultar, hay que darle ancho 0 saludos[/quote:3ij79ubs] SI pero al darle ancho 0 se puede luego cambiar el tamaño, lo que quiero es que esa columna "visualmente" no exista. que no se pueda cambiar el tamaño ni su lugar. gracias.
en TWbrowse se puede ocultar una columna?
Acabo de hacer la prueba con twbrowse, dandole ancho 0, y no se puede modificar el ancho (al menos con el mouse) y tampoco mover o cambiar de lugar. Saludos
en TWbrowse se puede ocultar una columna?
Alguna vez hice esto para ocultar columnas a conveniencia: [code=fw:1ikdc93y]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// Para ocultar columnas durante la ejecución</span><br /><br /><span style="color: #00C800;">METHOD</span> SetSizes<span style="color: #000000;">&#40;</span> aHeader, aSizes <span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TWBrowse &nbsp; <span style="color: #B900B9;">// AAL</span><br /><br />&nbsp; &nbsp;::<span style="color: #000000;">aHeaders</span> &nbsp;:= <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> aHeader != <span style="color: #00C800;">nil</span>, aHeader, <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;::<span style="color: #000000;">aColSizes</span> := <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> aSizes &nbsp;!= <span style="color: #00C800;">nil</span>, aSizes , <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;::<span style="color: #000000;">aTmpColSizes</span> := AClone<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">aColSizes</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;::<span style="color: #000000;">GetColSizes</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">nil</span><br />&nbsp;</div>[/code:1ikdc93y]
en TWbrowse se puede ocultar una columna?
[quote="Alfredo Arteaga":250r2fgv]Alguna vez hice esto para ocultar columnas a conveniencia: [code=fw:250r2fgv]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// Para ocultar columnas durante la ejecución</span><br /><br /><span style="color: #00C800;">METHOD</span> SetSizes<span style="color: #000000;">&#40;</span> aHeader, aSizes <span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TWBrowse   <span style="color: #B900B9;">// AAL</span><br /><br />   ::<span style="color: #000000;">aHeaders</span>  := <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> aHeader != <span style="color: #00C800;">nil</span>, aHeader, <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />   ::<span style="color: #000000;">aColSizes</span> := <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> aSizes  != <span style="color: #00C800;">nil</span>, aSizes , <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />   ::<span style="color: #000000;">aTmpColSizes</span> := AClone<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">aColSizes</span> <span style="color: #000000;">&#41;</span><br />   ::<span style="color: #000000;">GetColSizes</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">nil</span><br /> </div>[/code:250r2fgv][/quote:250r2fgv] Hola, pero como decia mas arriba, si hago eso de poner en 0 el "sieze" de una de las columnas con el mouse se puede cambiar el tamaño igual y agrandar el tamaño... para mi estaria faltando esto: 1) poner en 0 el size de una columna (esto hoy por hoy con la de Hernan se peude hacer) 2) bloquear la posibilidad de cambiar el tamaño para la columna del punto (1)... (esto estaría faltando) Este codigo que pongo a mi me habilita igual el cambio del tamaño de la columna que en size tenga 0. [code=fw:250r2fgv]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; WITH OBJECT ::<span style="color: #000000;">oTw</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">aActions</span> &nbsp; &nbsp; &nbsp;:= Array<span style="color: #000000;">&#40;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">aHeaders</span> &nbsp; &nbsp; &nbsp;:= ::<span style="color: #000000;">aNombreColumnas</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">aColSizes</span> &nbsp; &nbsp; := ::<span style="color: #000000;">aTamanioColumnas</span><br />&nbsp;</div>[/code:250r2fgv] Gracias.
en TWbrowse se puede ocultar una columna?
Cierto. Parece que hay que agregar algo más. [code=fw:6pqcad9f]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lColVisible:= .t.</span><br /><span style="color: #B900B9;">// &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::nColAct++</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">While</span> .t. .AND. ::<span style="color: #000000;">nColAct</span><Len<span style="color: #000000;">&#40;</span>aSizes<span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">// AAL &nbsp;ocultar</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style="color: #000000;">nColAct</span>++<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lColVisible:= !<span style="color: #000000;">&#40;</span> aSizes<span style="color: #000000;">&#91;</span>::<span style="color: #000000;">nColAct</span><span style="color: #000000;">&#93;</span> == <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> lColVisible<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;exit<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">EndDo</span><br />&nbsp;</div>[/code:6pqcad9f] He realizado varios cambios a la clase de Hernan, por lo que es posible que no te funcione tal como la tengo pero si te interesa puedo enviartela para que la tomes de referencia.
en TWbrowse se puede ocultar una columna?
[quote:1ll7ipa3]"Alfredo Arteaga"]Cierto. Parece que hay que agregar algo más.[/quote:1ll7ipa3] Si por favor enviamela asi la veo. gracias.
en dialogos ACCELERATOR de los menu no me funciona...
Hola. No me funciona el ACCELERATOR del menuitem cuando lo defino dentro de un dialogo... [code=fw:qntw8roi]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; <span style="color: #0000ff;">MENU</span> oMenu <span style="color: #000000;">2007</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"&Reportes"</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MENU</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENUITEM</span> <span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Definir fecha"</span><span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"B"</span><span style="color: #000000;">&#41;</span> ACCELERATOR <span style="color: #000000;">0</span>, VK_F2<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">separator</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Imprimir Reporte"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"A"</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ENDMENU</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">ENDMENU</span></div>[/code:qntw8roi] alguna solución? gracias.
en dialogos ACCELERATOR de los menu no me funciona...
Talbéz ayude: <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=26074&p=143233&hilit=oAccTable#p143233">viewtopic.php?f=6&t=26074&p=143233&hilit=oAccTable#p143233</a><!-- l --> Salu2
en dialogos ACCELERATOR de los menu no me funciona...
[code=fw:3pxnt75t]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// Building an application just with a DialogBox using accelarator in dialog.</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00C800;">static</span> oDlg<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: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">6</span>, <span style="color: #000000;">6</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">20</span>, <span style="color: #000000;">60</span> <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Using Accelerator"</span><br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">2</span>, <span style="color: #000000;">2</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&Acce"</span> <span style="color: #0000ff;">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> _SetMenu<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">4</span>, <span style="color: #000000;">2</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&Bye!"</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> CANCEL<br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">VALID</span> MsgYesNo<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Salir?"</span> <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">function</span> _SetMenu<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oMenu<br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">MENU</span> oMenu<br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"&One<F5>"</span> &nbsp;<span style="color: #0000ff;">ACTION</span> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"One"</span> <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ACCELERATOR ACC_NORMAL,VK_F5<br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"&Two<F6>"</span> &nbsp;<span style="color: #0000ff;">ACTION</span> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Two"</span> <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ACCELERATOR ACC_NORMAL,VK_F6<br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ENDMENU</span><br /><br />&nbsp; &nbsp;oDlg:<span style="color: #000000;">SetMenu</span><span style="color: #000000;">&#40;</span> oMenu <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br />&nbsp;</div>[/code:3pxnt75t] 
en dialogos ACCELERATOR de los menu no me funciona...
Lei, hice las modificaciones pero sigue sin funcionar. <!-- s:evil: --><img src="{SMILIES_PATH}/icon_evil.gif" alt=":evil:" title="Evil or Very Mad" /><!-- s:evil: -->
en dialogos ACCELERATOR de los menu no me funciona...
Gustavo, Aqui funciona bien el ejemplo de Gustavo. Que versión de FWH estás usando ?
en dialogos ACCELERATOR de los menu no me funciona...
Mira: static oDlg ó tu versión de FWH és antigua. salu2
en dialogos ACCELERATOR de los menu no me funciona...
7.1 la version.
en dialogos ACCELERATOR de los menu no me funciona...
En version FWH13.06 BCC582, funciona perfecto. salu2.
en dialogos ACCELERATOR de los menu no me funciona...
[quote="karinha":3egtmbrw]En version FWH13.06 BCC582, funciona perfecto. salu2.[/quote:3egtmbrw] bien.
en pellesC como es el nombre del control BITMAP
Hola. Necesito hacer: [code=fw:33hvnkag]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">redefine</span> BITMAP oBM <span style="color: #0000ff;">id</span> <span style="color: #000000;">200</span> <span style="color: #0000ff;">of</span> odlg</div>[/code:33hvnkag] pero no se como crearlo en pelles en el dialogo. como lo hago? no encuentro del control BITMAP solo IMAGEN que no tiene como ser el control SCROLL gracias.
en pellesC como es el nombre del control BITMAP
Yo utilizo un control picture con style bitmap [code=fw:6gxs00o7]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp;<span style="color: #0000ff;">REDEFINE</span> BITMAP <span style="color: #0000ff;">ID</span> <span style="color: #000000;">110</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">RESOURCE</span> <span style="color: #ff0000;">"HAND"</span> <span style="color: #0000ff;">ADJUST</span><br />&nbsp;</div>[/code:6gxs00o7] Y eso es todo Saludos. Jose
en pellesC como es el nombre del control BITMAP
gracias
en readme.txt de winmake nombre 2 librerias mysql.lib and sd
Saludos al Forum En la carpeta xharbour\winmake\readme.txt consigues informacion donde descargar varios ficheros para las contribs, su contenido es este SET HB_DIR_MYSQL=<install dir> Required to build [b:oowzzc2q]mysql.lib and sddmy.lib[/b:oowzzc2q] Download URL: <!-- m --><a class="postlink" href="http://mysql.com/">http://mysql.com/</a><!-- m --> He Ingresado a la pagina, pero no veo como ubicar estas librerias alquine me puede ayudar. requiero las dos librerias mysql.lib and sddmy.lib Gracias
en tmysql update no sirve le ha pasado a alguien mas
cuando trato de hacer update sencillamente no hace nada, ni error ni nada, pero si le pongo getblankron y append si lo agrega sin problemas, que podrias ser aqui el codigo WITH OBJECT oQuery2 :GetRow( ) // para agregar getblankrow :hacer := fixed // campo, valor nuevo, viene de atras if !:update() // ignoro porque pero no sirve update ni save, solo append, tanto directo como por oRow Alert(:Error()) endif end gracias
en un get como controlo que el TAB sea ENTER
en un get como controlo que el TAB sea ENTER
en un get como controlo que el TAB sea ENTER
Hola amigo... Prueba lo siguiente: [code:2yjwczuv] oGet&#58;bKeyDown&#58;={|nKey,nFlag|IF(nKey=9,FuctionEnter(),)} [/code:2yjwczuv] Nota:nKey= 9 es la tecla TAB y nKey=13 es la tecla ENTER Espero te funcione. Saludos desde Argentina, Esteban.
en xHarbour + ADS no andan los indices idx.
Estoy migrando las aplicaciones a xHarbour + Fivewin con RddAds, pero me encuentro con el problema que en xHarbour las tablas de mas de 2 millones de registros tienen problemas con los indices (no encuentra los registros en bases dbf con indices idx, no pasa en ADT con indices ADI) y migrar a adt + adi me trae el problema con la aplicaciones viejas en clipper. Si se les ocurre alguna idea te lo voy a agradecer. Andres ADS 8.1 para 250 usuarios sobre novell 5. xHarbour 0.9971 + FiveWin 7.01 esta con el cliente que viene en la version 8.1 y con la correcta ace32.lib
en xHarbour + ADS no andan los indices idx.
Has probado con CDX? los 2 millones de registros no serán limitaciones propias del IDX? IDX es un formato más que antiguo, de Foxbase original si no me equivoco, y por lo tanto los limites son bajos. Un saludo, Carlos.
en xHarbour + ADS no andan los indices idx.
Los programas en Clipper+FiveWin no tienen problemas con los indices, por lo tanto los indices no tienen problemas. Gracias Andres
en xHarbour + ADS no andan los indices idx.
Acabo de probar un indice IDX con una tabla de 5 millones de registros y va perfecto con ADS 8.1 y xHarbour ¿ Que error te esta marcando ?
en xHarbour + ADS no andan los indices idx.
En indices como numero de documento str(dni,10) o apellido con los 18 caracteres, me da found()=FALSE como que no estuviera en la tabla, cuando en realidad si hago el seek con clipper+fivewin si lo encuentra. Me da la impresion que cuando la variable del indice supera mas de 10 caracteres ahi empienzan los problemas. Gracias por contestar
en xHarbour + ADS no andan los indices idx.
Podrías postear el trozo de código que te falla? La verdad es que me parece extraño. No he usado los IDX desde hace mucho, y no he tenido + de 2 millones de registros, pero que te falle un seek me parece raro. Me gustaria ver el código para ver que puede estar cambiando de un compilador a otro. Un saludo, Carlos
en xHarbour + ADS no andan los indices idx.
cDocumento:=92345678 Select Solicitud seek str(cDocumento,10) if found() // aqui sale por falso y esta en los indices!! si lo hago en Clipper + FiveWin lo encuentra. Gracias. Andres
en xHarbour + ADS no andan los indices idx.
Andres , tienes que cambiar el indice, INDEX ON STRZERO(DOCUMENTO,10) nDocumento := strzero(92345678,10) if dbseek(nDocumento ) msginfo( 'encontrado' ) endif saludos...
en xHarbour + ADS no andan los indices idx.
No es ese el problema porque con un seek buscando apellido tampoco funciona en xHarbour y si en Clipper. Para mi el problema esta entre la Rddads de xHarbour y la dll de ads. Gracias. Andres
en xHarbour + ADS no andan los indices idx.
Hola Yo tuve algo parecido en algun tiempo el problema era que utilizaba las bases de datos creadas por clipper, lo que hice fue hacer un procedimiento de crear las bases de datos en xharbour, luego hacer un append from y luego indexar todo a travez de un programa hecho en xharbour. podrias probar a ver si te soluciona el problema suerte..
en xHarbour + ADS no andan los indices idx.
No uses FOUND() esa funcion fue marcada como obsoleta en la version 5.3 de Clipper., utiliza mejor : IF DBSEEK(valor)... .... ... Funciona mejor. Tambien es cierto que el hecho de usar tablas DBF con indices CDX afecta, ya que la estructura DBF que Clipper utiliza con los indices CDX no es exactamente compatible con la estructura nativa de FoxPro, y ADS si utiliza una estructura nativa CDX de Fox. Curiosamente un programa en Clipper no tiene problemas en leer una tabla CDX creada con ADS o con Fox, pero Fox y ADS si pueden presentar problemas manejando una tabla DBF con indices CDX creada con Clipper.
en xHarbour + ADS no andan los indices idx.
Gracias, voy crear los dbf con xHarbour y hacer un append, regenerar los indices y ver que pasa. Muchas gracias. Andres
en xHarbour + ADS no andan los indices idx.
Rene: Cree la dbf con xHarbour e hice un append desde la base, genere los nuevos indices idx y en un archivo de fichas de personas de 3.600.000 registros y con un indice con los primeros 18 digitos del apellido, me encuentra apellidos hasta MORENO, si busco apellidos que empienza con la O en adelante no encuentra nada, el found() y DBSEEK() dan FALSE y con SOFTSEEK ON se va al final del archivo. En clipper + fivewin el seek me encuentra todo sin problemas. Gracias por la atencion. Andres ADS 8.1 para 250 usuarios sobre novell 5. xHarbour 0.9971 + FiveWin 7.01 esta con el cliente que viene en la version 8.1
en xHarbour + ADS no andan los indices idx.
Aparentemente descubri donde esta el problema, si los indices se generan con Clipper+Fivewin, xHarbour tiene problemas en encontrar algunos registros y si los genero con xHarbour, cuando los abro con Clipper+Fivewin da error al realizar busquedas. No son compatibles entre si los indices generados con aplicaciones de 16 y 32 bits utilizando ADS 8.1.
en xHarbour + ADS no andan los indices idx.
Hola La version de clipper es la 5.3, si no lo es puedes recompilar con esta version y probar
en xHarbour + ADS no andan los indices idx.
La generacion de indices la hace el servidor ADS no el clipper. Gracias Andres
en xbrowse como capturo el nombre del campo?
Hola. En un xbrowse, como capturo el nombre del campo que corresponde a la columna donde estooy parado de la tabla mysql? estoy intentando hacer editable un campo. gracias.
en xbrowse como capturo el nombre del campo?
Intenta con esto, saludos... oQry:FieldGet()