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...> - 2015-01-19 11:16:13
|
Itamar M. Lins Jr. Lins writes: > Hi! > While I use Get, Browse etc... out off TAB control, works fine method: > oObj:OBJNAME return correct result, but while I use into TAB control not > work get a error! > ... > Function fHelp(oDlg) > LOCAL oObj := oDlg:findcontrol(,hwg_Getfocus()) > LOCAL cObjName := upper(oObj:OBJNAME) > hwg_msginfo(cObjName) > The problem isn't in :objname. In this sample the get control belongs to the TAB, not to oDlg, so oDlg:findcontrol(,hwg_Getfocus()) returns Nil. > > PS. And TAB control not respect oGet:SetFocus() not effect. Yes, I see. I'll try to find why. Regards, Alexander. |
|
From: Itamar M. L. J. L. <ita...@gm...> - 2015-01-18 17:46:55
|
>From Gilberto Silverio
FUNCTION ODLGINICIO()
hwg_SetDlgKey( ThisForm,0,VK_F9,{|| thisform:oBrowse1:Setfocus()})
ThisForm:oNatureza:Value := [] ->here error line 1565
ThisForm:oChave:Value := []
ThisForm:oEvento:Value := []
ThisForm:oArqXML:Value := []
ThisForm:oNNFE:Value := []
...
Error HCUSTOMWINDOW/0 Invalid class member
Called from hcwindow.prg->HEDIT:_VALUE(225)
Called from NOVOHW.PRG->ODLGINICIO(1565)
Called from NOVOHW.PRG->(b)LERXMLNFE(1327)
Called from hdialog.prg->INITMODALDLG(258)
Called from hdialog.prg->(b)(_INITSTATICS00003)(0)
Called from hdialog.prg->HDIALOG:ONEVENT(182)
Found in 2.17
METHOD Value( Value ) CLASS HEdit
LOCAL vari
IF Value != Nil
::SetText( Value )
ENDIF
vari := iif( Empty( ::Handle ), ::Title, ::UnTransform( hwg_Getedittext(
::oParent:handle, ::id ) ) )
IF ::cType == "D"
vari := CToD( vari )
ELSEIF ::cType == "N"
vari := Val( LTrim( vari ) )
ENDIF
RETURN vari
Best regards,
Itamar M. Lins Jr.
|
|
From: Itamar M. L. J. L. <ita...@gm...> - 2015-01-18 17:15:39
|
Hi! >From Gilberto Silverio Is subject(), Presente in 2.17 version. Best Regards, Itamar M. Lins Jr. |
|
From: Itamar M. L. J. L. <ita...@gm...> - 2015-01-18 17:13:41
|
Hi!
While I use Get, Browse etc... out off TAB control, works fine method:
oObj:OBJNAME return correct result, but while I use into TAB control not
work get a error!
Error BASE/1004 No exported method: OBJNAME
Called from ->OBJNAME(0)
Called from ->FHELP(23)
Called from ->(b)EVAL(16)
Called from ->HDIALOG:EVALKEYLIST(226)
Called from ->HWG_DLGBOXINDIRECT(0)
Called from ->HDIALOG:ACTIVATE(135)
Called from ->MAIN(18)
HWGUI 2.19 Build 1
Date:01/18/15
Time:14:00:05
Below example show the problem.
#include "hwgui.ch"
Function main
LOCAL oDlg,oTab,oGet,cGet:=space(10)
INIT DIALOG oDlg AT 0,0 SIZE 600,400
@ 005,005 TAB oTab ITEMS {} SIZE 200,200 OF oDlg //COLOR 255 BACKCOLOR
16777215 compatibility with 2.17
BEGIN PAGE "Tipo 50" OF oTAB
@ 010,60 get oGet VAR cGet SIZE 100,30
END PAGE OF oTAB
oDlg:bActivate := {|| hwg_setDlgKey(oDlg,0,VK_F1,{||fHelp(oDlg)}),
oGet:SetFocus() }
oDlg:Activate()
Function fHelp(oDlg)
LOCAL oObj := oDlg:findcontrol(,hwg_Getfocus())
LOCAL cObjName := upper(oObj:OBJNAME)
hwg_msginfo(cObjName)
return .T.
PS. And TAB control not respect oGet:SetFocus() not effect.
Compatible with 2.17.
And if possible COLOR and BACKCOLOR not work with TAB control run on 2.17
version.
Best regards,
Itamar M. Lins Jr.
|
|
From: Maurizio la C. <m.l...@gm...> - 2015-01-16 12:37:52
|
Hi Alexander, I don't know if it's related to your problem, but today I received a mail about the suspension of my account due to the bounces received. I just reactivated my account but I don't know how to avoid the bounces. Can you investigate on the administrative side? TIA Maurizio 2015-01-16 7:56 GMT+01:00 Alexander Kresin <alk...@ya...>: > Sorry, just a test - as I see on the > http://sourceforge.net/p/hwgui/mailman/hwgui-developers/ > few my last messages doesn't come here. > > > ------------------------------------------------------------------------------ > New Year. New Location. New Benefits. New Data Center in Ashburn, VA. > GigeNET is offering a free month of service with a new server in Ashburn. > Choose from 2 high performing configs, both with 100TB of bandwidth. > Higher redundancy.Lower latency.Increased capacity.Completely compliant. > http://p.sf.net/sfu/gigenet > _______________________________________________ > Hwgui-developers mailing list > Hwg...@li... > https://lists.sourceforge.net/lists/listinfo/hwgui-developers > |
|
From: Alexander K. <alk...@ya...> - 2015-01-16 07:14:03
|
Yet another message, which doesn't come here before. > hbmk2: Compilando recursos... > windres.exe: repbuild.rc:4: syntax error > repbuild.rc:2:0: fatal error: when writing output to : No error > ^ > compilation terminated. > windres.exe: preprocessing failed. > hbmk2 [hwreport]: Erro: Ao executar o compilador de recursos. 1 > windres.exe --target=pe-i386 -IC:/HB34/include -I../../include repbuild.rc -O co > ff -o .hbmk/win/mingw/repbuild.reso Hwreport utility was written in first years of HwGUI, it uses dialog resources, created by Borland Workshop, which aren't supported by Mingw. Of course, these few dialogs may be easily rewritten, but I don't see much sense. The Designer is a main report engine for HwGUI, HwReport is outdated. Besides, if anyone want to use it, he may compile it once with Borland compiler and work with it. Forms, created with HwReport, aren't depend of C compiler. Regards, Alexander. |
|
From: Alexander K. <alk...@ya...> - 2015-01-16 07:05:53
|
I resend this message, because it doesn't come before.
> With <Num Lock> on, while press keypad numeric -> 1=a,2=b...
This is because winapi WM_KEYDOWN message sends not the chars, but raw keyboard codes. To handle numpad keys you can write something like:
if nKey >= VK_NUMPAD0 .and. nKey <= VK_NUMPAD9
nKey -= (VK_NUMPAD0 - 48) // 48 - the '0' code
endif
But better decision is to use :bOther instead of ON KEYDOWN ( if you need chars only ):
oBrw:bOther := {|oBrw,msg,wp|fKeyDown(oBrw,msg,wp)}
...
Function fKeyDown( oBrw,msg,wp )
if msg == WM_CHAR
wP := hwg_PtrToUlong( wP )
oSeek:SetText(chr(wp))
endif
Return .T.
Regards, Alexander.
|
|
From: Alexander K. <alk...@ya...> - 2015-01-16 06:56:44
|
Sorry, just a test - as I see on the http://sourceforge.net/p/hwgui/mailman/hwgui-developers/ few my last messages doesn't come here. |
|
From: Alain A. <ala...@wa...> - 2015-01-14 19:56:26
|
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 14/01/2015 20:44, Itamar M. Lins Jr.
Lins a écrit :<br>
</div>
<blockquote
cite="mid:CAH...@ma..."
type="cite">
<div dir="ltr">
<div>Hi!<br>
</div>
<br>
With <Num Lock> on, while press keypad numeric ->
1=a,2=b...<br>
</div>
</blockquote>
It's also the same problem with Linux, but always, not only browse
...<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.8-1 | H.arbour 3.2.0dev
(2014-12-31 00:45) | HbIDE (Rev.316) | Five.Linux (r138) |
Hw.Gui (2349)</small>
<hr>
</div>
</body>
</html>
|
|
From: Itamar M. L. J. L. <ita...@gm...> - 2015-01-14 19:44:26
|
Hi!
With <Num Lock> on, while press keypad numeric -> 1=a,2=b...
#include "hwgui.ch"
Procedure main
LOCAL aDbS:={}, oDlg,oBrw
PRIVATE oSeek,cSeek:=""
AADD(aDbS, {"test","C",1,0})
DBCREATE("_test.dbf",aDbS)
USE _test
INIT DIALOG oDlg CLIPPER AT 100,100 SIZE 300,400
@ 10,10 Browse oBrw DATABASE of oDlg SIZE 200,80 append ;
On KeyDown {|oBrw,nKey|fKeyDown(oBrw,nKey)} ;
Add column FieldBlock("Test") to oBrw Editable ;
Header 'Test' Type 'C' Length 2 picture 'L' ;
Justify Line DT_LEFT Justify Head DT_LEFT
@ 05,100 SAY oSeek CAPTION cSeek size 200,25 OF oDlg STYLE WS_BORDER
oDlg:Activate()
close all
Function fKeyDown(oBrw,nKey)
oSeek:SetText(chr(nKey))
Return .T.
|
|
From: Itamar M. L. J. L. <ita...@gm...> - 2015-01-14 18:11:35
|
Get not clean after the second time
#include "hwgui.ch"
Function main
LOCAL oDlg, nA:=123456.7890, nB:=723.23, cPhantom:=""
INIT DIALOG oDlg AT 100,100 SIZE 500,200 CLIPPER NOEXIT
@ 10,10 get oA VAR nA SIZE 150,25 picture "@e 99999,999.99999"
@ 10,40 get oB VAR nB SIZE 150,25 picture "@e 99999,999.99999" valid
{||oA:SetFocus(),.T.}
@ 10,60 get oPhantom VAR cPhantom size 0,0
oDlg:Activate()
//if press a key not numeric show problem and if reedit get show problem.
Best regards,
Itamar M. Lins Jr.
|
|
From: Itamar M. L. J. L. <ita...@gm...> - 2015-01-14 17:41:21
|
Hi!
Error BASE/1004 Método não exportado: LRESULT
Called from ->LRESULT(0)
Called from ->HBROWSEEX:EDIT(3149)
Called from ->HBROWSEEX:ONEVENT(602)
Called from ->HWG_DLGBOXINDIRECT(0)
Called from ->HDIALOG:ACTIVATE(135)
Line 3149 Method Edit.
IF ::oEditDlg:lResult
Best regards,
Itamar M. Lins Jr.
|
|
From: Itamar M. L. J. L. <ita...@gm...> - 2015-01-14 17:30:06
|
Hi!
Error BASE/1071 Argument error: =
Called from ->HBROWSEEX:EDITEVENT(3281)
Called from ->(b)HBROWSEEX_EDIT(3071)
Called from ->HWINDOW:ONEVENT(181)
Called from ->HDIALOG:ONEVENT(190)
Called from ->HWG_DLGBOXINDIRECT(0)
Called from ->HDIALOG:ACTIVATE(135)
Called from ->HBROWSEEX:EDIT(3134)
Called from ->HBROWSEEX:PAINT(1600)
Called from ->HBROWSEEX:ONEVENT(559)
Called from ->HWG_DLGBOXINDIRECT(0)
Called from ->HDIALOG:ACTIVATE(135)
Called from ->MAIN(21)
#include "hwgui.ch"
#include "hwg_extctrl.ch"
Procedure main
LOCAL aDbS:={}, oDlg,oBrw
AADD(aDbS, {"LOGIC","L",1,0})
DBCREATE("_test.dbf",aDbS)
USE _test
INIT DIALOG oDlg CLIPPER AT 100,100 SIZE 300,400
@ 10,10 BrowseEx oBrw DATABASE of oDlg SIZE 200,100 append
Add columnEx FieldBlock("Logic") to oBrw Editable ;
Header 'LOGIC' Type 'L' Length 2 picture 'L' ;
Justify Line DT_LEFT Justify Head DT_LEFT
oDlg:Activate()
close all
same press key <SPACE BAR> show error.
Best regards,
Itamar M. Lins Jr.
|
|
From: Alexander K. <alk...@ya...> - 2015-01-13 13:47:44
|
> Even with the same sample test. > Another problem if user press ALT+TAB Dialog run once again and again... > every time it receives the focus a new dialog is called. I can't reproduce this situation. Maybe, not the dialog, but the "Error" message ? Regards, Alexander. |
|
From: Itamar M. L. J. L. <ita...@gm...> - 2015-01-13 12:27:39
|
Hi! Even with the same sample test. Another problem if user press ALT+TAB Dialog run once again and again... every time it receives the focus a new dialog is called. Same if use STYLE WS_POPUP + WS_VISIBLE + WS_CAPTION + WS_SYSMENU + WS_SIZEBOX + DS_CENTER And I do not know what the right combination of styles to not happen this. Best regards, Itamar M. Lins Jr. |
|
From: Itamar M. L. J. L. <ita...@gm...> - 2015-01-12 22:48:13
|
Hi!
>This strange behavior appears not because of DS_CENTER, but because other necessary styles (WS_POPUP) are not present.
It is an unfortunate bug. Because there's no way a simple users know
this, it took me a few days with this problem to isolate it. Of the
Hwgui should automatically detect and add the correct syntax or at
least warn that something is missing.
If possible add a "How to", of what clause we use with DIALOG and STYLE
Anyway thanks for the clear up the problem.
Best regards,
Itamar M. Lins Jr.
2015-01-11 13:09 GMT-03:00 Itamar M. Lins Jr. Lins <ita...@gm...>:
> It was difficult to create a sample.
> But I found and isolate the problem
> This problem only occurs if I use clause STYLE DS_CENTER
>
>
> #include "hwgui.ch"
>
> Function main
>
> LOCAL oFormMain
> INIT WINDOW oFormMain MAIN AT 0,0 SIZE 800,600
>
> oFormMain:bActivate := {|| fInit(oFormMain) }
> oFormMain:Activate()
>
>
> Function fInit(oFormMain)
> LOCAL oDlg,oGet,cGet:=" ", cPhantom
> //hwg_msginfo("ok") if I active this not occurs problem same I use
> DS_CENTER!!
>
> INIT DIALOG oDlg AT 0,0 SIZE 400,300 STYLE DS_CENTER
>
> @ 010,090 say "None:" SIZE 65,15
> @ 010,110 get oGet VAR cGet PICTURE "!" SIZE 100,30 Valid
> {||fFunc_A(cGet)} //Press "E" now DIALOG show twice
>
> @ 030,120 get oPhantom var cPhantom size 0,0
>
> oDlg:Activate()
>
> Function fFunc_A(cGet)
>
> If cGet == "E"
> hwg_MsgStop("Error")
> return .F.
> Else
> hwg_EndDialog()
> ENDIF
> return .T.
>
>
|
|
From: Alexander K. <alk...@ya...> - 2015-01-12 13:33:23
|
> It was difficult to create a sample. > But I found and isolate the problem > This problem only occurs if I use clause STYLE DS_CENTER When you set the style directly, this style is the only, which is used while creating of a dialog. If you will use the DS_CENTER with standard dialog styles, at least, WS_POPUP, the problem dissappears: STYLE WS_POPUP + DS_CENTER or: STYLE WS_POPUP + WS_VISIBLE + WS_CAPTION + WS_SYSMENU + WS_SIZEBOX + DS_CENTER This strange behavior appears not because of DS_CENTER, but because other necessary styles (WS_POPUP) are not present. BTW, the centering of a dialog may be achieved also, using the ACTIVATE DIALOG oDlg CENTER Regards, Alexander. |
|
From: Itamar M. L. J. L. <ita...@gm...> - 2015-01-11 16:09:54
|
It was difficult to create a sample.
But I found and isolate the problem
This problem only occurs if I use clause STYLE DS_CENTER
#include "hwgui.ch"
Function main
LOCAL oFormMain
INIT WINDOW oFormMain MAIN AT 0,0 SIZE 800,600
oFormMain:bActivate := {|| fInit(oFormMain) }
oFormMain:Activate()
Function fInit(oFormMain)
LOCAL oDlg,oGet,cGet:=" ", cPhantom
//hwg_msginfo("ok") if I active this not occurs problem same I use
DS_CENTER!!
INIT DIALOG oDlg AT 0,0 SIZE 400,300 STYLE DS_CENTER
@ 010,090 say "None:" SIZE 65,15
@ 010,110 get oGet VAR cGet PICTURE "!" SIZE 100,30 Valid
{||fFunc_A(cGet)} //Press "E" now DIALOG show twice
@ 030,120 get oPhantom var cPhantom size 0,0
oDlg:Activate()
Function fFunc_A(cGet)
If cGet == "E"
hwg_MsgStop("Error")
return .F.
Else
hwg_EndDialog()
ENDIF
return .T.
|
|
From: Alexander K. <alk...@ya...> - 2015-01-10 07:24:09
|
> Unrecoverable error 9001: Error recovery failure > Called from __ERRINHANDLER(0) > Called from HTAB:GETLIST(226) > Called from ONDLGCOMMAND(303) > Called from GETAPPLYKEY(682) > ... Fixed. Regards, Alexander. |
|
From: Itamar M. L. J. L. <ita...@gm...> - 2015-01-07 12:34:51
|
Its is a bug, occurs only with final get into TAB control. Same if I put(declare) LOCAL oGET, the error occurs if remove TAB control works fine. I isolated the problem. If I put cGet with PICTURE "!" occurs the error, without PICTURE clause no show errors. And TAB key, UP, DOWN... not working with TAB controls with only one GET object. Best regards, Itamar M. Lins Jr. |
|
From: Alain A. <ala...@wa...> - 2015-01-07 08:57:49
|
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 07/01/2015 04:15, Itamar M. Lins Jr.
Lins a écrit :<br>
</div>
<blockquote
cite="mid:CAH...@ma..."
type="cite">
<div dir="ltr">
<div>
<div>Unrecoverable error 9001: Error recovery failure<br>
Called from __ERRINHANDLER(0)<br>
Called from HTAB:GETLIST(226)<br>
Called from ONDLGCOMMAND(303)<br>
Called from GETAPPLYKEY(682)<br>
Called from HEDIT:ONEVENT(153)<br>
Called from HWG_DLGBOXINDIRECT(0)<br>
Called from HDIALOG:ACTIVATE(135)<br>
Called from MAIN(18)<br>
<br>
---------------------------8<----------------<br>
#include "<a moz-do-not-send="true" href="http://hwgui.ch">hwgui.ch</a>"<br>
<br>
Function main<br>
LOCAL oDlg,cGet:=" "<br>
<br>
INIT DIALOG oDlg AT 0,0 SIZE 400,300 <br>
<br>
@ 30,30 TAB oTab ITEMS {} SIZE 300,200 OF oDlg <br>
<br>
BEGIN PAGE "Tab" OF oTAB<br>
<br>
@ 005,040 get oGet var cGet picture "!" size 20,20 OF
oTAB //Press a key here and get a error!!<br>
<br>
END PAGE OF oTAB <br>
<br>
//End not change focos if press TAB key or ENTER key.<br>
<br>
oDlg:Activate()<br>
------------------------------------>8----------------------<br>
</div>
</div>
</div>
</blockquote>
<br>
Seems local oGet is missing ...<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.8-1 | H.arbour 3.2.0dev
(2014-12-31 00:45) | HbIDE (Rev.316) | Five.Linux (r138) |
Hw.Gui (2349)</small>
<hr>
</div>
</body>
</html>
|
|
From: Itamar M. L. J. L. <ita...@gm...> - 2015-01-07 03:15:55
|
Unrecoverable error 9001: Error recovery failure
Called from __ERRINHANDLER(0)
Called from HTAB:GETLIST(226)
Called from ONDLGCOMMAND(303)
Called from GETAPPLYKEY(682)
Called from HEDIT:ONEVENT(153)
Called from HWG_DLGBOXINDIRECT(0)
Called from HDIALOG:ACTIVATE(135)
Called from MAIN(18)
---------------------------8<----------------
#include "hwgui.ch"
Function main
LOCAL oDlg,cGet:=" "
INIT DIALOG oDlg AT 0,0 SIZE 400,300
@ 30,30 TAB oTab ITEMS {} SIZE 300,200 OF oDlg
BEGIN PAGE "Tab" OF oTAB
@ 005,040 get oGet var cGet picture "!" size 20,20 OF oTAB //Press a key
here and get a error!!
END PAGE OF oTAB
//End not change focos if press TAB key or ENTER key.
oDlg:Activate()
------------------------------------>8----------------------
Best regards,
Itamar M. Lins Jr.
|
|
From: Alexander K. <alk...@ya...> - 2015-01-05 13:18:41
|
But why do you need to use the oDlg:Show(), if without it your sample works correctly ? Or you can call the oDlg:Show(), if you need it by some reason, after the fShowBtn(oDlg). Isn't it reasonable to show the dialog after it controls will be created ?
Regards, Alexander.
From: Itamar M. Lins Jr. Lins <ita...@gm...>
To: Alexander Kresin <alk...@ya...>
Sent: Monday, January 5, 2015 4:19 PM
Subject: Re: [Hwgui-developers] Dialog with flag WS_HSCROLL and WS_VSCROLL not work
Hi!
I found a small anomaly
#include "hwgui.ch"
#include "hwg_extctrl.ch"
Function main
LOCAL oDlg
INIT DIALOG oDlg CLIPPER NOEXIT AT 0,0 SIZE 1320,658 STYLE WS_OVERLAPPEDWINDOW +DS_CENTER+WS_HSCROLL+WS_VSCROLL
oDlg:bActivate := {|| oDlg:Show(), fShowBtn(oDlg) }
oDlg:Activate()
Function fShowBtn(oDlg)
Local x:=10,y:=10,nCount:=0, n_, c_, cStr, nY := 20, nX := 19
For n_ := 1 to nY
For c_ := 1 to nX
@ x,y OwnerButton oBt of oDlg Text StrZero(++nCount,3) size 60,60
x+=68
Next
x := 10
y += 70
Next
return .T.
Because, oDlg:Show() draws before run function fShowBtn() and loses information.
Best regards,
Itamar M. Lins Jr.
|
|
From: Alexander K. <alk...@ya...> - 2015-01-05 07:14:47
|
>#include "hwgui.ch" >Function main >LOCAL oDlg > >INIT DIALOG oDlg AT 100,100 SIZE 200,80 STYLE WS_OVERLAPPEDWINDOW +DS_CENTER+WS_HSCROLL+WS_VSCROLL > >oDlg:Activate() Works here, too. What problems you have with it ? Regards, Alexander. |
|
From: Itamar M. L. J. L. <ita...@gm...> - 2015-01-05 00:41:52
|
Hi! #include "hwgui.ch" Function main LOCAL oDlg INIT DIALOG oDlg AT 100,100 SIZE 200,80 STYLE WS_OVERLAPPEDWINDOW +DS_CENTER+WS_HSCROLL+WS_VSCROLL oDlg:Activate() Ps. Works fine with version 2.17 Best regards, Itamar M. Lins Jr. |