Amigo Mastintin,
compilando con build.bat de fiveweb, marca error en la linea 5 y 6 de MsgYesNo.prg
┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWeb builder Harbour development power │▄
│ (c) FiveTech, 1993-2012 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8 │█
└────────────────────────────────────────────────────────────────────────────┘█
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
MsgYesNo.prg(5) Error E0030 Syntax error "syntax error at 'CTITLE'"
MsgYesNo.prg(6) Error E0030 Syntax error "syntax error at 'CICON'"
Harbour 3.2.0dev (Rev. 17475)
Copyright (c) 1999-2012,
http://harbour-project.org/Compiling 'MsgYesNo.prg' and generating preprocessed output to 'MsgYesNo.ppo'...
2 errors
No code generated.
* Compile errors *
C:\fiveweb\fiveweb_0.4\samples>
- Code: Select all Expand view
#include "FiveWeb.ch"
function MsgYesNo( cMsg , cTitle , cIcon )
local cUiIcon
DEFAULT cTitle:= "Attention"
DEFAULT cIcon := "ALERT"
if cIcon == "ALERT"
cUiIcon:="ui-icon ui-icon-alert"
elseif cIcon == "CHECK"
cUiIcon:= "ui-icon ui-icon-circle-check"
else
cUiIcon:="ui-icon ui-icon-alert"
endif
? '<div id="oMsgYesNo" class="dialog_window" title="'+ cTitle+'">'
? "<p>"
? "<span class='"+cUiIcon+"' style='float: left; margin: 0 7px 20px 0;'></span>"
? cMsg
? "</p>"
? "</div>"
? "<script>"
? "$('#oMsgYesNo').dialog( { width: 400, " +;
"height: 250 , " +;
"modal: true , " +;
"buttons: { " +;
"'Yes': function() { " +;
" $( this ).dialog( 'close' ); "+;
" }, "+;
"'No': function() { " +;
" $( this ).dialog( 'close' ); "+;
"} "+;
"} "+;
"} );"
? "</script>"
return nil
Saludos..