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: Alexander S.K. <al...@be...> - 2014-01-30 09:39:17
|
Paulo Flecha writes:
> a Dialog with ON INIT and SetFocus doesn't work
> (Get or combobox)
>
> In the sample the focus is still at the first Get
> clicking on the button "SetFocus 2" works fine
The ON INIT isn't an appropriate place to set focus to some control -
Winapi set it itself later while initialization procedure.
So, put it to the onActivate block:
oDlg:Activate( ,,,.t.,{|| hwG_SetFocus(oGet[2]:handle)} )
Have in mind, that this codeblock is called, if the main window
exists ( I didn't investigate the reason yet, the winapi is full of such
strange features ), so in your sample, where the dialog is the only
window, it won't work.
>
> and Using ON CHANGE
> the message keeps appearing when the control getfocus
>
> In hedit.prg adding IF bGfocus != Nil it seems to solve the "ON CHANGE" problem
> line 80
Thanks for the tip, I'll fix this.
Regards, Alexander.
|
|
From: Alexander S.K. <al...@be...> - 2014-01-30 07:47:13
|
Alain Aupeix writes:
> Thanks for the answer, I have no more error message in the console, but
> I have already an encoding problem.
> Have a look to the hard-copy ...
>
Then try to use hwg_SetAppLocale( "CP850" ) instead of "ISO-8859-1".
>
> Another question about hw-gui :
>
> Is there a recent documentation of hw-gui ?
> The one found on the web is very old.
It's a really sore point. I hope that I will have a time and an
energy to update it.
> Where or how can I found the list of hw-gui functions list ?
>
For now - only from sources and samples.
Regards, Alexander.
|
|
From: Alain A. <ala...@wa...> - 2014-01-29 17:25:21
|
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 29/01/2014 13:11, Alexander S.Kresin
a écrit :<br>
</div>
<blockquote cite="mid:52E...@be..." type="cite">
<pre wrap=""> There is a commented line in dbview.prg:
hwg_SetAppLocale( "KOI8-R" )
It must present, if the data isn't in utf-8 or EN codepage.
You need to call this function with a name of your codepage - I
think, it is the "ISO-8859-1":
hwg_SetAppLocale( "ISO-8859-1" )</pre>
</blockquote>
Thanks for the answer, I have no more error message in the console,
but I have already an encoding problem.<br>
Have a look to the hard-copy ...<br>
<br>
<a class="moz-txt-link-freetext" href="https://www.dropbox.com/s/trx5qak85535svp/dbview1.png">https://www.dropbox.com/s/trx5qak85535svp/dbview1.png</a><br>
<br>
Another question about hw-gui : <br>
<br>
Is there a recent documentation of hw-gui ?<br>
The one found on the web is very old.<br>
Where or how can I found the list of hw-gui functions list ?<br>
<br>
A+<br>
<div class="moz-signature">-- <br>
<hr>
Alain Aupeix<br>
<a class="moz-txt-link-freetext" href="http://jujuland.pagesperso-orange.fr/">http://jujuland.pagesperso-orange.fr/</a><br>
<a class="moz-txt-link-freetext" href="http://pissobi-lacassagne.pagesperso-orange.fr/">http://pissobi-lacassagne.pagesperso-orange.fr/</a><br>
<hr>
<small>U.buntu 12.04 | G.ramps 3.4.6-1 | H.arbour 3.2.0dev
(2014-01-27 14:04) | HbIDE (Rev.279) | Five.Linux (r138) |
Hw.Gui (2217)</small>
<hr></div>
</body>
</html>
|
|
From: Rajko <dr...@ya...> - 2014-01-29 14:28:41
|
I apologize for this subject it was entirely my fault. When I was compiling harbour I set HB_COMPILER=mingw instead HB_COMPILER=mingw64.Now everythigs works as it should.With regards, Rajko. |
|
From: Alexander S.K. <al...@be...> - 2014-01-29 12:11:25
|
There is a commented line in dbview.prg:
hwg_SetAppLocale( "KOI8-R" )
It must present, if the data isn't in utf-8 or EN codepage.
You need to call this function with a name of your codepage - I
think, it is the "ISO-8859-1":
hwg_SetAppLocale( "ISO-8859-1" )
Regards, Alexander.
P.S. This is for GTK version only.
|
|
From: Alexander S.K. <al...@be...> - 2014-01-29 10:53:00
|
Hmm... strange, it worked before. I'll check it. Regards, Alexander. |
|
From: Alain A. <ala...@wa...> - 2014-01-29 08:25:59
|
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font size="-1">Hi,<br>
<br>
I have created a dbf with data which where in an utf-8 file.<br>
To make it in a dbf file, I transform datas with hb_utf8tostr()<br>
It works, and looking for the dbf datas with hbdbu (from Pritpal),
accentued datas are correctly displayed.<br>
Looking with dbview, such datas aren't displayed, and there are
errors in the console, opening this dbf:<br>
<br>
<i>alain@Gramps-JujuLand:/opt/TuxPrograms/trunks/harbour/addons/hwgui-src/hwgui/samples/gtk_samples$
./dbview</i><i><br>
</i><i>(dbview:5551): Pango-CRITICAL **: pango_layout_set_text:
assertion `length == 0 || text != NULL' failed</i><i><br>
</i><i>(dbview:5551): Pango-CRITICAL **: pango_layout_set_text:
assertion `length == 0 || text != NULL' failed</i><i><br>
</i><i>(dbview:5551): Pango-CRITICAL **: pango_layout_set_text:
assertion `length == 0 || text != NULL' failed</i><i><br>
</i><br>
Changing codepage for datas to FR850 doesn't avoid this bug.<br>
And in dbview, it reports the failing field with the datas of the
previous field in the record.<br>
</font><br>
<font size="-1"><a class="moz-txt-link-freetext" href="https://www.dropbox.com/s/trx5qak85535svp/dbview1.png">https://www.dropbox.com/s/trx5qak85535svp/dbview1.png</a><br>
<br>
Clicking on one of this field, a value of another field appears.<br>
</font><br>
<font size="-1"><a class="moz-txt-link-freetext" href="https://www.dropbox.com/s/vb339yslah9nw98/dbview2.png">https://www.dropbox.com/s/vb339yslah9nw98/dbview2.png</a><br>
<br>
Thank to help me.<br>
A+<br>
</font>
<div class="moz-signature">-- <br>
<hr> Alain Aupeix<br>
<a class="moz-txt-link-freetext"
href="http://jujuland.pagesperso-orange.fr/">http://jujuland.pagesperso-orange.fr/</a><br>
<a class="moz-txt-link-freetext"
href="http://pissobi-lacassagne.pagesperso-orange.fr/">http://pissobi-lacassagne.pagesperso-orange.fr/</a><br>
<hr> <small>U.buntu 12.04 | G.ramps 3.4.6-1 | H.arbour 3.2.0dev
(2014-01-14 22:36) | HbIDE (Rev.279) | Five.Linux (r138) |
Hw.Gui (2216)</small>
<hr></div>
</body>
</html>
|
|
From: Rajko <dr...@ya...> - 2014-01-28 00:53:03
|
If I make folders lib and obj manually everything compiles.Very funny error, so close so far away, or whatever it is :) |
|
From: Rajko <dr...@ya...> - 2014-01-27 17:17:18
|
I made simple batch file for compiling: SET PATH=C:\Tools\mingw32_4.8.0\bin;C:\Tools\harbour\bin;%SystemRoot%\system32;%SystemRoot% C: cd "C:\Sources\hwgui\hwgui" hbmk2 hwgui.hbp hbmk2 procmisc.hbp hbmk2 hbxml.hbp hbmk2 hwgdebug.hbp cd "C:\Sources" but it doesn't work.I don't see that anyone have this problem while I was browsing the groups so it's my mistake somewhere but can someone point me in the right direction.Error is only this: hbmk2: Creating static library... lib\libhwgui.a hbmk2[hwgui]: Error: Running lib command. -1 Thanks in advance. --------------------------- Version: Harbour 3.2.0dev (r1312100504) Compiler: MinGW GNU C 4.8 (32-bit) Platform: Windows 7 6.1.7601 Service Pack 1 PCode version: 0.3 ChangeLog last entry: 2013-12-10 06:04 UTC+0100 Przemyslaw Czerpak (druzus/at/po czta.onet.pl) ChangeLog ID: unknown -1 (source tarball without keyword expanding) Built on: Dec 15 2013 20:34:45 Build options: (Clipper 5.3b) (Clipper 5.x undoc) |
|
From: Paulo F. <pff...@ya...> - 2014-01-23 17:35:51
|
/*
The code below fix the problem with "on change" but not with a Valid
Thanks
Paulo Flecha
*/
/*
Hi
a Dialog with ON INIT and SetFocus doesn't work
(Get or combobox)
In the sample the focus is still at the first Get
clicking on the button "SetFocus 2" works fine
and Using ON CHANGE
the message keeps appearing when the control getfocus
In hedit.prg adding IF bGfocus != Nil it seems to solve the "ON CHANGE" problem
line 80
IF bSetGet != Nil
::bGetFocus := bGFocus
::bLostFocus := bLFocus
IF bGfocus != Nil // New
::oParent:AddEvent( EN_SETFOCUS, ::id, { |o, id|__When( o:FindControl(id ) ) } )
ENDIF //EndNew
::oParent:AddEvent( EN_KILLFOCUS, ::id, { |o, id|__Valid( o:FindControl(id ) ) } )
::bValid := { |o|__Valid( o ) }
ELSE
IF bGfocus != Nil
::oParent:AddEvent( EN_SETFOCUS, ::id, bGfocus )
ENDIF
IF bLfocus != Nil
::oParent:AddEvent( EN_KILLFOCUS, ::id, bLfocus )
ENDIF
ENDIF
Best regards,
Paulo Flecha
HWGUI 2.18 Build 2
Harbour 3.2.0dev (r1312100504)
*/
#include "windows.ch"
#include "guilib.ch"
FUNCTION Main()
Local oDlg, oGet[2], aVar:= {Space(10), Space(10) }
Local oBtn[3]
Local aList := {"one", "two", "three"}
* ON INIT {|| Hwg_MsgInfo("Hello")}; // Ok
* ON INIT {|| oDlg:Maximize()}; // Ok
* ON INIT {|| hwG_SetFocus(oGet[2]:handle)}; // No
* ON INIT {|| hwg_SetFocus(oCombo:handle)}; // No
* ON INIT {|| oCombo:SetFocus()}; // no
INIT DIALOG oDlg TITLE "Test" CLIPPER NOEXIT NOEXITESC ;
ON INIT {|| oGet[2]:SetFocus()};
AT 190,10 SIZE 360,240 ;
FONT HFont():Add( 'Arial',0,-14,400,,,)
@ 10, 10 GET oGet[1] VAR aVar[1] SIZE 200, 26 STYLE WS_TABSTOP
@ 10, 50 GET oGet[2] VAR aVar[2] SIZE 200, 26 STYLE WS_TABSTOP //ON CHANGE {|| Test(oGet, 2)}
@ 10, 80 COMBOBOX oCombo ITEMS aList SIZE 246,24
@ 10,190 BUTTON oBtn[1] CAPTION "Ok" SIZE 100, 32 ;
ON CLICK {|| hwg_EndDialog()}
* ON CLICK {|| hwg_SetFocus(oCombo:handle)}
@ 120,190 BUTTON oBtn[2] CAPTION "SetFocus 2" SIZE 100, 32 ;
ON CLICK {|| hwg_SetFocus(oGet[2]:handle)}
@ 240,190 BUTTON oBtn[3] CAPTION "Cancel" SIZE 100, 32 ;
ON CLICK {|| hwg_EndDialog()}
oDlg:Activate()
Return Nil
Static Function Test(oGet, nPar)
IF nPar == 1
hwg_MsgInfo(oGet[nPar]:title, "On KeyDown")
ELSE
hwg_MsgInfo(oGet[nPar]:title, "On Change")
ENDIF
Return -1
|
|
From: Itamar M. L. J. L. <ita...@gm...> - 2014-01-23 15:04:44
|
Hi! Where is it in version 2.18? 2009-11-18 13:45 UTC-0300 Luis Fernando Basso <lfbasso at via-rs.net> * source\hbrowse.prg * CLASS HColumn + DATA nSortMark INIT 0 + METHOD SortMark( nSortMark ) SETGET * CLASS HBrowse + DATA ShowSortMark INIT .F. + DATA nIndexOrd INIT -1 HIDDEN + DATA nRecCount INIT 0 HIDDEN + METHOD BrwScrollVPos() new method that calculates the position of the vertical scroll bar. The shape of the left anterior browse extremely slow in the shipping and scroll when in a network environment and using indexes ! FUNCTION VScrollPos changed new feature in header columns. it is possible to display an arrow indicating the sort column this requires : obrowse:ShowSortMark := .T. (DEFAULT ) obrowse:acolumns[n]:SortMark := 0-HIDDEN (DEFAULT) | 1-ASCENDING | 2-DESCENDING > It looks like somewhere in your app ( in line 228 ) hbrowse object is >used with SHOWSORTMARK property or method, which doesn't exists anywhere >in HwGUI. What is it ? >Regards, Alexander. Itamar M. Lins Jr. Lins writes: > Changelog 2216 2014-01-20 06:25:46Z alkresin > > Error HCUSTOMWINDOW/0 Invalid class member > Called from source\winapi\hcwindow.prg->HBROWSE:_SHOWSORTMARK(228) > |
|
From: Alain A. <ala...@wa...> - 2014-01-23 12:57:02
|
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font size="-1">Hi,<br>
<br>
I have build dbview, but I have some problem.<br>
<br>
The dbf I used is filled (in another little program) by this lines
:<br>
<br>
REQUEST HB_CODEPAGE_FR850<br>
REQUEST HB_CODEPAGE_UTF8<br>
content=hb_utf8tostr(hb_memoread(tfile))<br>
hb_memowrit("strged.txt",content,.f.)<br>
use gedtemp alias "GEDTEMP"<br>
append from strged.txt<br>
<br>
So the utf8 strings are converted from utf8 to str (FR850)<br>
These datas are saved in a txt file<br>
dbf is fill with strged?txt datas<br>
<br>
Opening with hbdbu, I saw all the records<br>
Opening with dbview, all the accentued strings aren't displayed,
and an error is displayed in the console:<br>
<br>
(dbview-fr:9305): Pango-CRITICAL **: pango_layout_set_text:
assertion `length == 0 || text != NULL' failed<br>
<br>
I have then add these lines in dbview.prg:<br>
<br>
REQUEST HB_CODEPAGE_FR850<br>
REQUEST HB_CODEPAGE_UTF8<br>
<br>
SetDataCP( "FR850" )<br>
hb_CdpSelect( "FR850" )<br>
<br>
But it's always bad.<br>
I really don't know how to do ...<br>
<br>
Another problem which has probably the same origin :<br>
If there is an accent in a menuitem text, all the menu isn't
displayed<br>
<br>
Thanks<br>
A+<br>
</font>
<div class="moz-signature">-- <br>
<hr>
Alain Aupeix<br>
<a class="moz-txt-link-freetext" href="http://jujuland.pagesperso-orange.fr/">http://jujuland.pagesperso-orange.fr/</a><br>
<a class="moz-txt-link-freetext" href="http://pissobi-lacassagne.pagesperso-orange.fr/">http://pissobi-lacassagne.pagesperso-orange.fr/</a><br>
<hr>
<small>U.buntu 12.04 | G.ramps 3.4.6-1 | H.arbour 3.2.0dev
(2014-01-14 22:36) | HbIDE (Rev.279) | Five.Linux (r138) |
Hw.Gui (2216)</small>
<hr></div>
</body>
</html>
|
|
From: Paulo F. <pff...@ya...> - 2014-01-22 19:10:25
|
/*
Hi
a Dialog with ON INIT and SetFocus doesn't work
(Get or combobox)
In the sample the focus is still at the first Get
clicking on the button "SetFocus 2" works fine
and Using ON CHANGE
the message keeps appearing when the control getfocus
In hedit.prg adding IF bGfocus != Nil it seems to solve the "ON CHANGE" problem
line 80
IF bSetGet != Nil
::bGetFocus := bGFocus
::bLostFocus := bLFocus
IF bGfocus != Nil // New
::oParent:AddEvent( EN_SETFOCUS, ::id, { |o, id|__When( o:FindControl(id ) ) } )
ENDIF //EndNew
::oParent:AddEvent( EN_KILLFOCUS, ::id, { |o, id|__Valid( o:FindControl(id ) ) } )
::bValid := { |o|__Valid( o ) }
ELSE
IF bGfocus != Nil
::oParent:AddEvent( EN_SETFOCUS, ::id, bGfocus )
ENDIF
IF bLfocus != Nil
::oParent:AddEvent( EN_KILLFOCUS, ::id, bLfocus )
ENDIF
ENDIF
Best regards,
Paulo Flecha
HWGUI 2.18 Build 2
Harbour 3.2.0dev (r1312100504)
*/
#include "windows.ch"
#include "guilib.ch"
FUNCTION Main()
Local oDlg, oGet[2], aVar:= {Space(10), Space(10) }
Local oBtn[3]
Local aList := {"one", "two", "three"}
* ON INIT {|| Hwg_MsgInfo("Hello")}; // Ok
* ON INIT {|| oDlg:Maximize()}; // Ok
* ON INIT {|| hwG_SetFocus(oGet[2]:handle)}; // No
* ON INIT {|| hwg_SetFocus(oCombo:handle)}; // No
* ON INIT {|| oCombo:SetFocus()}; // no
INIT DIALOG oDlg TITLE "Test" CLIPPER NOEXIT NOEXITESC ;
ON INIT {|| oGet[2]:SetFocus()};
AT 190,10 SIZE 360,240 ;
FONT HFont():Add( 'Arial',0,-14,400,,,)
@ 10, 10 GET oGet[1] VAR aVar[1] SIZE 200, 26 STYLE WS_TABSTOP
@ 10, 50 GET oGet[2] VAR aVar[2] SIZE 200, 26 STYLE WS_TABSTOP //ON CHANGE {|| Test(oGet, 2)}
@ 10, 80 COMBOBOX oCombo ITEMS aList SIZE 246,24
@ 10,190 BUTTON oBtn[1] CAPTION "Ok" SIZE 100, 32 ;
ON CLICK {|| hwg_EndDialog()}
* ON CLICK {|| hwg_SetFocus(oCombo:handle)}
@ 120,190 BUTTON oBtn[2] CAPTION "SetFocus 2" SIZE 100, 32 ;
ON CLICK {|| hwg_SetFocus(oGet[2]:handle)}
@ 240,190 BUTTON oBtn[3] CAPTION "Cancel" SIZE 100, 32 ;
ON CLICK {|| hwg_EndDialog()}
oDlg:Activate()
Return Nil
Static Function Test(oGet, nPar)
IF nPar == 1
hwg_MsgInfo(oGet[nPar]:title, "On KeyDown")
ELSE
hwg_MsgInfo(oGet[nPar]:title, "On Change")
ENDIF
Return -1
|
|
From: 網緹資訊•廖文勝(WenSheng) <ss...@ma...> - 2014-01-22 14:01:52
|
> > Hi~~ > > > > Is HWGUI still support UNICODE ? > > > > I had try test %hwgui%\samples\a.prg and type UNICODE, > > but is ugly!! > > > > Somebody can help me and give a sample .prg ? > > > > The binary packages are built without Unicode support, so > you need to build HwGUI from sources with it. > The -DUNICODE switch must be added for C and Harbour compilers, this > may be done in different ways depending on how you build the HwGUI ( > with supplied bat files or with hbmk ). > > Regards, Alexander. Thank your replay!! But, I test it about add '-DUNICODE' and still can't type unicode word to hEDIT. |
|
From: Alain A. <ala...@wa...> - 2014-01-22 11:46:09
|
Hi all, after a long time where I was unable to build gtk samples, now I'm happy to be abled to do that. I found the reason there were a few time about a little c program using -lm option, but I wasn't enabled to make it work Now, perhaps after having removed and installed again sources, the found solution works. Here is the error I already posted on harbour-users list and Rolacy already reported it, but without the giving commandline : /alain@Gramps-JujuLand:/opt/TuxPrograms/trunks/harbour/addons/hwgui-src/hwgui/samples/gtk_samples$ ./build example Harbour 3.2.0dev (r1312030803) Copyright (c) 1999-2013, http://harbour-project.org/ Compiling 'example.prg'... Lines 3333, Functions/Procedures 2 Generating C source output to 'example.c'... Done. /usr/bin/ld: /usr/local/lib/harbour/libhbvm.a(hvmall.o): undefined reference to symbol 'fmod@@GLIBC_2.2.5' /usr/bin/ld: note: 'fmod@@GLIBC_2.2.5' is defined in DSO /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libm.so so try adding it to the linker command line /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libm.so: could not read symbols: Invalid operation collect2: ld a retourné 1 code d'état d'exécution / To avoid this error with build.sh, $SYSTEM_LIBS must be located at the end of the line, so, in build.sh, the last line must been modified like that: /gcc $1.c -o$1 -I $HRB_INC -L $HRB_LIB -L $HWGUI_LIB -Wl,--start-group $HWGUI_LIBS $HARBOUR_LIBS -Wl,--end-group `pkg-config --cflags gtk+-2.0` `pkg-config gtk+-2.0 --libs` *$SYSTEM_LIBS * / Well this is a good new, but now, trying samples, I have a few problems: 1) Numeric pad doesn't work with hwgui 2) In some samples, for a reason I don't understand, I must click twice to execute some menus. 3) I haven't found a recent hwgui doc. The one I found is very old and doesn't talk about linux version. 4) Does expandables checkable lists are usable in hwgui, and how ? < [ ] First choice [ ] first sub choice [ ] second sub choice > [ ] Second choice > [ ] Third choice .... 5) If this type of checkable list exists, how to be able to scroll (I need a big number of choices and subchoices, more than I can I can have in a window) Thanks A+ -- ------------------------------------------------------------------------ Alain Aupeix http://jujuland.pagesperso-orange.fr/ http://pissobi-lacassagne.pagesperso-orange.fr/ ------------------------------------------------------------------------ U.buntu 12.04 | G.ramps 3.4.6-1 | H.arbour 3.2.0dev (2014-01-03 11:39) | HbIDE (Rev.276) | Five.Linux (r138) | Hw.Gui (2210) ------------------------------------------------------------------------ |
|
From: Alexander S.K. <al...@be...> - 2014-01-22 06:43:14
|
Itamar M. Lins Jr. Lins writes: > Changelog 2216 2014-01-20 06:25:46Z alkresin > > Error HCUSTOMWINDOW/0 Invalid class member > Called from source\winapi\hcwindow.prg->HBROWSE:_SHOWSORTMARK(228) > It looks like somewhere in your app ( in line 228 ) hbrowse object is used with SHOWSORTMARK property or method, which doesn't exists anywhere in HwGUI. What is it ? Regards, Alexander. |
|
From: Alexander S.K. <al...@be...> - 2014-01-22 06:39:39
|
Itamar M. Lins Jr. Lins writes:
> * $Id: Changelog 2216 2014-01-20 06:25:46Z alkresin $
> Hi
> I add 2 final lines into file procmisc.hbp
>
> {win}contrib/misc/*.prg
> {win}contrib/misc/*.c
> To get this files:
You can, if this is suitable for you, but I'd prefer to include them
in contrib library or directly to application.
Regards, Alexander.
|
|
From: Alexander S.K. <al...@be...> - 2014-01-22 05:52:05
|
ss...@ma... writes: > Hi~~ > > Is HWGUI still support UNICODE ? > > I had try test %hwgui%\samples\a.prg and type UNICODE, > but is ugly!! > > Somebody can help me and give a sample .prg ? > The binary packages are built without Unicode support, so you need to build HwGUI from sources with it. The -DUNICODE switch must be added for C and Harbour compilers, this may be done in different ways depending on how you build the HwGUI ( with supplied bat files or with hbmk ). Regards, Alexander. |
|
From: <ss...@ma...> - 2014-01-20 17:01:20
|
Hi~~ Is HWGUI still support UNICODE ? I had try test %hwgui%\samples\a.prg and type UNICODE, but is ugly!! Somebody can help me and give a sample .prg ? |
|
From: Itamar M. L. J. L. <ita...@gm...> - 2014-01-20 15:06:28
|
Set confirm Off
vAC01 := space(3)
vAC02 := space(5)
INIT DIALOG oDlg TITLE "Valid" Font oFont AT 0,0 SIZE 350,200
@ 010,030 say "Iniciais:" SIZE 60,15
@ 010,050 get oAc01 VAR vAc01 picture "!!!" SIZE 50,30
@ 010,090 say "Senha:" SIZE 65,15
@ 010,110 get oAc02 VAR vAc02 PICTURE "!!!!!" SIZE 100,30 Valid
{||EndDialog()}
ACTIVATE DIALOG oDlg
No close the dialog, only is I press <enter>
Best regards,
Itamar M. Lins Jr.
|
|
From: Itamar M. L. J. L. <ita...@gm...> - 2014-01-20 14:56:22
|
Changelog 2216 2014-01-20 06:25:46Z alkresin Error HCUSTOMWINDOW/0 Invalid class member Called from source\winapi\hcwindow.prg->HBROWSE:_SHOWSORTMARK(228) Best regards, Itamar M. Lins Jr. |
|
From: Itamar M. L. J. L. <ita...@gm...> - 2014-01-20 14:53:40
|
* $Id: Changelog 2216 2014-01-20 06:25:46Z alkresin $
Hi
I add 2 final lines into file procmisc.hbp
{win}contrib/misc/*.prg
{win}contrib/misc/*.c
To get this files:
05/11/13 08:19 6.094 arr2str.c
05/11/13 08:19 22.067 blowfish.c
10/12/13 11:54 2.736 miscfunc.prg
05/11/13 08:19 74.818 richtext.prg
05/11/13 08:19 6.609 saymoney.prg
Best regards,
Itamar M. Lins Jr.
|
|
From: Alex <al...@be...> - 2014-01-17 10:22:52
|
Hi,
I've just added the possibility to use myltidimensional array with the
combobox:
Local aItems := { { "First", "Num 1", 1 }, { "Second", "Num 2", 2 } }
...
@ 10,10 COMBOBOX oCombo ITEMS aItems ... TEXT
...
someVar1 := oCombo:GetValue() // "First"
someVar2 := oCombo:GetValue(2) // "NUM 1"
someVar3 := oCombo:GetValue(3) // 1
So, instead of a :GetValueBound() you need to use the :Getvalue(2) in that
sample.
Regards, Alexander.
________________________________________________
|
|
From: Itamar M. L. J. L. <ita...@gm...> - 2014-01-16 15:18:56
|
Hi!
Example extract from 2.17 paste samples\combobox.prg
GetValueBound() not found 2.18
Function BoundTest ()
Local nCombo := 1
Local cCombo := "Four"
Local xCombo := "Test"
Local aItems := {{"female","f"},{"male","m"}}
Local oCombo1, oCombo2, oCombo3, oCombo4, oCombo5, oCombo6
PREPARE FONT oFont NAME "Courier New" WIDTH 0 HEIGHT -11
INIT DIALOG oForm CLIPPER NOEXIT TITLE "Bound ComboBox Demo" ;
FONT oFont ;
AT 0, 0 SIZE 700, 425 ;
STYLE DS_CENTER + WS_POPUP + WS_VISIBLE + WS_CAPTION + WS_SYSMENU
@ 20, 20 GET COMBOBOX oCombo1 VAR nCombo ITEMS aItems SIZE 100, 23
@ 20, 50 GET COMBOBOX oCombo2 VAR cCombo ITEMS aItems SIZE 100, 23
TEXT
@ 20, 80 GET COMBOBOX oCombo3 VAR xCombo ITEMS aItems SIZE 100, 23
EDIT TOOLTIP "Type any thing here";
ON INTERACTIVECHANGE {|value,This| oCombo3_onInteractiveChange(
value,This ) }
// @ 20,200 GET cEdit SIZE 150, 23
// @ 300, 395 BUTTON "Add" SIZE 75, 25 ON CLICK {||
oCombo1:AddItem(cEdit), oCombo1:refresh() }
// @ 380, 395 BUTTON "Test" SIZE 75, 25 ON CLICK {|| xCombo :=
"Temp", oCombo3:refresh(), nCombo := 2, oCombo1:refresh(),
oCombo2:SetItem(3), oCombo4:SetItem(3), oCombo5:value := "Third",
oCombo5:refresh(), oCombo6:SetItem(2) }
@ 380, 395 BUTTON "Combo 1" SIZE 75, 25 ON CLICK {||
hwg_Msginfo(oCombo1:GetValueBound()+"-"+str(nCombo), "Value of combo 1") }
@ 460, 395 BUTTON "Combo 2" SIZE 75, 25 ON CLICK {||
hwg_Msginfo(oCombo2:GetValueBound()+"-"+cCombo, "Value of combo 2") }
@ 540, 395 BUTTON "Combo 3" SIZE 75, 25 ON CLICK {||
hwg_Msginfo(oCombo3:GetValueBound()+"-"+xCombo, "Value of combo 3") }
@ 620, 395 BUTTON "Close" SIZE 75, 25 ON CLICK {|| oForm:Close() }
ACTIVATE DIALOG oForm
Return Nil
Static Function oCombo3_onInteractiveChange( value,This )
LOCAL cTexto,n
cTexto := TRIM( This:GetText() )
n := Ascan( This:aitems, {| a | a = cTexto } )
IF !EMPTY( cTexto ) .AND. (hwg_Getkeystate( VK_DELETE ) +
hwg_Getkeystate( VK_BACK )) >= 0 .AND. n > 0
This:SETVALUE( TRIM( This:aitems[ n ] ) )
hwg_Keyb_event( VK_END,.T.,.T. )
ENDIF
RETURN Nil
If exist best option, please show-me.
Best regards,
Itamar M. Lins Jr.
|
|
From: Alexander S.K. <al...@be...> - 2014-01-16 09:51:45
|
Paulo Flecha writes: > Esc closes the dialog with a button IDCANCEL > With NOEXIT a Button IDOK does not close the dialog Just remove the ID IDOK and ID IDCANCEL from button declarations. These two are special id's, which brings some default behaviour. > > the Enter key don't move from the second GET That's the result of NOEXIT clause in DIALOG declaration. The NOEXIT is designed specially for this. > > Using: > ON CHANGE > The msginfo will appear before the dialog > > ON KEYDOWN > Pressing function keys works fine > Pressing "A" the msginfo appears twice > Fixed now. Regards, Alexander. |