FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour LABEL EN FWH1303 NO FUNCIONA?
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
LABEL EN FWH1303 NO FUNCIONA?
Posted: Wed Jun 05, 2013 06:22 PM

EN SAMPLES\GIANNI.PRG

LABEL NO PASA EN LA COMPILACIÓN...

que hacer?

+----------------------------------------------------------------------------+
¦ FiveWin for xHarbour 13.03 - Mar. 2013 xHarbour development power ¦_
¦ (c) FiveTech, 1993-2013 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8 ¦¦
+----------------------------------------------------------------------------+¦
  ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Compiling...
GIANNI.prg(20) Error E0030 Syntax error: "syntax error at '@'"
GIANNI.prg(25) Error E0030 Syntax error: "syntax error at '@'"
xHarbour 1.2.3 Intl. (SimpLex) (Build 20130326)
Copyright 1999-2013, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'GIANNI.prg' and generating preprocessed output to 'GIANNI.ppo'...
2 errors

No code generated
* Compile errors *
c:\FWH1303\samples>

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: LABEL EN FWH1303 NO FUNCIONA?
Posted: Wed Jun 05, 2013 07:14 PM
Joao,

Please modify it this way:

Code (fw): Select all Collapse
#include "FiveWin.ch" 

function Main() 
   local oDlg 
   local lFivePro  := .T. 
   local lDialog   := .T. 
   local lObjects  := .F. 
   local nNivel    := 1 
   local cName     := SPACE( 10 ) 
   local cAddress  := SPACE( 30 ) 
   local oBtn, oGet1, oGet2 

   DEFINE DIALOG oDlg FROM 8, 2 TO 25, 50 TITLE "SetFocus test" 

   @ 1,  1 SAY "&Name:" OF oDlg 
   @ 1,  6 GET oGet1 VAR cName OF oDlg 
   @ 2,  1 SAY "&Address:" OF oDlg 
   @ 2,  6 GET oGet2 VAR cAddress OF oDlg 

   @ 3,  1 GROUP TO 7, 8 LABEL "&Products" OF oDlg 
   @ 4,  2 CHECKBOX lFivePro PROMPT "&FivePro" OF oDlg SIZE 60, 17
   @ 5,  2 CHECKBOX lDialog  PROMPT "&Dialog"  OF oDlg SIZE 60, 17 
   @ 6,  2 CHECKBOX lObjects PROMPT "O&bjects" OF oDlg SIZE 60, 17 

   @ 3,  9 GROUP TO 7, 17 LABEL "&Nivel" OF oDlg 
   @ 4,  9 RADIO nNivel PROMPT "&Novice", "A&vanced", "&Expert" OF oDlg 

   @ 6,  5 BUTTON oBtn PROMPT "&Ok"  OF oDlg SIZE 50, 12 ACTION (oGet2:ctext("OK ACTION RUN ON " + TIME()),oGet2:SetFocus()) DEFAULT 

   @ 6, 17 BUTTON "&Cancel" OF oDlg SIZE 50, 12 ACTION oDlg:End() 

   ACTIVATE DIALOG oDlg CENTERED 

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: LABEL EN FWH1303 NO FUNCIONA?
Posted: Wed Jun 05, 2013 07:32 PM

Thank you very much master!!

Resuelto.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341

Continue the discussion