From: Leonardo M. <leo...@ho...> - 2016-10-05 12:28:43
|
Hi, I'm migrating from xHarbour to Harbour and am trying to migrate to Hwgui SVN But I'm with the below error when compiling. How to proceed? source\acerto_cnt_rela.prg(126) Error E0030 Syntax error "syntax error at 'END'" Lines 10617, Functions/Procedures 9 source\sagi_exportacao.prg(342) Error E0030 Syntax error "syntax error at 'RADIOGROUP'" sample: .... .... GET RADIOGROUP oRdGp1 VAR nRdGp1 @ 017,078 RADIOBUTTON oRadiobutton1 CAPTION "Emissão" SIZE 90,22 @ 143,078 RADIOBUTTON oRadiobutton2 CAPTION "Vencimento" SIZE 90,22 END RADIOGROUP oRdGp1 ..... ..... ..... |
From: Alexander S.K. <al...@be...> - 2016-10-05 13:12:52
|
Leonardo Machado пишет: > .... > GET RADIOGROUP oRdGp1 VAR nRdGp1 > @ 017,078 RADIOBUTTON oRadiobutton1 CAPTION "Emissão" SIZE 90,22 > @ 143,078 RADIOBUTTON oRadiobutton2 CAPTION "Vencimento" SIZE 90,22 > END RADIOGROUP oRdGp1 ~~~~~~ Remove 'oRdGp1' from END RADIOGROUP statement. Regards, Alexander. |
From: Leonardo M. <leo...@ho...> - 2016-10-08 00:37:45
|
OTHER ERRORS: FUNCTION TEST INIT DIALOG oDlg TITLE "test" ; AT 0,0 SIZE GETDESKTOPWIDTH(),GETDESKTOPHEIGHT()-50 ; STYLE WS_POPUP+WS_CAPTION+DS_CENTER +WS_SYSMENU+WS_MINIMIZEBOX+WS_MAXIMIZEBOX+WS_VISIBLE ACTIVATE DIALOG oDlg Show SW_SHOWMAXIMIZED // error RETURN NIL ________________________________ De: Leonardo Machado <leo...@ho...> Enviado: sexta-feira, 7 de outubro de 2016 12:17 Para: Alexander S.Kresin Assunto: Re: [Hwgui-developers] Error Understood, I will remove all. Another error: source\sagi_tanque.prg(1664) Error E0030 Syntax error "syntax error at '@'" Sample: ..... ..... @ 289,19 GET CHECKBOX oTodos_Datas VAR lTodas_Datas CAPTION 'Todos' SIZE 062,022; ON INIT {|| if(lTodas_Datas, (dIni := ctod('01/01/1800'), dFim := ctod('31/12/4000'), oIni:Refresh(), oFim:Refresh(),oIni:Disable(), oFim:Disable()),; (oIni:Enable(), oFim:Enable())) }; ON CLICK{|| msginfo('test') } ..... ..... ..... ________________________________ De: Alexander S.Kresin <al...@be...> Enviado: sexta-feira, 7 de outubro de 2016 04:41 Para: Leonardo Machado Assunto: Re: [Hwgui-developers] Error Leonardo Machado ?????: > > STATIC Thisform > > > FUNCTION TEST(nCODFOR) > > LOCAL oDLG > > > INIT WINDOW oDlg MDICHILD VAR Thisform TITLE "Teste"; > ... INIT WINDOW has not VAR clause. As I understand this goes from 2.17 and is intended for 'thisform' always point to currently active window. If so, you can simply set this in ON GETFOCUS: ON GETFOCUS {|o|thisform:=o} Regards, Alexander. |
From: Alexander S.K. <al...@be...> - 2016-10-10 09:22:30
|
Leonardo Machado пишет: > > ACTIVATE DIALOG oDlg Show SW_SHOWMAXIMIZED // error This must be: ACTIVATE DIALOG oDlg MAXIMIZED Regards, Alexander. |
From: Leonardo M. <leo...@ho...> - 2016-10-10 10:51:21
|
Thanks I'll try. ________________________________ De: Alexander S.Kresin <al...@be...> Enviado: segunda-feira, 10 de outubro de 2016 06:22 Para: Hwgui Desenvolvedores Assunto: Re: [Hwgui-developers] Error Leonardo Machado ?????: > > ACTIVATE DIALOG oDlg Show SW_SHOWMAXIMIZED // error This must be: ACTIVATE DIALOG oDlg MAXIMIZED Regards, Alexander. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot Slashdot: News for nerds, stuff that matters<http://sdm.link/slashdot> sdm.link Slashdot: News for nerds, stuff that matters. Timely news source for technology related news with a heavy slant towards Linux and Open Source issues. _______________________________________________ Hwgui-developers mailing list Hwg...@li... https://lists.sourceforge.net/lists/listinfo/hwgui-developers |
From: Leonardo M. <leo...@ho...> - 2016-10-10 11:08:18
|
HI, I also noticed that the BROWSE component not has TOOLTIP would be very difficult to implement? ________________________________ De: Leonardo Machado <leo...@ho...> Enviado: segunda-feira, 10 de outubro de 2016 07:51 Para: Hwgui Desenvolvedores Assunto: Re: [Hwgui-developers] Error Thanks I'll try. ________________________________ De: Alexander S.Kresin <al...@be...> Enviado: segunda-feira, 10 de outubro de 2016 06:22 Para: Hwgui Desenvolvedores Assunto: Re: [Hwgui-developers] Error Leonardo Machado ?????: > > ACTIVATE DIALOG oDlg Show SW_SHOWMAXIMIZED // error This must be: ACTIVATE DIALOG oDlg MAXIMIZED Regards, Alexander. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot Slashdot: News for nerds, stuff that matters<http://sdm.link/slashdot> sdm.link Slashdot: News for nerds, stuff that matters. Timely news source for technology related news with a heavy slant towards Linux and Open Source issues. _______________________________________________ Hwgui-developers mailing list Hwg...@li... https://lists.sourceforge.net/lists/listinfo/hwgui-developers Hwgui-developers Info Page - SourceForge<https://lists.sourceforge.net/lists/listinfo/hwgui-developers> lists.sourceforge.net To see the collection of prior postings to the list, visit the Hwgui-developers Archives. Using Hwgui-developers: To post a message to all the list ... |