topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
Canal5 Calendar | Silvio:
Well, just to let you know I tracked it down to a problem with c5tip. The CheckToolTip method in windows.prg references a member named :lShowAgain which is not a member of the c5tip class. So I added it. Then the CheckToolTip method calls ::ToolTip:Show(). The c5tip show method takes hWnd, nRow, nCol as parameters, which windows.prg does not pass. Both of these problems caused the program to gpf.
This is the Show method from my c5tip source. You must have an updated source.
******************************************
METHOD Show( nRow, nCol, cPrompt, oWnd )
******************************************
Local n
Local aPoint := { nRow, nCol }
Local aAux, nMaxLen
Local nHeight
Local nWidth
Local nHScreen := GetSysMetrics( 1 )
Local nWScreen := GetSysMetrics( 0 )
Local nLines
if ::lVisible
::Hide()
endif
if cPrompt != nil
::cPrompt := cPrompt
aAux := ::MaxLen( cPrompt )
nMaxLen := aAux[1]
nLines := aAux[2]
nWidth := nMaxLen + 4
nHeight := ( nLines * ::nHRow ) + 2
endif
ClientToScreen( oWnd:hWnd, aPoint ) // CRASHES HERE BECAUSE oWn:hWnd is nil and apoint is empty.
if aPoint[ 1 ] == nRow
aPoint := ClientToScreen( oWnd:hWnd, aPoint )
endif
nRow := aPoint[ 1 ]
nCol := aPoint[ 2 ]
if nRow + nHeight > nHScreen
nRow := nHScreen - nHeight - 10
endif
if nCol + nWidth > nWScreen
nCol := nWScreen - nWidth - 10
endif
::Move( nRow, nCol, nWidth, nHeight , .t. )
Super:Show()
::lVisible := .t.
Return nil
I don't use tooltips on my calendar so I'm just returning nil from this method. Thanks again for your help.
Randal |
Canal5 Calendar | you must not compile c5tip you have allready [b:1htuy5ip]TC5ToolTip [/b:1htuy5ip]class on Fwh
[b:1htuy5ip]method default of c5calendar[/b:1htuy5ip]
if ::oTooltip == nil
// ::oToolTip := TC5Tip():New(Self )
::oToolTip := TC5ToolTip():New( 0, 0, 1, 5, Self, .f., CLR_WHITE, RGB(228,229,240), RGB(100,100,100), 2, 2 )
endif
[b:1htuy5ip]METHOD MouseMove( nRow, nCol, nKeyFlags ) of c5calendar [/b:1htuy5ip]
[b:1htuy5ip]found these lines[/b:1htuy5ip]
if ::lTooltips
if ::oToolTip != nil
::oToolTip:Show( nBottom - 6, nRight - 6, ::acTooltips[ nDia ], Self )
[b:1htuy5ip]and paste these [/b:1htuy5ip]
if ::lTooltips
if ::oToolTip != nil
// ::oToolTip:Show( nBottom - 6, nRight - 6, ::acTooltips[ nDia ], Self )
::oToolTip:cHeader := "Calendar"
::oToolTip:cBody := ::acTooltips[ nDia ]
::oToolTip:Move(nTop, nLeft,nBottom - 6, nRight - 6, .f. )
::oToolTip:cFoot :="Fwh Power"
::oToolTip:Default()
::oToolTip:Show()
hToolTip = ::oToolTip:hWnd
[b:1htuy5ip]here run ok [/b:1htuy5ip]
[img:1htuy5ip]http://www.iispascalcomiforti.it/wp-content/uploads/2017/02/calendar.jpg[/img:1htuy5ip] |
Canal5 Calendar | [b:383y0973]good this :[/b:383y0973]
local a, aPos
---
a := ::oTooltip:GetSize()
aPos = { nRow, nCol }
aPos := ClientToScreen( ::hWnd, aPos )
if aPos[2]+a[1] > GetSysMetrics(1)
aPos[2] := GetSysMetrics(0) - a[1] - 20
endif
::oToolTip:cHeader := nil//"Calendar"
::oToolTip:cBody := ::acTooltips[ nDia ]
::oToolTip:cFoot :=nil //"Fwh Power"
*::oToolTip:Move(nTop, nLeft,nBottom , nRight , .t. )
::oToolTip:Move( aPos[1], aPos[2],a[1],a[2], .f. )
::oToolTip:Default()
::oToolTip:Show()
hToolTip = ::oToolTip:hWnd |
Canal5 Calendar | Silvio:
I didn't realize I could just use the c5tooltip class included with FWH. Thanks for the sample code.
Randal |
Canal5 Calendar | I not understood what you cannot realize ?
I sad you the oldest c5tip class of paco is no compatible with c5calendar if you use fwh last version.(2017) because fwh have a c5tioltip class changed by fivetech.
To use c5calendar you must modify the class as i wrote. |
Canal5 Calendar | Silvio:
I'm sorry for the miscommunication. What I mean is I did not realize I could use the fwh c5tooltip class until you showed me that. I got it all working, thank you very much helping me get this fixed and for the sample code.
Best Regards,
Randal |
Canal5 Calendar | Silvio,
"I didn't realize" means "I didn't understand".
In italiano: "non avevo realizzato che...", nel senso di "non avevo capito che...", "non mi ero reso conto che...".
<!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
EMG |
Canal5 Calendar | Grazie Emg
Adesso sono più tranquillo.
Se però rileggi le frasi di Randal puoi trovare che lui pensava fosse un esempio "test" mentre io gli avevo modificato direttamente la classe
Ecco cosa cercavo di far capire al Randal
Thanks Emg
Now I am quieter.
However, if you re-read the sentences of Randal can find that he thought was an example "test" of calendar while I had changed the class directly
Here is what I tried to explain to Mr Randal |
Canal5 Calendar | [quote="Silvio.Falconi":c1wt6f89]Also I use calendar,Banner and other Canalfive controls
wich error you have ?[/quote:c1wt6f89]
Hi Silvio,
Did you had CanalFive C5Folder sample code? if you had it, could you send to me? Thank you. |
Canal5 Calendar | I use this, I can post the fonts.
[img:9lsphnk8]https://i.imgur.com/CJjj7BT.png[/img:9lsphnk8]
Regards, saludos. |
Canal5 y FWH 11.05 | Estoy intentando compilar una libreria de Canal5 con la version de FWH de Junio de 2011, y me genera estos errores en el modulo
c5new.c.
Tiene alguien una version compatible con esta version de Harbour (2.1)
.
Error E2227 c5cnew.c 45: Extra parameter in call to hb_parni in function HB_FUN_FILLSOLIRC
Error E2227 c5cnew.c 46: Extra parameter in call to hb_parni in function HB_FUN_FILLSOLIRC
Error E2227 c5cnew.c 47: Extra parameter in call to hb_parni in function HB_FUN_FILLSOLIRC
Error E2227 c5cnew.c 48: Extra parameter in call to hb_parni in function HB_FUN_FILLSOLIRC
Error E2227 c5cnew.c 57: Extra parameter in call to hb_parni in function HB_FUN_FILLSOLIDRECT
Error E2227 c5cnew.c 58: Extra parameter in call to hb_parni in function HB_FUN_FILLSOLIDRECT
Error E2227 c5cnew.c 59: Extra parameter in call to hb_parni in function HB_FUN_FILLSOLIDRECT
Error E2227 c5cnew.c 60: Extra parameter in call to hb_parni in function HB_FUN_FILLSOLIDRECT
Warning W8004 c5cnew.c 217: 'bRet' is assigned a value that is never used in function HB_FUN_CREATECAPTIONFONT
Warning W8004 c5cnew.c 226: 'bRet' is assigned a value that is never used in function HB_FUN_CREAFCAPT
Error E2227 c5cnew.c 355: Extra parameter in call to hb_parni in function HB_FUN_PTINRECT
Error E2227 c5cnew.c 356: Extra parameter in call to hb_parni in function HB_FUN_PTINRECT
Error E2227 c5cnew.c 357: Extra parameter in call to hb_parni in function HB_FUN_PTINRECT
Error E2227 c5cnew.c 358: Extra parameter in call to hb_parni in function HB_FUN_PTINRECT
Error E2227 c5cnew.c 468: Extra parameter in call to hb_parni in function HB_FUN_C5DEGRADA
Error E2227 c5cnew.c 469: Extra parameter in call to hb_parni in function HB_FUN_C5DEGRADA
Error E2227 c5cnew.c 470: Extra parameter in call to hb_parni in function HB_FUN_C5DEGRADA
Error E2227 c5cnew.c 471: Extra parameter in call to hb_parni in function HB_FUN_C5DEGRADA
Error E2227 c5cnew.c 549: Extra parameter in call to hb_parni in function HB_FUN_BOXEX
Error E2227 c5cnew.c 550: Extra parameter in call to hb_parni in function HB_FUN_BOXEX
Error E2227 c5cnew.c 551: Extra parameter in call to hb_parni in function HB_FUN_BOXEX
Error E2227 c5cnew.c 552: Extra parameter in call to hb_parni in function HB_FUN_BOXEX
Error E2227 c5cnew.c 580: Extra parameter in call to hb_parni in function HB_FUN_DRAWEDGE
Error E2227 c5cnew.c 581: Extra parameter in call to hb_parni in function HB_FUN_DRAWEDGE
Error E2227 c5cnew.c 582: Extra parameter in call to hb_parni in function HB_FUN_DRAWEDGE
Error E2227 c5cnew.c 583: Extra parameter in call to hb_parni in function HB_FUN_DRAWEDGE
Error E2227 c5cnew.c 723: Extra parameter in call to hb_parni in function HB_FUN_VALIDATERECT
Error E2228 c5cnew.c 723: Too many error or warning messages in function HB_FUN_VALIDATERECT
6 Files, 2 Warnings, 26 Errors
Tiempo de compilación: 5.54s Tiempo de enlazado: 0s Tiempo total: 5.56s
Gracias, |
Canal5 y FWH 11.05 | José,
Cambia las llamadas a hb_parni(...) en ese código a hb_parvni(...) |
Canal5 y FWH 11.05 | Antonio,
Corregido en parte, ahora muestra otros errores.
Gracias por tu colaboracion.
Compilando vitem.prg...
Compilando VMenu.prg...
Compilando c5cnew.c...
Compilando C5ImgLis.prg...
Compilando dblbuffe.prg...
Compilando libreria.prg...
Warning W8004 c5cnew.c 217: 'bRet' is assigned a value that is never used in function HB_FUN_CREATECAPTIONFONT
Warning W8004 c5cnew.c 226: 'bRet' is assigned a value that is never used in function HB_FUN_CREAFCAPT
Warning W8004 c5cnew.c 388: 'nRight' is assigned a value that is never used in function C5GradientFill
Warning W8004 c5cnew.c 386: 'nBottom' is assigned a value that is never used in function C5GradientFill
Error E2227 c5cnew.c 758: Extra parameter in call to hb_storni in function HB_FUN_INTRECT
Error E2227 c5cnew.c 759: Extra parameter in call to hb_storni in function HB_FUN_INTRECT
Error E2227 c5cnew.c 760: Extra parameter in call to hb_storni in function HB_FUN_INTRECT
Error E2227 c5cnew.c 761: Extra parameter in call to hb_storni in function HB_FUN_INTRECT
Warning W8064 c5cnew.c 1124: Call to function with no prototype in function HB_FUN_C5_ISAPPTHEMED
Warning W8064 c5cnew.c 1142: Call to function with no prototype in function HB_FUN_C5_ISTHEMEACTIVE
Warning W8075 c5cnew.c 1151: Suspicious pointer conversion in function HB_FUN_C5_OPENTHEMEDATA
Error E2227 c5cnew.c 1209: Extra parameter in call to hb_parnl in function HB_FUN_C5_DRAWTHEMEBACKGROUND
Error E2227 c5cnew.c 1210: Extra parameter in call to hb_parnl in function HB_FUN_C5_DRAWTHEMEBACKGROUND
Error E2227 c5cnew.c 1211: Extra parameter in call to hb_parnl in function HB_FUN_C5_DRAWTHEMEBACKGROUND
Error E2227 c5cnew.c 1212: Extra parameter in call to hb_parnl in function HB_FUN_C5_DRAWTHEMEBACKGROUND
Error E2227 c5cnew.c 1246: Extra parameter in call to hb_parnl in function HB_FUN_C5_DRAWTHEMEICON
Error E2227 c5cnew.c 1247: Extra parameter in call to hb_parnl in function HB_FUN_C5_DRAWTHEMEICON
Error E2227 c5cnew.c 1248: Extra parameter in call to hb_parnl in function HB_FUN_C5_DRAWTHEMEICON
Error E2227 c5cnew.c 1249: Extra parameter in call to hb_parnl in function HB_FUN_C5_DRAWTHEMEICON
Warning W8075 c5cnew.c 1285: Suspicious pointer conversion in function HB_FUN_C5_DRAWTHEMETEXT
Error E2227 c5cnew.c 1290: Extra parameter in call to hb_parnl in function HB_FUN_C5_DRAWTHEMETEXT
Error E2227 c5cnew.c 1291: Extra parameter in call to hb_parnl in function HB_FUN_C5_DRAWTHEMETEXT
Error E2227 c5cnew.c 1292: Extra parameter in call to hb_parnl in function HB_FUN_C5_DRAWTHEMETEXT
Error E2227 c5cnew.c 1293: Extra parameter in call to hb_parnl in function HB_FUN_C5_DRAWTHEMETEXT
Warning W8075 c5cnew.c 1312: Suspicious pointer conversion in function HB_FUN_C5_DRAWTHEMETEXT
6 Files, 9 Warnings, 16 Errors
Tiempo de compilación: 4.65s Tiempo de enlazado: 0s Tiempo total: 4.67s |
Canal5 y FWH 11.05 | José,
Cambia hb_storni(...) por hb_storvni(...), y hb_parnl(...) por hb_parvnl(...) |
Canal5 y FWH 11.05 | Antonio,
Paso todo Ok, solo quedan unos Warning que no creo que sean problemas.
De nuevo gracias.
Compilando vitem.prg...
Compilando VMenu.prg...
Compilando C5ImgLis.prg...
Compilando dblbuffe.prg...
Compilando libreria.prg...
Compilando c5cnewH.c...
Warning W8004 c5cnewH.c 217: 'bRet' is assigned a value that is never used in function HB_FUN_CREATECAPTIONFONT
Warning W8004 c5cnewH.c 226: 'bRet' is assigned a value that is never used in function HB_FUN_CREAFCAPT
Warning W8004 c5cnewH.c 388: 'nRight' is assigned a value that is never used in function C5GradientFill
Warning W8004 c5cnewH.c 386: 'nBottom' is assigned a value that is never used in function C5GradientFill
Warning W8064 c5cnewH.c 1124: Call to function with no prototype in function HB_FUN_C5_ISAPPTHEMED
Warning W8064 c5cnewH.c 1142: Call to function with no prototype in function HB_FUN_C5_ISTHEMEACTIVE
Warning W8075 c5cnewH.c 1151: Suspicious pointer conversion in function HB_FUN_C5_OPENTHEMEDATA
Warning W8075 c5cnewH.c 1285: Suspicious pointer conversion in function HB_FUN_C5_DRAWTHEMETEXT
Warning W8075 c5cnewH.c 1312: Suspicious pointer conversion in function HB_FUN_C5_DRAWTHEMETEXT
Construyendo librería c5taskh.lib...
6 Files, 9 Warnings, 0 Errors
Tiempo de compilación: 4.18s Tiempo de enlazado: 0.44s Tiempo total: 4.64s |
Canal5 y FWH 11.05 | Antonio;
retomo este post oprque me encuentro con el mismo problema al compilar esta clase, quizás porque uso xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 9421)
hice las correcciones sugeridas y me retorna el siguiente error:
[code=fw:23k5wq7f]<div class="fw" id="{CB}" style="font-family: monospace;">Generating C source output <span style="color: #0000ff;">to</span> <span style="color: #ff0000;">'obj<span style="color: #000000;">\t</span>emp.c'</span>...<br />Done.<br />Borland C++ <span style="color: #000000;">5.82</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1993</span>, <span style="color: #000000;">2005</span> Borland<br />obj\temp.c:<br /> obj\c5cnew.obj does not exist<br /> c5cnew.cpp does not exist<br /> source\c5cnew.c Fri May <span style="color: #000000;">04</span> <span style="color: #000000;">10</span>:<span style="color: #000000;">28</span>:<span style="color: #000000;">10</span> <span style="color: #000000;">2012</span><br /><br />Borland C++ <span style="color: #000000;">5.82</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1993</span>, <span style="color: #000000;">2005</span> Borland<br />source\c5cnew.c:<br /><span style="color: #000000;">Warning</span> W8065 source\c5cnew.c <span style="color: #000000;">11</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_CREATECOMPATIBLEBITMAP<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">17</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_COMPATBMP<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">23</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_CREATECOMPATIBLEDC<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">29</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_COMPATDC<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">44</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_FILLSOLIRC<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">45</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_FILLSOLIRC<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">46</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_FILLSOLIRC<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">47</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_FILLSOLIRC<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">48</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_FILLSOLIRC<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">50</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_FILLSOLIRC<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">56</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_FILLSOLIDRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">57</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_FILLSOLIDRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">58</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_FILLSOLIDRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">59</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_FILLSOLIDRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">60</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_FILLSOLIDRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">62</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_FILLSOLIDRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">68</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_BEGINPATH<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">73</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ENDPATH<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">78</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_PATHTOREGION<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">83</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_PTINREGION<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">89</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_CREATEFONTUNDERLINE<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">119</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_CREAFUNDER<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">150</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_CREATEFONTBOLD<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">181</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_CREAFBOLD<br />Warning W8004 source\c5cnew.c <span style="color: #000000;">217</span>: <span style="color: #ff0000;">'bRet'</span> is assigned a value that is never used in <span style="color: #00C800;">function</span> HB_FUN_CREATECAPTIONFONT<br />Warning W8004 source\c5cnew.c <span style="color: #000000;">226</span>: <span style="color: #ff0000;">'bRet'</span> is assigned a value that is never used in <span style="color: #00C800;">function</span> HB_FUN_CREAFCAPT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">233</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ARROWDOWN<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">234</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ARROWDOWN<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">235</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ARROWDOWN<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">236</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ARROWDOWN<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">237</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ARROWDOWN<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">238</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ARROWDOWN<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">239</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ARROWDOWN<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">288</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ARROWUP<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">289</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ARROWUP<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">290</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ARROWUP<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">291</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ARROWUP<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">292</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ARROWUP<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">293</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ARROWUP<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">294</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ARROWUP<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">343</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_GETTEXTLEN<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">352</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_PTINRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">353</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_PTINRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">355</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_PTINRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">356</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_PTINRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">357</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_PTINRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">358</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_PTINRECT<br />Warning W8004 source\c5cnew.c <span style="color: #000000;">388</span>: <span style="color: #ff0000;">'nRight'</span> is assigned a value that is never used in <span style="color: #00C800;">function</span> C5GradientFill<br />Warning W8004 source\c5cnew.c <span style="color: #000000;">386</span>: <span style="color: #ff0000;">'nBottom'</span> is assigned a value that is never used in <span style="color: #00C800;">function</span> C5GradientFill<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">468</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_C5DEGRADA<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">469</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_C5DEGRADA<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">470</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_C5DEGRADA<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">471</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_C5DEGRADA<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">473</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_C5DEGRADA<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">489</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_STRETCHBLT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">497</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_BMPWIDTH<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">507</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_BMPHEIGHT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">523</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_DRAWSTATE<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">529</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ROUNDRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">535</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_SETBRUSHORG<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">536</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_SETBRUSHORG<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">537</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_SETBRUSHORG<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">543</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_BOXEX<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">549</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_BOXEX<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">550</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_BOXEX<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">551</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_BOXEX<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">552</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_BOXEX<br />Error E2451 source\c5cnew.c <span style="color: #000000;">554</span>: <span style="color: #000000;">Undefined</span> symbol <span style="color: #ff0000;">'hb_stackST'</span> in <span style="color: #00C800;">function</span> HB_FUN_BOXEX<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">556</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_BOXEX<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">580</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_DRAWEDGE<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">581</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_DRAWEDGE<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">582</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_DRAWEDGE<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">583</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_DRAWEDGE<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">589</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_DRAWEDGE<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">594</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_SETMENUITEMBITMAPS<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">612</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_BMPTOGRAY<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">659</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_ICONTOGRAY<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">696</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_SETSTRETCHBLTMODE<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">723</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_VALIDATERECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">724</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_VALIDATERECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">725</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_VALIDATERECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">726</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_VALIDATERECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">729</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_VALIDATERECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">744</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_INTRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">745</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_INTRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">746</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_INTRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">747</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_INTRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">749</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_INTRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">750</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_INTRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">751</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_INTRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">752</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_INTRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">758</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_storvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_INTRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">759</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_storvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_INTRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">760</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_storvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_INTRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">761</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_storvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_INTRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">772</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_EQUALRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">773</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_EQUALRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">774</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_EQUALRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">775</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_EQUALRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">777</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_EQUALRECT<br />Warning W8065 source\c5cnew.c <span style="color: #000000;">778</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvni'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_EQUALRECT<br />Error E2228 source\c5cnew.c <span style="color: #000000;">778</span>: <span style="color: #000000;">Too</span> many error or warning messages in <span style="color: #00C800;">function</span> HB_FUN_EQUALRECT<br />*** <span style="color: #000000;">2</span> errors in Compile ***<br /><br />** error <span style="color: #000000;">1</span> ** deleting obj\c5cnew.obj<br /> </div>[/code:23k5wq7f]
desde ya gracias por tu tiempo |
Canal5 y FWH 11.05 | Hola,
Ahora Fivewin, al incorporar la clase TVistaMenu de CanalFive, incluye nativamente todas las funciones de Canalfive.
Sin embargo, el uso de controles de canalfive y FWH a veces me ha reportado problemas que no soy capaz de trazar adecuadamente. |
Canal5 y FWH 11.05 | Lucas;
gracias por la respuesta; lo tendré en cuenta |
Canal5 y FWH 11.05 | Mario,
¿Y has probado a contactar con el autor?. Quizás tenga una versión actualizada. |
Canal5 y FWH 11.05 | No, aunque tengo que estudiar que me conviene mas. Si mantenerlo con vtaskbar (y contactar al autor) o reescribirlo con TOutLook2003 que ha mis necesidades solucionaría el problema que se me presento al intenar recompilar esta aplicación que lleva ya sus años y requiere una modificación menor |
Canal5 y FWH 11.05 | Hola a todos:
La clase vTaskMenu funciona perfectamente hasta la versión 11.09, harbour 5.8.2 y Borland C++ 5.8.2 que son las versiones que estoy usando ahora, pero yo también tuve el mismo problema cuando empece a usar FWH 11.09, y si mi memoria no me falla ( que es muy habitual, jeje ), el problema era actualizar a harbour 5.8.2 y borland C++ 5.8.2 a las ultimas versiones y volver a compilar la clase y los ficheros c.
Un saludo
JLL |
Canal5 y FWH 11.05 | Hola Javier:
Sí, yo compilé de nuevo todas las libs pero de vez en cuando el control hace cosas raras y se queda colgado, pero generalmente funciona bien.
Debe ser algo de las funciones de c5lib, pues se diseñó con FW 2.4 y Harbour 1.x, y exigiría una revisión que a mi se me escapa teniendo en cuenta todos los tremendos cambios que ha tenido FWH y Harbour.
Vtaskmenu tamibén me funciona correctamente, pero alguna vez me arroja el error de can´t create dialog. Tampoco he conseguido acotar el problema la verdad.
Muchas gracias por compartir tu feedback, ya que muchas veces me siento solo con los problemas.
Un saludo |
Canal5 y FWH 11.05 | lucas, agregame al msn si quieres.
em mi firma del hilo tienes mi blog y msn.
Un saludo
JL |
Canal5 y FWH 11.05 | Mario,
Para compilar con xharbour quita la "v" de las llamadas a hb_par...
Esas funciones son solo de Harbour. FWH proporciona una capa de compatibilidad entre Harbour y xHarbour <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Canal5 y FWH 11.05 | Antonio; gracias por tu tiempo
creo que falta menos, este error devuelve ahora:
[quote:3tvukwvu]Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
source\c5cnew.c:
Warning W8004 source\c5cnew.c 217: 'bRet' is assigned a value that is never used in function HB_FUN_CREATECAPTIONFONT
Warning W8004 source\c5cnew.c 226: 'bRet' is assigned a value that is never used in function HB_FUN_CREAFCAPT
Warning W8004 source\c5cnew.c 388: 'nRight' is assigned a value that is never used in function C5GradientFill
Warning W8004 source\c5cnew.c 386: 'nBottom' is assigned a value that is never used in function C5GradientFill
Error E2451 source\c5cnew.c 554: Undefined symbol 'hb_stackST' in function HB_FUN_BOXEX
Warning W8064 source\c5cnew.c 1124: Call to function with no prototype in function HB_FUN_C5_ISAPPTHEMED
Warning W8064 source\c5cnew.c 1142: Call to function with no prototype in function HB_FUN_C5_ISTHEMEACTIVE
Warning W8075 source\c5cnew.c 1151: Suspicious pointer conversion in function HB_FUN_C5_OPENTHEMEDATA
Warning W8075 source\c5cnew.c 1285: Suspicious pointer conversion in function HB_FUN_C5_DRAWTHEMETEXT
Warning W8075 source\c5cnew.c 1312: Suspicious pointer conversion in function HB_FUN_C5_DRAWTHEMETEXT
*** 1 errors in Compile ***[/quote:3tvukwvu] |
CanalFive | Hello
As some of you you know, Fivetechsoft begins conversations with CanalFive to distribute its products. We have not reached an agreement and for it CanalFive will continue selling its own products.
Please, to buy the products of Canalfive, to send a mail to <!-- e --><a href="mailto:pacogarcia@canalfive.com">pacogarcia@canalfive.com</a><!-- e --> or <!-- e --><a href="mailto:francisco_garcia_fernandez@hotmail.com">francisco_garcia_fernandez@hotmail.com</a><!-- e -->
I thank FivetechSoft openly their interest for the products of CanalFive.
A cordial greeting
Paco García |
CanalFive | Hola
Como algunos de vosotros sabeis, Fivetechsoft inicio conversaciones con CanalFive para distribuir sus productos. No hemos llegado a un acuerdo y por ello CanalFive seguirá vendiendo sus propios productos.
Para comprar los productos de Canalfive por favor, enviar un correo a <!-- e --><a href="mailto:pacogarcia@canalfive.com">pacogarcia@canalfive.com</a><!-- e --> o <!-- e --><a href="mailto:francisco_garcia_fernandez@hotmail.com">francisco_garcia_fernandez@hotmail.com</a><!-- e -->
Agradezco publicamente a FivetechSoft su interés por los productos de CanalFive.
Un cordial saludo
Paco García |
CanalFive | > We have not reached an agreement
This new week starts with really bad news.
Regards
Otto |
CanalFive | Otto,
We have tried to reach an agreement but it was not possible. Anyhow you may buy the CanalFive products directly from them |
CanalFive | Antonio,
That’s true. But I don’t belief a standalone product “CAnalFive RibbonBar” has enough financial budget for a long life.
Regards
Otto |
CanalFive | [quote="Otto":ci3qvn8v]
That’s true. But I don’t belief a standalone product “CAnalFive RibbonBar” has enough financial budget for a long life.
[/quote:ci3qvn8v]
I agree with Otto.
I long time ago I tryed contact Paco to buy VTaskBar but I receive nothing...
I'm sad because Paco's products are very good but the problem is support to it...
Regards
Maurilio |
CanalFive | Hello.
I apologize if I have stopped some person to assist at some time. Lately I have had problems of health. Any thing that you need you knows my email.
<!-- e --><a href="mailto:pacogarcia@canalfive.com">pacogarcia@canalfive.com</a><!-- e -->
<!-- e --><a href="mailto:francisco_garcia_fernandez@hotmail.com">francisco_garcia_fernandez@hotmail.com</a><!-- e -->
You can contact also in the last address by Messenger.
A greeting.
Paco |
CanalFive | Que classes existem? o Site <!-- w --><a class="postlink" href="http://www.canalfive.com">www.canalfive.com</a><!-- w --> não mostra nada.
Gracias. |
CanalFive | I don´t know how was the support before but I bought allmost all classes of Paco during last six months and I´m recieving an excelent support.
I ask him for special changes to the classes to cover my special needs and I recieve this changes allmost inmediatly.
I report little bugs and I recieved the same result, a solution in less than two days.
I can find him allmost every day in Msn, I can´t say that is difficult for me to comunicate with him.
That´s my experience. |
CanalFive | Dear josè
do you tried new vtaskbar clause watermark.
because when you use a splitter and move it on left and right it hide the bitmap of watermark. On the old version this function worked good. |
CanalFive | [quote="jose_murugosa":mebaou2k]
I can´t say that is difficult for me to comunicate with him.
That´s my experience.[/quote:mebaou2k]
Jose,
I'm happy to know it.
Thanks a lot!
Maurilio |
CanalFive | Hola Paco
y nosotros que estamos del otro lado del charco, podremos comprar tus productos con RF.
Saludos
Marco A. Delgado. |
CanalFive | Estamos en eso.... |
CanalFive | I've tried to see what products CanalFive now offers. Many years ago I bought several for use with Clipper but I thought they stopped selling with the rise of the windows environment.
When I first saw the RibbonBar info I tried to find a website that would display the products, but only found a banner.
Is there a website where I can now see what is available ? Is it in English ?
Thanks. |
CanalFive | [quote="TimStone":3hex6prk]When I first saw the RibbonBar info I tried to find a website that would display the products, but only found a banner.
[/quote:3hex6prk]
That's true.
Paco, do you have plan to enable Canal Five website again?
Regards,
Maurilio |
CanalFive | Yes indeed. I'm preparing the web to open it again. I hope that it will be ready very soon. First I'm going to open a provisional web and after I will open the definitive web.
I will maintain you informed.
A greeting
Si, en efecto. Estoy preparando la página para abrirla de nuevo. Espero tenerla lista en cuanto antes. Primero voy a abrir una página provisional y posteriormente la definitiva. Ya os avisaré cuando esté lista.
Un saludo |
CanalFive | Paco ,
I can Help you to create a new dynamic website |
CanalFive | Hello Silvio.
Thank you very much. I have a person working in CanalFive that he is preparing the web page and other things. Very soon we will see the result.
Thank you very much, sincerely.
Paco |
CanalFive | Se fosse possivel, poderia postar os produtos, preços e forma de pagto, para nos ?
Eu tenho interesse na Officebar e na FsDi2006.
@braços Ale |
CanalFive | Ya te he enviado la información a tu direccion de correo.
Already I have send you the information to your email.
A greeting.
Paco Garcia |
CanalFive | Hola
Que es CanalFive <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
Saluditos
Aida <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> |
CanalFive | Some news about the FW16 version? |
CanalFive | Alguien ha reconstruido las librerias con la nueva version de Fwh y Harbour Abril de 2007? porque da error, en version de Junio del año pasado no da problemas.
Salu2
Paco |
CanalFive | Hola
Algunos clientes me han reportado errores de C5menu en concreto.
Es curioso pero cuando antes esto funcionaba
DATA cPrompt AS String INIT " "
y se inicializaba a nil
ahora no funciona
No entiendo muy bien porque se pierde continuamente la compatiblidad con lo hecho antiguamente, pero enfin.
Un saludo y si tienes algun problema en concreto escribeme a
pacogarcia[arroba]canalfive[punto]com |
CanalFive Web | GOOOOOOD MR PACOOO!!! |
CanalFive Web | Paco, I'm still waiting for Outlook Bar patch (bottom line icons)
Regards,
Roberto Parisi |
CanalFive Web | TROESMA !!!!
Excelente !!!
Como tienta tu trabajo !!! =>))
Un abrazo. El Loco =>)) |
CanalFive Web | Y los precios ? |
CanalFive Web | Mandar un correo a pacogarcia[arroba]canalfive[punto]com y os los envio gustosamente.
Un saludo
Paco Garcia |
CanalFive ya disponible en Mexico. | Pues a todos nuestros clientes de Mexico, les informo que hemos llegado a un acuerdo con Paco para distribuir sus controles en Mexico.
Actualmente tenemos disponible la clase VTaskBar, pero pronto tendremos mas sorpresas, paco me va a matar, pero bueno... aqui esta una primicia: Control tipo barra de Outlook con un VTaskBar.
[img:1d6p4qtz]http://www.google.d2g.com/objeto/c52.jpg[/img:1d6p4qtz]
Tambien tenemos en la chistera una nueva clase MENU, un calendario nuevo muy bonito, una clase para titulos en dialogos, y ademas, esto: que todavia esta en una etapa temprana de desarrollo:
[img:1d6p4qtz]http://www.google.d2g.com/objeto/c51.jpg[/img:1d6p4qtz] |
CanalFive ya disponible en Mexico. | Rene,
Todo un look profesional al alcanze... Me interesa.
Personalmente me reuso a usar clases de terceros, por que al cambiar de versión en fivewin pueden ya no ser compatibles y esperar a que el desarrollador entrege una versión nueva... ni hablar.
Pero, estoy dispuesto a correr el riesgo. Un look profesional vende muy bien el programa al cliente.
Felicidades a Paco.
Saludos |
CanalFive ya disponible en Mexico. | Pues mira que suerte teneis por ahí, por que por aquí en España no es fácil encontrar información sobre los productos de Canalfive. Su web lleva inactiva bastante tiempo.
Un saludo,
Fenix |
CanalFive ya disponible en Mexico. | Lo bueno de los controles de paco, aparte de su look es que proporciona el 100% del codigo por lo que ante cualquier cambio grade en los compiladores es nbecesario solamente una recompilacion para recrear las librerias.
salu2
carlos vargas |
CanalFive ya disponible en Mexico. | Master FLORES
Ademas de la vTaskBar que esta fabulosa, que otros controles/clases estan disponibles ??
Me interesaria mucho el de los Folders <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Saludos |
CanalFive ya disponible en Mexico. | Rene,
hace algunos dias te envie un mail para saber cuanto dolares por la vTaskBar. La página de canalfive solo tiene una imagen... no hay nada.
Please, cuando tengas un tiempo contactame con los detalles.
<!-- e --><a href="mailto:visitante32@hotmail.com">visitante32@hotmail.com</a><!-- e -->
Saludos
Fernando |
Cancel en Buttonbmp | Buenos días foro!!
Mirad, tengo un problema que se solucionó en su día, pero no sé el porque me pasa, tengo lo siguiente:
[code:2f2zpus2]
redefine btnbmp aoButtons[14] resource "BOTON_ATRAS" id 314 of odlg UPDATE TRANSPARENT ACTION oDlg:end()
aoButtons[14]:bValid:={||.t.}
[/code:2f2zpus2]
el problema es que como entre en un gets que tenga una función de validación, el cancel de este button NO me funciona.
UN SALUDO, y muchas gracias |
Cancel en Buttonbmp | <!-- m --><a class="postlink" href="http://www.fivewin.com.br/exibedicas.asp?id=53">http://www.fivewin.com.br/exibedicas.asp?id=53</a><!-- m --> |
Cancel en Buttonbmp | Gracias, funcionó. |
Cancel on Valid | To All
I am trying to trap my Cancel button event during a Get - Valid scenario .. Here is the code
[code=fw:373lkf2f]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">Static</span> lClose := <span style="color: #00C800;">nil</span><br />..<br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oClname <span style="color: #0000ff;">VAR</span> cClname <span style="color: #0000ff;">ID</span> <span style="color: #000000;">120</span> <span style="color: #0000ff;">of</span> oREQ <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@!"</span> ;<br /> <span style="color: #0000ff;">valid</span> CustGet<span style="color: #000000;">(</span>cClname, cMODE, oRsReq, oButt1,oButt2,oButt3,oButt4, <span style="color: #ff0000;">"1"</span><span style="color: #000000;">)</span> <span style="color: #0000ff;">UPDATE</span><br /><br />...<br />...<br />...<br /><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oBUTT2 <span style="color: #0000ff;">ID</span> <span style="color: #000000;">112</span> <span style="color: #0000ff;">of</span> oREQ ; <span style="color: #B900B9;">// cancel</span><br /> <span style="color: #0000ff;">RESOURCE</span> <span style="color: #ff0000;">"CANCEL1"</span>,<span style="color: #ff0000;">"DCANCEL1"</span>,<span style="color: #ff0000;">"DCANCEL1"</span> ;<br /> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&Cancel "</span> <span style="color: #0000ff;">LEFT</span> <span style="color: #000000;">2007</span>;<br /> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">(</span> lClose := .t.,lOK := .F., oREQ:<span style="color: #000000;">END</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br /><span style="color: #B900B9;">//----------------------------------</span><br /><span style="color: #00C800;">Static</span> Func CUSTGET<span style="color: #000000;">(</span> cNAME, cMODE, oRsReq, oButt1,oButt2,oButt3,oButt4, cWhere <span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">LOCAL</span> oDLG,oLBX, oRsCust, cSQL, oERR, oCol<br /><span style="color: #00C800;">LOCAL</span> oBTN1,oBTN2,oBTN3,lOK,oBrush<br /><br /><span style="color: #0000ff;">msginfo</span><span style="color: #000000;">(</span> lclose <span style="color: #000000;">)</span><br /><br /> </div>[/code:373lkf2f]
As you can see from the screen shot .. the valid fires before the lclose variable is initialized and I can not seem to trap the event and return(.t.) from the valid ..
Thanks
Rick Lipkin
[url=http://imageshack.us/photo/my-images/830/validg.jpg/:373lkf2f][img:373lkf2f]http://img830.imageshack.us/img830/1015/validg.jpg[/img:373lkf2f][/url:373lkf2f] |
Cancel on Valid | Try adding
oBUTT2:lCancel := .t. |
Cancel on Valid | Gale
How would I trap that in the Valid function if the cursor is in the Get field ??
[code=fw:3da1qdsk]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oBUTT2 <span style="color: #0000ff;">ID</span> <span style="color: #000000;">112</span> <span style="color: #0000ff;">of</span> oREQ ; <span style="color: #B900B9;">// cancel</span><br /> <span style="color: #0000ff;">RESOURCE</span> <span style="color: #ff0000;">"CANCEL1"</span>,<span style="color: #ff0000;">"DCANCEL1"</span>,<span style="color: #ff0000;">"DCANCEL1"</span> ;<br /> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&Cancel "</span> <span style="color: #0000ff;">LEFT</span> <span style="color: #000000;">2007</span>;<br /> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">(</span> lOK := .F., oBUTT2:<span style="color: #000000;">lCancel</span> := .t., oREQ:<span style="color: #000000;">END</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br /> </div>[/code:3da1qdsk]
I inserted your suggestion but the valid still fires if the cursor is in the Customer last name field ??
[code=fw:3da1qdsk]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oClname <span style="color: #0000ff;">VAR</span> cClname <span style="color: #0000ff;">ID</span> <span style="color: #000000;">120</span> <span style="color: #0000ff;">of</span> oREQ <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@!"</span> ;<br /> <span style="color: #0000ff;">valid</span> CustGet<span style="color: #000000;">(</span>cClname, cMODE, oRsReq, oButt1,oButt2,oButt3,oButt4, <span style="color: #ff0000;">"1"</span><span style="color: #000000;">)</span> <span style="color: #0000ff;">UPDATE</span><br /><br /> </div>[/code:3da1qdsk]
Thanks
Rick Lipkin |
Cancel on Valid | Rick:
With the BUTTON class I do this way
[code=fw:2oycdrow]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> oCancelar <span style="color: #0000ff;">ID</span> <span style="color: #000000;">902</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">UPDATE</span> CANCEL;<br /> <span style="color: #0000ff;">ACTION</span> oDlg:<span style="color: #000000;">END</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span>;<br /> <span style="color: #0000ff;">MESSAGE</span> <span style="color: #ff0000;">"Cancela el proceso"</span><br /> </div>[/code:2oycdrow]
Pls note the CANCEL clause, perhaps these can help you
Regards |
Cancel on Valid | You need to do it like this:
[code=fw:30btkr1l]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oBUTT2 <span style="color: #0000ff;">ID</span> <span style="color: #000000;">112</span> <span style="color: #0000ff;">of</span> oREQ ; <span style="color: #B900B9;">// cancel</span><br /> <span style="color: #0000ff;">RESOURCE</span> <span style="color: #ff0000;">"CANCEL1"</span>,<span style="color: #ff0000;">"DCANCEL1"</span>,<span style="color: #ff0000;">"DCANCEL1"</span> ;<br /> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&Cancel "</span> <span style="color: #0000ff;">LEFT</span> <span style="color: #000000;">2007</span>;<br /> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">(</span> lOK := .F., oREQ:<span style="color: #000000;">END</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br />oBUTT2:<span style="color: #000000;">lCancel</span> := .t.<br /> </div>[/code:30btkr1l]
This allows to Button to fire and ignore the valid function. |
Cancel on Valid | I don't think the Cancel clause works on btnbmp class. You have to use oButton:lCancel := .f. |
Cancel on Valid | Gale
YES .. your advice worked GREAT .. oButton:lCancel := .t. allowed the valid NOT to fire if the cursor was in the Valid Get !
Thanks
Rick Lipkin
[code=fw:1tyb2zze]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oBUTT2 <span style="color: #0000ff;">ID</span> <span style="color: #000000;">112</span> <span style="color: #0000ff;">of</span> oREQ ; <span style="color: #B900B9;">// cancel</span><br /> <span style="color: #0000ff;">RESOURCE</span> <span style="color: #ff0000;">"CANCEL1"</span>,<span style="color: #ff0000;">"DCANCEL1"</span>,<span style="color: #ff0000;">"DCANCEL1"</span> ;<br /> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&Cancel "</span> <span style="color: #0000ff;">LEFT</span> <span style="color: #000000;">2007</span>;<br /> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">(</span> lOK := .F., oREQ:<span style="color: #000000;">END</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> oButt2:<span style="color: #000000;">lCancel</span> := .t.<br /> </div>[/code:1tyb2zze] |
Cancel with acelerator | Hi Antônio,
You solve the problem in fivewin for harbour 2.6? Cancel in button dont work with acelerator.
Thanks. |
Cancelada la visita a Colombia | Hola a todos:
Es una pena informarles que debido a algunos problemas logísticos con la empresa que contrata nuestros servicios en Colombia, la visita planeada para la segunda quincena de este mes se ha suspendido.
Tenemos una nueva fecha planteada a partir del día 17 de Septiembre, pero con varios cambios en el itinerario que aun tengo pendientes de confirmar, pero que una vez confirmados les informaremos con mucho gusto.
Confirmo además la visita a Chile a partir del 12 de Octubre. |
Cancelar CICLO | Compañeros del foro buenos días...
Lo que pasa es que estoy corriendo un ciclo, pero eventualmente necesito cancelarlo. Es posible que sea una pregunta un poco tonta pero no se como hacer esto.
Saludos
[code=fw:31aqbeje]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">IF</span> nRegistros#<span style="color: #000000;">0</span><br /> oConsCA:<span style="color: #000000;">MoveFirst</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Do</span> <span style="color: #00C800;">While</span> !oConsCA:<span style="color: #000000;">Eof</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> vR_Ter:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"docu_terce"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,space<span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"docu_terce"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /> vR_Con:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_compraventa"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,<span style="color: #000000;">0</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_compraventa"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /> vR_Pro:=oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_proyecto"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><br /><br /> vR_Lot:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_lote"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,<span style="color: #000000;">0</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_lote"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /> vR_Tip:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_tipo_lote"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,<span style="color: #000000;">0</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_tipo_lote"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /> vR_Maz:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_manzana"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,<span style="color: #000000;">0</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_manzana"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /><br /> vConsCB:=<span style="color: #ff0000;">"INSERT INTO lyma_cobro_serv (ss_regist,ss_estado,ss_tercer,ss_contra,ss_lotesp,ss_tiplot,ss_manzan,ufecha,uhoras) VALUES ('"</span>+;<br /> alltrim<span style="color: #000000;">(</span>vFReg<span style="color: #000000;">)</span>+<span style="color: #ff0000;">"','A','"</span>+alltrim<span style="color: #000000;">(</span>vR_Ter<span style="color: #000000;">)</span>+<span style="color: #ff0000;">"',"</span>+alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>vR_Con<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">","</span>+;<br /> alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>vR_Lot<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">","</span>+alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>vR_Tip<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">","</span>+alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>vR_Maz<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">",'"</span>+vFec+<span style="color: #ff0000;">"','"</span>+vTim+<span style="color: #ff0000;">"')"</span><br /> <span style="color: #00C800;">TRY</span><br /> oCon:<span style="color: #000000;">Execute</span><span style="color: #000000;">(</span>vConsCB<span style="color: #000000;">)</span><br /> CATCH oError<br /> FW_ShowAdoError<span style="color: #000000;">(</span>oCon<span style="color: #000000;">)</span><br /> END<br /><br /> oConsCA:<span style="color: #000000;">MoveNext</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> oProgress2:<span style="color: #000000;">nPosition</span>++<br /> sysrefresh<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">EndDo</span><br /><span style="color: #00C800;">ENDIF</span><br /><br /> </div>[/code:31aqbeje] |
Cancelar CICLO | [code=fw:6q4jun58]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #00C800;">local</span> nKey := VK_RETURN<br /><br /><br /><span style="color: #00C800;">IF</span> nRegistros#<span style="color: #000000;">0</span><br /> oConsCA:<span style="color: #000000;">MoveFirst</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">Do</span> <span style="color: #00C800;">While</span> !oConsCA:<span style="color: #000000;">Eof</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">DO</span> <span style="color: #00C800;">CASE</span><br /> <span style="color: #00C800;">CASE</span> nKey == VK_ESCAPE .OR. GETKEYSTATE<span style="color: #000000;">(</span> VK_ESCAPE <span style="color: #000000;">)</span> .OR. ;<br /> LASTKEY<span style="color: #000000;">(</span><span style="color: #000000;">)</span> = VK_ESCAPE<br /><br /> EXIT<br /><br /> <span style="color: #00C800;">ENDCASE</span><br /><br /><br /> vR_Ter:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"docu_terce"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,space<span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"docu_terce"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /> vR_Con:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_compraventa"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,<span style="color: #000000;">0</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_compraventa"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /> vR_Pro:=oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_proyecto"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><br /><br /> vR_Lot:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_lote"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,<span style="color: #000000;">0</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_lote"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /> vR_Tip:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_tipo_lote"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,<span style="color: #000000;">0</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_tipo_lote"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /> vR_Maz:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_manzana"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,<span style="color: #000000;">0</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_manzana"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /><br /> vConsCB:=<span style="color: #ff0000;">"INSERT INTO lyma_cobro_serv (ss_regist,ss_estado,ss_tercer,ss_contra,ss_lotesp,ss_tiplot,ss_manzan,ufecha,uhoras) VALUES ('"</span>+;<br /> alltrim<span style="color: #000000;">(</span>vFReg<span style="color: #000000;">)</span>+<span style="color: #ff0000;">"','A','"</span>+alltrim<span style="color: #000000;">(</span>vR_Ter<span style="color: #000000;">)</span>+<span style="color: #ff0000;">"',"</span>+alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>vR_Con<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">","</span>+;<br /> alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>vR_Lot<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">","</span>+alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>vR_Tip<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">","</span>+alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>vR_Maz<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">",'"</span>+vFec+<span style="color: #ff0000;">"','"</span>+vTim+<span style="color: #ff0000;">"')"</span><br /> <span style="color: #00C800;">TRY</span><br /> oCon:<span style="color: #000000;">Execute</span><span style="color: #000000;">(</span>vConsCB<span style="color: #000000;">)</span><br /> CATCH oError<br /> FW_ShowAdoError<span style="color: #000000;">(</span>oCon<span style="color: #000000;">)</span><br /> END<br /><br /> oConsCA:<span style="color: #000000;">MoveNext</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> oProgress2:<span style="color: #000000;">nPosition</span>++<br /> sysrefresh<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">EndDo</span><br /><span style="color: #00C800;">ENDIF</span><br /> </div>[/code:6q4jun58]
Saludos.
|
Cancelar CICLO | karinha Muchas Gracias por Responder...
Efectivamente funciono..... Pero ahora me surge otra duda.
Resulta que coloque un msgNoYes("Confirma?"), si el usuario dice si, se sale del proceso.
Pero si dice no el mensaje se repite hasta que finaliza ciclo...
Alguna idea de como solucionarlo? |
Cancelar CICLO | Intenta:
[code=fw:38ysxg1o]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #00C800;">WHILE</span> LASTKEY<span style="color: #000000;">(</span><span style="color: #000000;">)</span> != VK_ESCAPE<br /> </div>[/code:38ysxg1o] |
Cancelar CICLO | Leandro:
Si el usuario responde NO, cambia el valor de nKey
nKey := VK_RETURN
Saludos |
Cancelar CICLO | Creo que esta es la mejor manera.
1.-El ciclo en si es rapido, poner un sysrefresh en cada ciclo podría provocar un error. lo mejor es ponerlo cada n registros.
2.-lo mas rapido es crear una sola cadena para la insertar de una vez todos los registros, esto es eficiente en la mayoria de los casos.
[code=fw:1kno4b80]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />lSalirSinGrabar := .F.<br />nContador := <span style="color: #000000;">0</span><br />cInsertSQL := <span style="color: #ff0000;">""</span><br /><br /><span style="color: #00C800;">IF</span> nRegistros > <span style="color: #000000;">0</span><br /><br /> oConsCA:<span style="color: #000000;">MoveFirst</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">DO</span> <span style="color: #00C800;">WHILE</span> !oConsCA:<span style="color: #000000;">Eof</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <br /> <br /> <span style="color: #00C800;">IF</span> LaskKey<span style="color: #000000;">(</span><span style="color: #000000;">)</span>==VK_ESC<br /> <span style="color: #00C800;">IF</span> MsgNoYes<span style="color: #000000;">(</span><span style="color: #ff0000;">"Desa cancelar la inserción de registros?"</span><span style="color: #000000;">)</span><br /> lSalirSinGrabar := .t.<br /> EXIT<br /> <span style="color: #00C800;">ENDIF</span><br /> <span style="color: #00C800;">ENDIF</span><br /><br /> vR_Ter:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"docu_terce"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,space<span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"docu_terce"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /> vR_Con:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_compraventa"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,<span style="color: #000000;">0</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_compraventa"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /> vR_Pro:=oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_proyecto"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><br /><br /> vR_Lot:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_lote"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,<span style="color: #000000;">0</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_lote"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /> vR_Tip:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_tipo_lote"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,<span style="color: #000000;">0</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_tipo_lote"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /> vR_Maz:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_manzana"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,<span style="color: #000000;">0</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_manzana"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /><br /> vConsCB:=<span style="color: #ff0000;">"INSERT INTO lyma_cobro_serv (ss_regist,ss_estado,ss_tercer,ss_contra,ss_lotesp,ss_tiplot,ss_manzan,ufecha,uhoras) VALUES ('"</span>+;<br /> alltrim<span style="color: #000000;">(</span>vFReg<span style="color: #000000;">)</span>+<span style="color: #ff0000;">"','A','"</span>+alltrim<span style="color: #000000;">(</span>vR_Ter<span style="color: #000000;">)</span>+<span style="color: #ff0000;">"',"</span>+alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>vR_Con<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">","</span>+;<br /> alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>vR_Lot<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">","</span>+alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>vR_Tip<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">","</span>+alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>vR_Maz<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">",'"</span>+vFec+<span style="color: #ff0000;">"','"</span>+vTim+<span style="color: #ff0000;">"')"</span><br /><br /> cInsertSQL += cInsertSQL + <span style="color: #ff0000;">";"</span><br /><br /> oConsCA:<span style="color: #000000;">MoveNext</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <br /> <span style="color: #00C800;">IF</span> ++nContador > <span style="color: #000000;">20</span><br /> SysRefresh<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">ENDIF</span><br /><br /> <span style="color: #00C800;">ENDDO</span><br /><br /> <span style="color: #00C800;">IF</span> !empty<span style="color: #000000;">(</span> cInsertSQL <span style="color: #000000;">)</span> .and. !lSalirSinGrabar<br /> <br /> <span style="color: #00C800;">TRY</span><br /> oCon:<span style="color: #000000;">Execute</span><span style="color: #000000;">(</span> cInsertSQL <span style="color: #000000;">)</span><br /> CATCH oError<br /> FW_ShowAdoError<span style="color: #000000;">(</span> oCon <span style="color: #000000;">)</span><br /> END<br /> <br /> <span style="color: #00C800;">ENDIF</span><br /><br /><span style="color: #00C800;">ENDIF</span><br /> </div>[/code:1kno4b80] |
Cancelar CICLO | Que tal asi;
[code=fw:xwwenzcv]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />oApp := TAplication<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> oCiclo <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">ACTION</span> Proceso<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> oStop <span style="color: #0000ff;">ID</span> <span style="color: #000000;">102</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">ACTION</span> oApp:<span style="color: #000000;">lStop</span> := .t. <br />...<br />..<br /><br /><span style="color: #00C800;">Function</span> Proceso<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br />cInsertSQL := <span style="color: #ff0000;">""</span><br /><br /><span style="color: #00C800;">IF</span> nRegistros > <span style="color: #000000;">0</span><br /><br /> oConsCA:<span style="color: #000000;">MoveFirst</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">DO</span> <span style="color: #00C800;">WHILE</span> !oConsCA:<span style="color: #000000;">Eof</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> .AND. !oApp:<span style="color: #000000;">lStop</span><br /> <br /> vR_Ter:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"docu_terce"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,space<span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"docu_terce"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /> vR_Con:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_compraventa"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,<span style="color: #000000;">0</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_compraventa"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /> vR_Pro:=oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_proyecto"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><br /><br /> vR_Lot:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_lote"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,<span style="color: #000000;">0</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_lote"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /> vR_Tip:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_tipo_lote"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,<span style="color: #000000;">0</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_tipo_lote"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /> vR_Maz:=<span style="color: #00C800;">if</span><span style="color: #000000;">(</span>valtype<span style="color: #000000;">(</span>oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_manzana"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>,<span style="color: #000000;">0</span>,oConsCA:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"id_manzana"</span> <span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">)</span><br /><br /> vConsCB:=<span style="color: #ff0000;">"INSERT INTO lyma_cobro_serv (ss_regist,ss_estado,ss_tercer,ss_contra,ss_lotesp,ss_tiplot,ss_manzan,ufecha,uhoras) VALUES ('"</span>+;<br /> alltrim<span style="color: #000000;">(</span>vFReg<span style="color: #000000;">)</span>+<span style="color: #ff0000;">"','A','"</span>+alltrim<span style="color: #000000;">(</span>vR_Ter<span style="color: #000000;">)</span>+<span style="color: #ff0000;">"',"</span>+alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>vR_Con<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">","</span>+;<br /> alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>vR_Lot<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">","</span>+alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>vR_Tip<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">","</span>+alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>vR_Maz<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">",'"</span>+vFec+<span style="color: #ff0000;">"','"</span>+vTim+<span style="color: #ff0000;">"')"</span><br /><br /> cInsertSQL += cInsertSQL + <span style="color: #ff0000;">";"</span><br /><br /> oConsCA:<span style="color: #000000;">MoveNext</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <br /> <span style="color: #00C800;">ENDDO</span><br /><br /> <span style="color: #00C800;">IF</span> !empty<span style="color: #000000;">(</span> cInsertSQL <span style="color: #000000;">)</span> .and. !oApp:<span style="color: #000000;">lStop</span><br /> <br /> <span style="color: #00C800;">TRY</span><br /> oCon:<span style="color: #000000;">Execute</span><span style="color: #000000;">(</span> cInsertSQL <span style="color: #000000;">)</span><br /> CATCH oError<br /> FW_ShowAdoError<span style="color: #000000;">(</span> oCon <span style="color: #000000;">)</span><br /> END<br /> <br /> <span style="color: #00C800;">ENDIF</span><br /><br /><span style="color: #00C800;">ENDIF</span><br /> <br /><span style="color: #00C800;">return</span><span style="color: #000000;">(</span><span style="color: #00C800;">Nil</span><span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">CLASS</span> TAplicacion<br /><span style="color: #00C800;">DATA</span> lStop <span style="color: #0000ff;">INIT</span> .f.<br /><span style="color: #00C800;">ENDCLASS</span><br /><br /><br /> </div>[/code:xwwenzcv] |
Cancelar CICLO | Gracias a todos por sus respuestas....
Willi voy a probar tu solucion me gusta que se pueda cancelar con el boton. La implemento y les cuento.
Gracias. |
Cancelar INSERT... como lo hacen? | Hola.
En un proceso de GRABAR usando MARIADB inserto en una tabla "a" luuego tomo el ID de esa tabla y la grabo en una tabla "b", lo quie quiero hacer es que si no puedo grabar en la tabla "b" tambien se "cancele" la grabacion de la tabla "A".
como lo hago? |
Cancelar INSERT... como lo hacen? | Hola,
Busca sobre transacciones.
C. |
Cancelar INSERT... como lo hacen? | gracias |
Cancelar INSERT... como lo hacen? | oCon:BeginTransaction()
? INSERT,UPDATE,DELETE
<!-- s:o --><img src="{SMILIES_PATH}/icon_surprised.gif" alt=":o" title="Surprised" /><!-- s:o -->Con:CommitTransaction()
MySql Graba al disco al hacer commit
lo anterior solo está en memoria
saludos |
Cancelar INSERT... como lo hacen? | [quote="sysctrl2":36pd86bi]oCon:BeginTransaction()
? INSERT,UPDATE,DELETE
<!-- s:o --><img src="{SMILIES_PATH}/icon_surprised.gif" alt=":o" title="Surprised" /><!-- s:o -->Con:CommitTransaction()
MySql Graba al disco al hacer commit
lo anterior solo está en memoria
saludos[/quote:36pd86bi]
gracias |
Cancelar OrdScope e oBrw:Refresh una linea | Bom dia....
Duas questões por favor...
1 - Com cancelar um xalias->( OrdScope( 0, xScope ) ) ? Ja tentei "ClearScope","ClrScope","DbClearScope" e nada funciona.... Qual é o comando? e já agora onde se pode consultar a sintaxe de todos os comandos FWPPC?
2 - Tenhom um Browse ( LSTBox ) com uma coluna checkon / checkOff. Quando o brwose é muito grande demora muito
tempo a fazer oBRW:Refresh(). Existe alguma forma de fazer somente um obrw:refreshCurrent() ou algo do genero ?
Qualquer Dica fico muito grato.
Muito Obrigado. |
Cancelar OrdScope e oBrw:Refresh una linea | Pedro,
1) Revisa esta conversación acerca de cómo cancelar OrdScope():
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=17192&start=0&hilit=ordscope">viewtopic.php?f=3&t=17192&start=0&hilit=ordscope</a><!-- l -->
2) Cuantas columnas tiene el browse ? Son todas visibles ? Estás usando SET FILTER TO ... ? |
Cancelar OrdScope e oBrw:Refresh una linea | Antonio. Bom dia....
O assunto do item n1. esta OK, nao me tinha ocorrido ordscope(0,nil), ordscope(1,nil). Obrigado,
O assunto do item n.2 aqui esta o meu codigo.
O que eu pretendia é refrescar unicamente a linha que foi alterada.
Se for possivel é claro...
[code=fw:12yutzku]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">Function</span> Historico<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><span style="color: #00C800;">local</span> oDlgHis, oBrwHis, oBtn1, hBmpOn := LoadBitmap<span style="color: #000000;">(</span> GetResources<span style="color: #000000;">(</span><span style="color: #000000;">)</span>, <span style="color: #ff0000;">"CheckOn"</span> <span style="color: #000000;">)</span>,;<br /> hBmpOFF := LoadBitmap<span style="color: #000000;">(</span> GetResources<span style="color: #000000;">(</span><span style="color: #000000;">)</span>, <span style="color: #ff0000;">"CheckOFF"</span> <span style="color: #000000;">)</span><br /><br />HISMES-><span style="color: #000000;">(</span> OrdSetFocus<span style="color: #000000;">(</span> <span style="color: #ff0000;">"HICLI"</span> <span style="color: #000000;">)</span><span style="color: #000000;">)</span><br />HISMES-><span style="color: #000000;">(</span> ordScope<span style="color: #000000;">(</span> <span style="color: #000000;">0</span>, CLIMES->NUMERO <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br />HISMES-><span style="color: #000000;">(</span> ordScope<span style="color: #000000;">(</span> <span style="color: #000000;">1</span>, CLIMES->NUMERO <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br />HISMES-><span style="color: #000000;">(</span> DbGoTop<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br /><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlgHis <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Historico"</span>+<span style="color: #ff0000;">"-"</span>+Alltrim<span style="color: #000000;">(</span>CLIMES->NOME<span style="color: #000000;">)</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">240</span>,<span style="color: #000000;">270</span><br /><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oFont <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">'Arial'</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">0</span>, <span style="color: #000000;">-10</span><br /><br />@ <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span> <span style="color: #0000ff;">LISTBOX</span> oBrwHis ;<br /> FIELDS <span style="color: #00C800;">IF</span><span style="color: #000000;">(</span> HISMES->SEL, hBmpOn, hBmpOFF <span style="color: #000000;">)</span>,;<br /> HISMES->DATA, HISMES->DESCRITIVO, Transform<span style="color: #000000;">(</span>HISMES->QUANTIDADE,<span style="color: #ff0000;">"99 999.99"</span><span style="color: #000000;">)</span>,;<br /> Transform<span style="color: #000000;">(</span>HISMES->PVENDA,<span style="color: #ff0000;">"999 999.999"</span><span style="color: #000000;">)</span>, Transform<span style="color: #000000;">(</span>HISMES->DESCONTO1,<span style="color: #ff0000;">"999.99"</span><span style="color: #000000;">)</span>,;<br /> Alltrim<span style="color: #000000;">(</span>HISMES->NOMEDOC<span style="color: #000000;">)</span>, Transform<span style="color: #000000;">(</span>HISMES->DOCUMENTO,<span style="color: #ff0000;">"9999999999"</span><span style="color: #000000;">)</span> ;<br /> COLSIZES <span style="color: #000000;">15</span>,<span style="color: #000000;">55</span>,<span style="color: #000000;">120</span>,<span style="color: #000000;">45</span>,<span style="color: #000000;">50</span>,<span style="color: #000000;">45</span>,<span style="color: #000000;">70</span>,<span style="color: #000000;">50</span> ;<br /> HEADERS <span style="color: #ff0000;">"X"</span>,<span style="color: #ff0000;">"Data"</span>, <span style="color: #ff0000;">"Artigo"</span>,<span style="color: #ff0000;">"Qtd"</span>,<span style="color: #ff0000;">"Preço"</span>,<span style="color: #ff0000;">"Desc."</span>,<span style="color: #ff0000;">"Doc."</span>,<span style="color: #ff0000;">"Nr."</span> ;<br /> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">120</span>, <span style="color: #000000;">114</span> ;<br /> <span style="color: #0000ff;">FONT</span> oFont ;<br /> <span style="color: #0000ff;">OF</span> oDlgHis ;<br /> <span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">'HISMES'</span><br /><br />oBrwHis:<span style="color: #000000;">bLDblClick</span> = <span style="color: #000000;">{</span> || HISMES->SEL := !HISMES->SEL, oBrwHIS:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">}</span> <span style="color: #B900B9;">// aqui seria necessario refresh so a linha alterada</span><br />oBrwHis:<span style="color: #000000;">bLogicLen</span> = <span style="color: #000000;">{</span> || HISMES-><span style="color: #000000;">(</span> OrdKeyCount<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">}</span><br /><br />@ <span style="color: #000000;">125</span>,<span style="color: #000000;">00</span> <span style="color: #0000ff;">BTNBMP</span> oBtn2 <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Retroceder"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">60</span>, <span style="color: #000000;">12</span> <span style="color: #0000ff;">action</span> <span style="color: #000000;">{</span> oDlgHis:<span style="color: #000000;">End</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">}</span> <span style="color: #0000ff;">OF</span> oDlgHis<br /><br /><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlgHis <span style="color: #0000ff;">CENTERED</span><br /><br />HISMES-><span style="color: #000000;">(</span> ordScope<span style="color: #000000;">(</span> <span style="color: #000000;">0</span>, <span style="color: #00C800;">Nil</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br />HISMES-><span style="color: #000000;">(</span> ordScope<span style="color: #000000;">(</span> <span style="color: #000000;">1</span>, <span style="color: #00C800;">Nil</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">Nil</span><br /><br /> </div>[/code:12yutzku] |
Cancelar OrdScope e oBrw:Refresh una linea | Pedro,
Estás probando la aplicación en el emulador ó en el pocket pc real ?
Si la pruebas en el pocket pc real no pongas las DBFs y los índices en una tarjeta de memoria. Copia la aplicación y las bases de datos e índices a una carpeta dentro del pocket pc. Las tarjetas de memoria son mucho más lentas que la propia memoria del pocket pc. |
Cancelar OrdScope e oBrw:Refresh una linea | Ok. Antonio
Obrigado pelo feed Back.
Por agora esta tudo bem. |
Cancelar Transferencia FTP | Saludos y buen inicio de Semana:
Tengo un módulo de actualizaciones via FTP, puedo revisar los archivos actualizados, bajarlos y remplazar los archivos antíguos, pero quise implementar un boton para detener la descarga de archivos y cancelar el proceso antes de que 1 o todos los archivos se descarguen, si los archivos se descargan completamente se deshabilita el boton para evitar el proceso.
[img:36yah45b]http://img404.imageshack.us/img404/4527/ylr6.jpg[/img:36yah45b]
Trabajo con la Clase [b:36yah45b]ServicesFTP[/b:36yah45b] de Jose Javier LLoris Roig, la cual hereda los methods de la Clase TFTP de Habour.
Mi idea es mediante una variable lógica si es .T. la descarga continua, si pulso el boton Cancelar la Variable torna a .F. y se cierra el Dialogo.
[code=fw:36yah45b]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> BUTTONBMP oBtn <span style="color: #0000ff;">ID</span> <span style="color: #000000;">500</span> <span style="color: #0000ff;">OF</span> oDlg TEXTRIGHT BITMAP <span style="color: #ff0000;">"CANCELAR"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">(</span>lDown:= .F., lFinDlg:= .T., oDlg:<span style="color: #000000;">END</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span></div>[/code:36yah45b]
Y para mostrar el vance de la desgarga:
[code=fw:36yah45b]<div class="fw" id="{CB}" style="font-family: monospace;">oFtp:<span style="color: #000000;">oFtp</span>:<span style="color: #000000;">exGauge</span> := <span style="color: #000000;">(</span> @FtpProgress<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> oFtp:<span style="color: #000000;">oFtp</span>:<span style="color: #000000;">DownLoadFile</span><span style="color: #000000;">(</span> cDestino + <span style="color: #ff0000;">"<span style="color: #000000;">\"</span> + cFile, cFile )</span></div>[/code:36yah45b]
La Función que muestra el progreso de la descarga de los archivos y en la cual interrumpo el procesoa con la variable:
[code=fw:36yah45b]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">//-----------------------------------------------------------------------------------------------------------------//</span><br /><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> FtpProgress<span style="color: #000000;">(</span>nSent, nTotal<span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">LOCAL</span> cProgress := INT<span style="color: #000000;">(</span> <span style="color: #000000;">100</span>*nSent/nTotal <span style="color: #000000;">)</span><br /><span style="color: #00C800;">LOCAL</span> nPos:= <span style="color: #000000;">0</span><br /><br /><span style="color: #00C800;">IF</span> lDown == .T.<br /> oProg:<span style="color: #000000;">SETPOS</span><span style="color: #000000;">(</span>cProgress<span style="color: #000000;">)</span><br /> oProg:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <br /> oSayP:<span style="color: #000000;">SetText</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"Descargando "</span>+cFile+<span style="color: #ff0000;">" --> "</span>+STR<span style="color: #000000;">(</span>nSent<span style="color: #000000;">)</span>+<span style="color: #ff0000;">" Progreso: "</span>+ALLTRIM<span style="color: #000000;">(</span>STR<span style="color: #000000;">(</span>cProgress<span style="color: #000000;">)</span><span style="color: #000000;">)</span> +<span style="color: #ff0000;">" % "</span><span style="color: #000000;">)</span><br /> oSayP:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">IF</span> cProgress == <span style="color: #000000;">1</span><br /> nPos:= nPos + <span style="color: #000000;">1</span><br /> <span style="color: #00C800;">ENDIF</span><br /> oBrw:<span style="color: #000000;">SETPOS</span><span style="color: #000000;">(</span>nPos<span style="color: #000000;">)</span><br /> oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <br /> SysRefresh<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br />ELSEIF lDown == .F.<br /> oFTP:<span style="color: #000000;">CLOSE</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #B900B9;">//-----Aki el fallo</span><br /> DeleteObject<span style="color: #000000;">(</span> oFTP <span style="color: #000000;">)</span><br /><span style="color: #00C800;">ENDIF</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">Nil</span></div>[/code:36yah45b]
Sl cancelar el proceso el Dialogo de Cierra y muestra este error:
[quote:36yah45b]Time from start: 0 hours 0 mins 12 secs
Error occurred at: 21-10-2013, 10:54:23
Error description: Error BASE/3012 Error de argumento: HB_INETERRORCODE
Args:
[ 1] = U
Stack Calls
===========
Called from: => HB_INETERRORCODE( 0 )
Called from: hbtip\client.prg => TIPCLIENTFTP:INETERRORCODE( 0 )
Called from: hbtip\client.prg => TIPCLIENTFTP:READTOFILE( 0 )
Called from: hbtip\ftpcli.prg => TIPCLIENTFTP:DOWNLOADFILE( 0 )
Called from: Update.prg => DOWNFILS( 271 )[/quote:36yah45b]
Como puedo parar la conexión al FTP sin que provoque error, ya que despupés del error el archivo continua descargandose de forma escondida... Talvéz la solución sea sencilla pero no doy como..
Ojala puedan darme una ayudadita.. Gracias.. |
Cancelar Transferencia FTP | Up +1 <!-- s:twisted: --><img src="{SMILIES_PATH}/icon_twisted.gif" alt=":twisted:" title="Twisted Evil" /><!-- s:twisted: --> <!-- s:twisted: --><img src="{SMILIES_PATH}/icon_twisted.gif" alt=":twisted:" title="Twisted Evil" /><!-- s:twisted: --> |
Cancelar Transferencia FTP | Víctor,
Aunque no tengo mucha idea de lo que puede estar pasando... como veo que insistes con el mensaje he pensado echar una mano: He intentado buscar, segun las llamadas del error, el client.prg y no lo he encontrado ni en xHarbour ni en Harbour 3.2.
Deduzco que debes tener un Harbour antiguo. ¿ Has pensado coger los fuentes actuales de Harbour y utilizar esa parte de las contribs ?
Tampoco he identificado las llamadas con lo que tu dices "aki". Debe ser que tu te refieres a que es esa accion la que genera los problemas.
De todas formas te digo: el comando ftp.exe tiene la opcion de 'disconnect'... no se si habra que desconectar la conexion antes de cerrar(la). Es probable que el Close() prematuro le pueda sentar mal a la clase.
En todo caso, yo miraria los fuentes de la clase para saber que argumento es el que es erroneo para seguirle la pista. Si hubiera tenido los fuentes de la clase yo mismo lo hubiera hecho.
Saludos |
Cancelar Transferencia FTP | Gracias por responder:
Uso Harbour 3.0, he revisado los fuentes de las libs y no hay la opcion de desconectar, no obstante la de conectar, subir y bajar si estan presentes, mi idea es de primero detener la descarga del archivo en curso, para que sea permitible la desconección del FTP, y despues cerrarlo con oFTP:CLOSE(), pero reitero que la opcion de la función desconectar no existe en harbour.
He detectado que si cierro la conexión a internet o si se llega a cortar si se detiene la transferencia y borra el archivo descargado, pero muestra un mensaje que que el sitio ftp retorna el mensaje de desconección, pero no se me hace correcto que por aqui este el tiro.. Lo correcto es que el comando desconectar.. Sigo investigando..
Saludos.. |
Cancelar Transferencia FTP | Por lo pronto ya pude hacer que a media transferencia pueda cancelar la descarga del archivo en curso, pero no de forma "nativa" si no haciendo trampa, entendí que el Objeto oFTP se queda colgado y busca al manejador de errores HB_INETERRORCODE(), para que no se quede buscando al manejador y de error tuve que desviar el tipo de objeto de la clase "ServicesFTP" a otra Clase y después finalizarlo para que no continue la descarga quedando de ésta manera:
[code=fw:t7bkl88c]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">//-----------------------------------------------------------------------------------------------------------------//</span><br /><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> FtpProgress<span style="color: #000000;">(</span>nSent, nTotal<span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">LOCAL</span> cProgress := INT<span style="color: #000000;">(</span> <span style="color: #000000;">100</span>*nSent/nTotal <span style="color: #000000;">)</span><br /><span style="color: #00C800;">LOCAL</span> nPos:= <span style="color: #000000;">0</span><br /><br /><span style="color: #00C800;">IF</span> lDown == .T.<br /> oProg:<span style="color: #000000;">SETPOS</span><span style="color: #000000;">(</span>cProgress<span style="color: #000000;">)</span><br /> oProg:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <br /> oSayP:<span style="color: #000000;">SetText</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"Descargando "</span>+cFile+<span style="color: #ff0000;">" --> "</span>+STR<span style="color: #000000;">(</span>nSent,.T.<span style="color: #000000;">)</span>+<span style="color: #ff0000;">" Progreso: "</span>+ALLTRIM<span style="color: #000000;">(</span>STR<span style="color: #000000;">(</span>cProgress<span style="color: #000000;">)</span><span style="color: #000000;">)</span> +<span style="color: #ff0000;">" % "</span><span style="color: #000000;">)</span><br /> oSayP:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">IF</span> cProgress == <span style="color: #000000;">1</span><br /> nPos:= nPos + <span style="color: #000000;">1</span><br /> <span style="color: #00C800;">ENDIF</span><br /> oBrw:<span style="color: #000000;">SETPOS</span><span style="color: #000000;">(</span>nPos<span style="color: #000000;">)</span><br /> oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <br /> SysRefresh<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br />ELSEIF lDown == .F.<br /> HB_InetCleanup<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> oFtp:= TTimer<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">(</span><span style="color: #000000;">10</span>, <span style="color: #000000;">{</span> || <span style="color: #00C800;">Nil</span> <span style="color: #000000;">}</span><span style="color: #000000;">)</span> <span style="color: #B900B9;">//--Cambiando de "ServicesFTP" a "TTimer"</span><br /> oFTP:<span style="color: #000000;">END</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> DeleteObject<span style="color: #000000;">(</span> oFTP <span style="color: #000000;">)</span><br /><span style="color: #00C800;">ENDIF</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">Nil</span><br /> </div>[/code:t7bkl88c]
Listo: la solución es casi perfecta, no da errores, cierra el dialogo de actualización, no modifica ni borra los archivos a actualizar, peroooo... el archivo "ftp-1.log" se queda cargado en memoria y no lo puedo eliminar ni con el comando FERASE(), este archivo lo genera al conectarse al FTP.
Considero que éste archivo no debiera ser creado, representa un peligro: pues en él esta contenida toda la información de conexión al FTP, nomnbre de usuario, pasword. [b:t7bkl88c]Habrá forma de evitar que este archivo "ftp-X.log" sea creado..? [/b:t7bkl88c] <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: --> <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: --> <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: -->
Saludos.. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> |
Cancelar Transferencia FTP | Víctor,
Muy, muy bueno... el cambio de tipo de objeto... Genial, SI NO se producen fugas de memoria al no cerrar el oftp de forma "ortodoxa".
Buena también la info del log que no quiere borrarse. ¿ Has probado con el Unlocker, a ver si lo puedes borrar ? Yo, por de pronto, intentaria, a ese archivo cambiarle el nombre y crearlo en temp o algo asi para que no estuviera demasiado "ubicado".
En todo caso, y como te comente, yo hubiera probado primero las rutinas ftp de fwh y/o las rutinas ftp de harbour 3.2. Pero como dicen los informaticos, si funciona ¡ no lo toques ! <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Saludos |
Cancelar Transferencia FTP | Victor,
En c:\harbour\contrib\hbtip\ftpcli.prg tienes un ejemplo de cliente FTP en donde hay llamadas al método . No se si este es el código que usas ó parecido. Si publicas un ejemplo completo aqui, lo probaremos y a ver si podemos solucionarlo:
[url:yxlmb6jz]https://github.com/harbour/core/blob/master/contrib/hbtip/ftpcli.prg[/url:yxlmb6jz]
En ese código hay llamadas a un método inetErrorCode(), que por el nombre pareciese que esta basado en HB_INETERRORCODE(). De ahi el sugerirte este fichero por si contiene información valiosa para tu código basado en esas funciones. |
Cancelar Transferencia FTP | Buen dia Maestro Antonio:
[b:2u60io5m]Solo queda pendiente evitar que se genere el archivo "ftp-1.log" que se crea al conectar al sitio FTP[/b:2u60io5m], es molesto y peligroso que este archivo se genere, ya que contiene toda la información para conectarse a los sitios FTP, esta información no deberia darse a los usuarios finales, de hecho ya estaba comentado en el foro pero no se le dio seguimiento y solución.
[url:2u60io5m]http://forums.fivetechsupport.com/viewtopic.php?p=113198#p113198[/url:2u60io5m]
Si es inavitable que ese archivo sea creado para el uso interno de Harbour para conectarse al FTP, seria bueno que se le cambiara de extención para que no pueda ser abierto tan facil y/o mejor aún cambiar el lugar donde se crea, ya sea en la carpeta temporal de Windows.
El link de los fuentes de Harbour ya los habia revisado, de ahi obtuve la raíz del fallo anterior, revise si de ahi proviene la creación del archivo "ftp-1.log" pero no lo encontre, talvez este en los demás fuentes pero no me dio tiempo de revisarlo.
Lo de detener la transferencia del archivo no me da problemas, funciona como lo explique anteriormente...
Ojala se puediera solucionar este pequeño bug.. Saludos.. <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> |
Cancelar Transferencia FTP | Victor,
Comprueba si en tu código se usa esto:
METHOD New( oUrl, xTrace, oCredentials ) CLASS TIPClient
TIPClient():New( ... )
si especificas el segundo parámetro como .F. no se debería generar ningun fichero .log |
Cancelar Transferencia FTP | [b:1vve9ppg]¡¡¡ PERFECTO MAESTRO: !!![/b:1vve9ppg]
Ahora si, funciona como lo tenia pensado..
No pues con razón, en los parametros de la clase esta determinado xomo XTrace, yo estube buscando algo que tuviera que ver con ".log" pero no di mas que con StartCleanLogFile()
Gracias... <!-- s:mrgreen: --><img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green" /><!-- s:mrgreen: --> <!-- s:mrgreen: --><img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green" /><!-- s:mrgreen: --> <!-- s:mrgreen: --><img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green" /><!-- s:mrgreen: --> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.