You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
(64) |
Apr
(70) |
May
(54) |
Jun
(57) |
Jul
(34) |
Aug
(19) |
Sep
(28) |
Oct
(48) |
Nov
(42) |
Dec
(43) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(50) |
Feb
(19) |
Mar
(10) |
Apr
(5) |
May
(1) |
Jun
(14) |
Jul
(23) |
Aug
(6) |
Sep
(118) |
Oct
(110) |
Nov
(36) |
Dec
(6) |
| 2006 |
Jan
(19) |
Feb
(7) |
Mar
(4) |
Apr
(32) |
May
(6) |
Jun
(14) |
Jul
(42) |
Aug
(38) |
Sep
(88) |
Oct
(21) |
Nov
(40) |
Dec
(37) |
| 2007 |
Jan
(31) |
Feb
(20) |
Mar
(26) |
Apr
(38) |
May
(4) |
Jun
(3) |
Jul
(3) |
Aug
(8) |
Sep
(2) |
Oct
(3) |
Nov
(25) |
Dec
(9) |
| 2008 |
Jan
(7) |
Feb
(10) |
Mar
(16) |
Apr
(10) |
May
(25) |
Jun
(16) |
Jul
(27) |
Aug
(8) |
Sep
(20) |
Oct
(54) |
Nov
(11) |
Dec
(14) |
| 2009 |
Jan
(28) |
Feb
(22) |
Mar
(13) |
Apr
(70) |
May
(25) |
Jun
(23) |
Jul
(12) |
Aug
(18) |
Sep
(7) |
Oct
(4) |
Nov
(8) |
Dec
(36) |
| 2010 |
Jan
(58) |
Feb
(66) |
Mar
(3) |
Apr
(16) |
May
(9) |
Jun
(10) |
Jul
(6) |
Aug
(8) |
Sep
(17) |
Oct
(15) |
Nov
(12) |
Dec
(27) |
| 2011 |
Jan
(3) |
Feb
(17) |
Mar
(5) |
Apr
(12) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(5) |
Sep
(56) |
Oct
(24) |
Nov
(8) |
Dec
(32) |
| 2012 |
Jan
(20) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
(9) |
Jul
(29) |
Aug
(3) |
Sep
(17) |
Oct
(60) |
Nov
(17) |
Dec
(52) |
| 2013 |
Jan
(22) |
Feb
(35) |
Mar
(31) |
Apr
(5) |
May
(16) |
Jun
(108) |
Jul
(57) |
Aug
(2) |
Sep
(11) |
Oct
|
Nov
(3) |
Dec
(13) |
| 2014 |
Jan
(39) |
Feb
(15) |
Mar
|
Apr
(31) |
May
|
Jun
(9) |
Jul
(16) |
Aug
(1) |
Sep
(8) |
Oct
(51) |
Nov
(5) |
Dec
(119) |
| 2015 |
Jan
(78) |
Feb
(47) |
Mar
(25) |
Apr
(32) |
May
(34) |
Jun
(42) |
Jul
(62) |
Aug
(10) |
Sep
(11) |
Oct
(5) |
Nov
(13) |
Dec
(24) |
| 2016 |
Jan
(12) |
Feb
(1) |
Mar
(2) |
Apr
|
May
(1) |
Jun
(12) |
Jul
(5) |
Aug
(32) |
Sep
(36) |
Oct
(34) |
Nov
(3) |
Dec
(1) |
| 2017 |
Jan
(2) |
Feb
(3) |
Mar
(2) |
Apr
|
May
(3) |
Jun
(5) |
Jul
(6) |
Aug
(5) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2018 |
Jan
(1) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(26) |
Sep
(24) |
Oct
(2) |
Nov
(6) |
Dec
(26) |
| 2019 |
Jan
(10) |
Feb
(5) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(3) |
Aug
|
Sep
(2) |
Oct
(1) |
Nov
(1) |
Dec
(2) |
| 2020 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
(5) |
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
(1) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(4) |
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(1) |
|
From: oleksa <m.o...@uk...> - 2013-02-11 14:59:43
|
Run BoundDemo and click Combo1 button, get: Error BASE/1099 Argument error: STR Called from ->STR(0) Called from combobox.prg->(b)BOUNDTEST(92) Called from source\hdialog.prg->DLGCOMMAND(515) Called from source\hdialog.prg->(b)(_INITSTATICS00003)(0) Called from source\hdialog.prg->HDIALOG:ONEVENT(237) Called from ->HWG_DLGBOXINDIRECT(0) Called from source\hdialog.prg->HDIALOG:ACTIVATE(178) Called from combobox.prg->BOUNDTEST(97) Called from combobox.prg->(b)MAIN(23) Called from source\hwindow.prg->ONCOMMAND(886) Called from source\hwindow.prg->(b)HMAINWINDOW(253) Called from source\hwindow.prg->HMAINWINDOW:ONEVENT(477) Called from ->HWG_ACTIVATEMAINWINDOW(0) Called from source\hwindow.prg->HMAINWINDOW:ACTIVATE(433) Called from combobox.prg->MAIN(26) HwGUI 2.17 Harbour 3.2.0dev (Rev. 18819) Date:02/11/13 Time:16:54:50 nCombo change type from N to C. Regards, Alexey Myronenko |
|
From: oleksa <m.o...@uk...> - 2013-02-11 12:09:56
|
Hi! Open example.xml form, in object inspector edit any value in combobox and then try to scroll by mouse, get the next error: Error BASE/1004 Message not found: PBROWSE:NSCROLLBARS Called from ->__ERRRT_SBASE(0) Called from ../../../tobject.prg->PBROWSE:ERROR(0) Called from ../../../tobject.prg->(b)HBOBJECT(0) Called from ../../../tobject.prg->PBROWSE:MSGNOTFOUND(0) Called from ../../../tobject.prg->PBROWSE:NSCROLLBARS(0) Called from source\hcombo.prg->HCOMBOBOX:ONEVENT(331) Called from ->HWG_ACTIVATEMAINWINDOW(0) Called from source\hwindow.prg->HMAINWINDOW:ACTIVATE(433) Called from designer.prg->_APPMAIN(349) HwGUI 2.17 Harbour 3.2.0dev (Rev. 18819) Date:02/11/13 Time:14:05:01 Regards, Alexey Myronenko |
|
From: oleksa <m.o...@uk...> - 2013-02-08 09:33:57
|
Hi! Is it enough to add the next lines (+) for correct work this func? FUNCTION GetSkip( oParent, hCtrl, lClipper, nSkip ) LOCAL i, nextHandle, oCtrl LOCAL oForm := iif( ( oForm := hwg_GetParentForm(oParent ) ) = Nil, oParent, oForm ) + if oform:classname=="HFORMTMPL" + oForm := oForm:oDlg + endif DEFAULT nSkip := 1 Regards, Alexey Myronenko --- Оригінальне повідомлення --- Від кого: "oleksa" <m.o...@uk...> Кому: hwg...@li... Дата: 7 лютого 2013, 13:12:00 Тема: [Hwgui-developers] Error BASE/1004 Message not found: HFORMTMPL:TYPE > Hi! > > Try Test1 from hwgui\utils\designer\samples\example.prg and press the Tab key. > > > Error BASE/1004 Message not found: HFORMTMPL:TYPE > Called from ->__ERRRT_SBASE(0) > Called from ../../../tobject.prg->HFORMTMPL:ERROR(0) > Called from ../../../tobject.prg->(b)HBOBJECT(0) > Called from ../../../tobject.prg->HFORMTMPL:MSGNOTFOUND(0) > Called from ../../../tobject.prg->HFORMTMPL:TYPE(0) > Called from source\hedit.prg->GETSKIP(1423) > Called from source\hedit.prg->HEDIT:ONEVENT(358) > Called from ->HWG_DLGBOXINDIRECT(0) > Called from source\hdialog.prg->HDIALOG:ACTIVATE(178) > Called from source\procmisc\hfrmtmpl.prg->HFORMTMPL:SHOW(428) > Called from source\procmisc\hfrmtmpl.prg->(b)COMPILEMETHOD(539) > Called from source\hownbtn.prg->HOWNBUTTON:MUP(470) > Called from source\hownbtn.prg->HOWNBUTTON:ONEVENT(174) > Called from ->HWG_ACTIVATEMAINWINDOW(0) > Called from source\hwindow.prg->HMAINWINDOW:ACTIVATE(433) > Called from source\procmisc\hfrmtmpl.prg->HFORMTMPL:SHOW(428) > Called from source\procmisc\hfrmtmpl.prg->(b)HFORMTMPL(165) > Called from source\procmisc\hfrmtmpl.prg->HFORMTMPL:SHOWMAIN(0) > Called from example.prg->MAIN(21) > > HwGUI 2.17 Harbour 3.2.0dev (Rev. 18819) > Date:02/07/13 > Time:12:52:45 > > Regards, > Alexey Myronenko > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Hwgui-developers mailing list > Hwg...@li... > https://lists.sourceforge.net/lists/listinfo/hwgui-developers |
|
From: oleksa <m.o...@uk...> - 2013-02-07 10:56:07
|
Hi! Try Test1 from hwgui\utils\designer\samples\example.prg and press the Tab key. Error BASE/1004 Message not found: HFORMTMPL:TYPE Called from ->__ERRRT_SBASE(0) Called from ../../../tobject.prg->HFORMTMPL:ERROR(0) Called from ../../../tobject.prg->(b)HBOBJECT(0) Called from ../../../tobject.prg->HFORMTMPL:MSGNOTFOUND(0) Called from ../../../tobject.prg->HFORMTMPL:TYPE(0) Called from source\hedit.prg->GETSKIP(1423) Called from source\hedit.prg->HEDIT:ONEVENT(358) Called from ->HWG_DLGBOXINDIRECT(0) Called from source\hdialog.prg->HDIALOG:ACTIVATE(178) Called from source\procmisc\hfrmtmpl.prg->HFORMTMPL:SHOW(428) Called from source\procmisc\hfrmtmpl.prg->(b)COMPILEMETHOD(539) Called from source\hownbtn.prg->HOWNBUTTON:MUP(470) Called from source\hownbtn.prg->HOWNBUTTON:ONEVENT(174) Called from ->HWG_ACTIVATEMAINWINDOW(0) Called from source\hwindow.prg->HMAINWINDOW:ACTIVATE(433) Called from source\procmisc\hfrmtmpl.prg->HFORMTMPL:SHOW(428) Called from source\procmisc\hfrmtmpl.prg->(b)HFORMTMPL(165) Called from source\procmisc\hfrmtmpl.prg->HFORMTMPL:SHOWMAIN(0) Called from example.prg->MAIN(21) HwGUI 2.17 Harbour 3.2.0dev (Rev. 18819) Date:02/07/13 Time:12:52:45 Regards, Alexey Myronenko |
|
From: oleksa <m.o...@uk...> - 2013-02-04 19:34:33
|
What you mean when said about hbide (by Pritpal?) and hbide users? HbIde users monitoring hwgui project looking in hbp file? But Chanelog give more info. Regards, Alexey Myronenko --- Оригінальне повідомлення --- Від кого: "Maurizio la Cecilia" <m.l...@gm...> Кому: "oleksa" <m.o...@uk...> Дата: 4 лютого 2013, 17:29:56 Тема: Re: [Hwgui-developers] To Maurizio (-3rd in hbp) > Hi, > are just settings of hbide project properties. > Free to delete them, but hbide users will see in svn the hbp file with changed state any time they will open the project. > BR > Maurizio > > Il giorno 04/feb/2013 14:49, "oleksa" <m.o...@uk...> ha scritto: > > > > Hi! > > > > Can you explain these lines in hwgui.hbp > > > > -3rd=hbide_version=1.0 > > -3rd=hbide_type=Lib > > -3rd=hbide_title=hwgui > > -3rd=hbide_output=hwgui > > > > Regards, > > Alexey Myronenko > > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://p.sf.net/sfu/appdyn_d2d_jan > > _______________________________________________ > > Hwgui-developers mailing list > > Hwg...@li... > > https://lists.sourceforge.net/lists/listinfo/hwgui-developers |
|
From: Maurizio la C. <m.l...@gm...> - 2013-02-04 15:30:10
|
Hi, are just settings of hbide project properties. Free to delete them, but hbide users will see in svn the hbp file with changed state any time they will open the project. BR Maurizio Il giorno 04/feb/2013 14:49, "oleksa" <m.o...@uk...> ha scritto: > > Hi! > > Can you explain these lines in hwgui.hbp > > -3rd=hbide_version=1.0 > -3rd=hbide_type=Lib > -3rd=hbide_title=hwgui > -3rd=hbide_output=hwgui > > Regards, > Alexey Myronenko > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > Hwgui-developers mailing list > Hwg...@li... > https://lists.sourceforge.net/lists/listinfo/hwgui-developers |
|
From: oleksa <m.o...@uk...> - 2013-02-04 13:49:53
|
Hi! Can you explain these lines in hwgui.hbp -3rd=hbide_version=1.0 -3rd=hbide_type=Lib -3rd=hbide_title=hwgui -3rd=hbide_output=hwgui Regards, Alexey Myronenko |
|
From: Alexander S.K. <al...@be...> - 2013-01-18 09:20:07
|
Basso, Luis Fernando writes: > Hi > > BackStyle is an important property and is used in several classes. It is > independent of WS_EX_TRANSPARENT, which is used in labels and hyperlinks. > Serves to define the style in shape and classas container, panel and group > and others. Yes, but we can set and use WS_EX_TRANSPARENT in all controls where it needed instead of using the :backstyle. We can replace checking of :backstyle by checking the WS_EX_TRANSPARENT flag in :extstyle and all will work as it works now, but without redundant :backstyle. > I think the class HSTATIC PAINT method can not be removed from the codes > that enable transparency in objects. > For now, I've deleted the clause TRANSPARENT from the basic SAY command, it is in a SAY [EXTENDED | EXT], which preprocessed into HStaticEx, where Paint method exists. Regards, Alexander. |
|
From: Basso, L. F. <lf...@vi...> - 2013-01-17 16:39:08
|
Hi BackStyle is an important property and is used in several classes. It is independent of WS_EX_TRANSPARENT, which is used in labels and hyperlinks. Serves to define the style in shape and classas container, panel and group and others. It was a way to standardize. It is used in conjunction with SetBkMode I think the class HSTATIC PAINT method can not be removed from the codes that enable transparency in objects. Regards, Basso -----Mensagem Original----- From: Alexander S.Kresin Sent: Wednesday, January 16, 2013 6:48 AM To: hwg...@li... Subject: [Hwgui-developers] hcontrol():backstyle Hi, as I see, the hcontrol():backstyle variable may have only two values: OPAQUE (default) and TRANSPARENT. But we already have the :extstyle variable, which have the WS_EX_TRANSPARENT flag set if the control is TRANSPARENT. So there is no any need in the hcontrol():backstyle, or I miss something ? Regards, Alexander. ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ Hwgui-developers mailing list Hwg...@li... https://lists.sourceforge.net/lists/listinfo/hwgui-developers |
|
From: Alex S. <ss...@mw...> - 2013-01-17 08:03:29
|
On 2013/01/17 08:26 AM, Alexander S.Kresin wrote: > Great! I never thought that this is possible. Could you provide > guilib.ch with appropriate changes ? This idea is taken from Clip4Win written by John Skelton. He took some interest in Harbour in the early days, I really wish he had stuck around, it was an excellent library. Yes, I'll do it. -- Regards Alex |
|
From: Alexander S.K. <al...@be...> - 2013-01-17 06:27:23
|
Alex Strickland writes: > > #xtranslate __IIF(.T., [<true>], [<false>]) => <true> > #xtranslate __IIF(.F., [<true>], [<false>]) => <false> > > #xcommand JOINSTR <a>, <b> [ <fcn: FCN> <fcnname> ] => ; > __IIF(<.fcn.>, <fcnname>, Join)(<a>, <b>) > > > procedure main > > JOINSTR "a", "b" > > JOINSTR "a", "b" FCN MyJoin > > return > > procedure Join(a, b) > > ? a + b > > procedure MyJoin(a, b) > > ? a + ", " + b > Great! I never thought that this is possible. Could you provide guilib.ch with appropriate changes ? Regards, Alexander. |
|
From: Alex S. <ss...@mw...> - 2013-01-16 10:24:26
|
On 2013/01/15 03:04 PM, Alexander S.Kresin wrote:
> It looks interesting for me. We could add this clause to all our
> commands, but I can't make it to work - it gives errors while
> compiling. And what is the __IIF ?
Sorry, I did not give you the complete code, here is a minimal example
with all that is required:
#xtranslate __IIF(.T., [<true>], [<false>]) => <true>
#xtranslate __IIF(.F., [<true>], [<false>]) => <false>
#xcommand JOINSTR <a>, <b> [ <fcn: FCN> <fcnname> ] => ;
__IIF(<.fcn.>, <fcnname>, Join)(<a>, <b>)
procedure main
JOINSTR "a", "b"
JOINSTR "a", "b" FCN MyJoin
return
procedure Join(a, b)
? a + b
procedure MyJoin(a, b)
? a + ", " + b
--
Regards
Alex
|
|
From: Alexander S.K. <al...@be...> - 2013-01-16 08:48:39
|
Hi, as I see, the hcontrol():backstyle variable may have only two values: OPAQUE (default) and TRANSPARENT. But we already have the :extstyle variable, which have the WS_EX_TRANSPARENT flag set if the control is TRANSPARENT. So there is no any need in the hcontrol():backstyle, or I miss something ? Regards, Alexander. |
|
From: Alexander S.K. <al...@be...> - 2013-01-16 07:52:45
|
Itamar M. Lins Jr. Lins writes: > Hi! > > @ x,y say 'XXXXXXXXXX' size 100,20 Transparent > Not work. > Fixed, see latest Changelog. Now this command will be preprocessed to a call of HStaticEx and will work as expected. Regards, Alexander. |
|
From: Itamar M. L. J. L. <ita...@gm...> - 2013-01-15 14:10:25
|
Hi! @ x,y say 'XXXXXXXXXX' size 100,20 Transparent Not work. Best regards, Itamar M. Lins Jr. |
|
From: Alexander S.K. <al...@be...> - 2013-01-15 13:04:51
|
Alex Strickland writes: >> It doesn't really help in your situation now It is a key sentence :). It doesn't help in compatibility problem - people still need to change the syntax of appropriate commands. >> but I always wished it >> was implemented for all relevant commands because then you are free to >> inherit from the HWGUI classes but you don't have to rewrite the >> command to use your new class. In this way the EX versions need not >> have created new commands unless they had new clauses. In our case all these EX versions have new clauses. > No comments here ..., is it a bad idea? > It looks interesting for me. We could add this clause to all our commands, but I can't make it to work - it gives errors while compiling. And what is the __IIF ? Regards, Alexander. |
|
From: Alex S. <ss...@mw...> - 2013-01-15 11:46:54
|
On 2013/01/10 04:47 PM, Alex Strickland wrote: > It doesn't really help in your situation now but I always wished it > was implemented for all relevant commands because then you are free to > inherit from the HWGUI classes but you don't have to rewrite the > command to use your new class. In this way the EX versions need not > have created new commands unless they had new clauses. No comments here ..., is it a bad idea? -- Regards Alex |
|
From: oleksa <m.o...@uk...> - 2013-01-15 09:46:12
|
Yes, harbour is latest. Now build is ok. Thanks. Regards, Alexey Myronenko --- Оригінальне повідомлення --- Від кого: "Alexander S.Kresin" <al...@be...> Кому: hwg...@li... Дата: 14 січня 2013, 14:01:29 Тема: Re: [Hwgui-developers] Error while building hwgui (* $Id:Changelog1990) > oleksa ?????: > > Hi! > > > > source\hipedit.prg(46) Warning W0001 Ambiguous reference 'SUPER' > > > > source\hipedit.prg(98) Warning W0001 Ambiguous reference 'SUPER' > > > > source\hipedit.prg(124) Warning W0001 Ambiguous reference 'SUPER' > > > > Do you use the latest Harbour from the SVN ? I suppose, that this > warnings are caused by the recent changes, made by Przemek - something > related to the 'super'. Try to replace it by '::super'. > > Regards, Alexander. > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > Hwgui-developers mailing list > Hwg...@li... > https://lists.sourceforge.net/lists/listinfo/hwgui-developers |
|
From: oleksa <m.o...@uk...> - 2013-01-15 09:43:55
|
Ok, do it!
Regards,
Alexey Myronenko
--- Оригінальне повідомлення ---
Від кого: "Alexander S.Kresin" <al...@be...>
Кому: hwg...@li...
Дата: 15 січня 2013, 11:28:29
Тема: Re: [Hwgui-developers] Some incompatibilities with previous versions
> So, if nobody objects, I'll change declarations of SAYEX, BUTTONX,
> GROUPEX commands in guilib.ch in following way:
>
> #xcommand @ <x>,<y> SAY [ <lExt: EXTENDED,EXT> ] [ <oSay> CAPTION ]
> <caption> ;
> [ OF <oWnd> ] ;
> ...
> [ ON DBLCLICK <bDblClick> ];
> ...
> => ;
> [<oSay> := ] HStaticEx():New(
> ...
>
> After this change the following lines:
>
> @ 20,10 SAY cText SIZE 260, 22
> @ 20,10 SAY cText SIZE 260, 22 ON DBLCLICK {||MsgInfo("!")}
> @ 20,10 SAY EXT cText SIZE 260, 22
>
> will be preprocessed into:
>
> HStatic():New(,,,20,10,260, 22,cText,,,,,,,,.F. );
> HStaticEx():New(,,,20,10,260, 22,cText,,,,,,,,.F.,,{||MsgInfo("!")}, );
> HStaticEx():New(,,,20,10,260, 22,cText,,,,,,,,.F.,,, );
>
> Thus, if we use additional clauses, which demands functionality of "ex"
> classes, the command will be preprocessed to a call of "ex" class (
> HStaticEx, etc. ). If we don't use them, the command will be
> preprocessed into a call of a base class ( HStatic, etc. ). I someone
> want to use "ex" class independently of the comand clauses, he should
> use "EXTENDED" or "EXT" word ( SAY EXT, etc. ).
>
> Regards, Alexander.
>
> ------------------------------------------------------------------------------
> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
> and more. Get SQL Server skills now (including 2012) with LearnDevNow -
> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only - learn more at:
> http://p.sf.net/sfu/learnmore_122512
> _______________________________________________
> Hwgui-developers mailing list
> Hwg...@li...
> https://lists.sourceforge.net/lists/listinfo/hwgui-developers
|
|
From: Alexander S.K. <al...@be...> - 2013-01-15 09:28:25
|
So, if nobody objects, I'll change declarations of SAYEX, BUTTONX,
GROUPEX commands in guilib.ch in following way:
#xcommand @ <x>,<y> SAY [ <lExt: EXTENDED,EXT> ] [ <oSay> CAPTION ]
<caption> ;
[ OF <oWnd> ] ;
...
[ ON DBLCLICK <bDblClick> ];
...
=> ;
[<oSay> := ] HStaticEx():New(
...
After this change the following lines:
@ 20,10 SAY cText SIZE 260, 22
@ 20,10 SAY cText SIZE 260, 22 ON DBLCLICK {||MsgInfo("!")}
@ 20,10 SAY EXT cText SIZE 260, 22
will be preprocessed into:
HStatic():New(,,,20,10,260, 22,cText,,,,,,,,.F. );
HStaticEx():New(,,,20,10,260, 22,cText,,,,,,,,.F.,,{||MsgInfo("!")}, );
HStaticEx():New(,,,20,10,260, 22,cText,,,,,,,,.F.,,, );
Thus, if we use additional clauses, which demands functionality of "ex"
classes, the command will be preprocessed to a call of "ex" class (
HStaticEx, etc. ). If we don't use them, the command will be
preprocessed into a call of a base class ( HStatic, etc. ). I someone
want to use "ex" class independently of the comand clauses, he should
use "EXTENDED" or "EXT" word ( SAY EXT, etc. ).
Regards, Alexander.
|
|
From: Alexander S.K. <al...@be...> - 2013-01-14 12:30:44
|
oleksa ?????:
> Hi!
>
> If we decide to keep both in the same file, i suggest the next syntax
>
> #xcommand @ <x>,<y> SAY EXTENDED [ <oSay> CAPTION ] <caption> ;
> [ OF <oWnd> ] ;
> ...
> => ;
> [<oSay> := ] HStaticEx():New(
> <oWnd>,<nId>,<nStyle>,<x>,<y>,<width>, ;
> <height>,<caption>,<oFont>,<bInit>,<bSize>,<bDraw>,<ctoolt>, ;
> <color>,<bcolor>,<.lTransp.>,<bClick>,<bDblClick>,<bOther> );;
> [ <oSay>:name := <(oSay)> ]
>
I like the 'SAY EXTENDED' as a replacement for 'SAYEX', but this
doesn't solve the compatibility problem. For now people will get compile
errors, if they use those additional clauses with SAY and they must
change all such commands to SAYEx or SAY EXTENDED, or use other
guilib.ch ( the same about GROUP, BUTTON, and, later, some others ). The
solution, which I suggested, allows to get rid of errors and it is quite
logical, I think: if someone use extra functionality, writing additional
clauses in SAY command, "ex" class is called, if no - basic. IF a
programmer want to use "ex" class in all cases, with any clauses, he
should write SAY EXTENDED (or SAY EXT), we may provide this:
#xcommand @ <x>,<y> SAY [ <lExt: EXTENDED,EXT> ] [ <oSay> CAPTION ]
<caption> ;
[ OF <oWnd> ] ;
...
[ ON DBLCLICK <bDblClick> ];
...
=> ;
[<oSay> := ] HStaticEx():New(
...
#xcommand @ <x>,<y> SAY [ <oSay> CAPTION ] <caption> ;
[ OF <oWnd> ] ;
...
=> ;
[<oSay> := ] HStatic():New(
...
Regards, Alexander
|
|
From: Alexander S.K. <al...@be...> - 2013-01-14 12:01:26
|
oleksa ?????: > Hi! > > source\hipedit.prg(46) Warning W0001 Ambiguous reference 'SUPER' > > source\hipedit.prg(98) Warning W0001 Ambiguous reference 'SUPER' > > source\hipedit.prg(124) Warning W0001 Ambiguous reference 'SUPER' > Do you use the latest Harbour from the SVN ? I suppose, that this warnings are caused by the recent changes, made by Przemek - something related to the 'super'. Try to replace it by '::super'. Regards, Alexander. |
|
From: oleksa <m.o...@uk...> - 2013-01-14 10:13:01
|
Hi! source\hipedit.prg(46) Warning W0001 Ambiguous reference 'SUPER' source\hipedit.prg(98) Warning W0001 Ambiguous reference 'SUPER' source\hipedit.prg(124) Warning W0001 Ambiguous reference 'SUPER' No code generated. hbmk2: Error: Running Harbour compiler (embedded). 1 Regards, Alexey Myronenko |
|
From: oleksa <m.o...@uk...> - 2013-01-10 17:57:16
|
Hi!
If we decide to keep both in the same file, i suggest the next syntax
#xcommand @ <x>,<y> SAY EXTENDED [ <oSay> CAPTION ] <caption> ;
[ OF <oWnd> ] ;
...
=> ;
[<oSay> := ] HStaticEx():New(
<oWnd>,<nId>,<nStyle>,<x>,<y>,<width>, ;
<height>,<caption>,<oFont>,<bInit>,<bSize>,<bDraw>,<ctoolt>, ;
<color>,<bcolor>,<.lTransp.>,<bClick>,<bDblClick>,<bOther> );;
[ <oSay>:name := <(oSay)> ]
because the minimum we need is
@ x,y say csay1 size 100,24
and in that case if the error is happened, the situation is not clear where, in hstatic or hstaticex.
And how it will look in the documentation:
... if you use the clause [ ON DBLCLICK <bDblClick> ] then works a hstaticex if no, then hstatic ...
again not clear for newbie.
In other case we will include the extended command even if we are not use them.
Regards,
Alexey Myronenko
|
|
From: Alex S. <ss...@mw...> - 2013-01-10 14:47:21
|
On 2013/01/10 02:37 PM, Alexander S.Kresin wrote:
> clauses are in these new commands. What is a most suitable way to
> provide compatibility is still an open question. For example, we can
> create a new .ch, where old SAY, BUTTON, GROUP commands will be related
> with new "ex" classes.
To allow using different classes with a command I did this (see CLASS
clause):
#xcommand @ <x>,<y> GET [ <oEdit> VAR ] <vari> ;
[ OF <oWnd> ] ;
[ ID <nId> ] ;
[ SIZE <width>, <height> ] ;
[ COLOR <color> ] ;
[ BACKCOLOR <bcolor> ] ;
[ PICTURE <cPicture> ] ;
[ WHEN <bGfocus> ] ;
[ VALID <bLfocus> ] ;
[<lPassword: PASSWORD>] ;
[ MAXLENGTH <nMaxLength> ] ;
[ STYLE <nStyle> ] ;
[<lnoborder: NOBORDER>] ;
[ FONT <oFont> ] ;
[ ON INIT <bInit> ] ;
[ TOOLTIP <ctoolt> ] ;
[ ON KEYDOWN <bKeyDown> ];
[ ON CHANGE <bChange> ] ;
[ ON CHANGE <bChange> ] ;
[ <class: CLASS> <classname> ] ;
=> ;
[<oEdit> := ] __IIF(<.class.>, <classname>, HEdit)():New(
<oWnd>,<nId>,<vari>, ;
{|v|Iif(v==Nil,<vari>,<vari>:=v)}, ;
<nStyle>,<x>,<y>,<width>,<height>,<oFont>,<bInit>,,, ;
<bGfocus>,<bLfocus>,<ctoolt>,<color>,<bcolor>,<cPicture>,;
<.lnoborder.>,<nMaxLength>,<.lPassword.>,<bKeyDown>, <bChange>)
It doesn't really help in your situation now but I always wished it was
implemented for all relevant commands because then you are free to
inherit from the HWGUI classes but you don't have to rewrite the command
to use your new class. In this way the EX versions need not have created
new commands unless they had new clauses.
--
Regards
Alex
|