30.03.2010 11:26, Horodyski Marek (PZUZ) ???(??):
I have tested now testprof.prg from tests folder in version :
Harbour 2.0.1dev (Rev. 13492)
And MemoEdit isn't worked. Can anybody confirm this ?
Regards,
Marek Horodyski
___
Harbour mailing l
I have tested now testprof.prg from tests folder in version :
Harbour 2.0.1dev (Rev. 13492)
And MemoEdit isn't worked. Can anybody confirm this ?
Regards,
Marek Horodyski
___
Harbour mailing list (attachment size limi
Dear Przemek,
Fixed. It is working properly. Thanks a lot.
Best regards
Robert
- Original Message -
From: "Przemysław Czerpak"
To: "Harbour Project Main Developer List."
Sent: Wednesday, January 13, 2010 11:28 PM
Subject: Re: [Harbour] MemoEdit() and Lastkey(),
On Wed, 13 Jan 2010, Robert Skowronek(o2) wrote:
Hi,
> Dear All,
> Another issue that bother me that used to work in Clipper but opposite
> behavior in Harbour.
> MemoEdit(usertxt,9,1,16,78,.T.,NIL,120)
> When I open memo edit widow and close immediately by ESC without a
Hi,
- Original Message -
From: Robert Skowronek(o2)
To: Harbour Project Main Developer List.
Sent: Wednesday, January 13, 2010 4:21 PM
Subject: [Harbour] MemoEdit() and Lastkey(), Escape
Dear All,
Another issue that bother me that used to work in Clipper but
Dear All,
Another issue that bother me that used to work in Clipper but opposite behavior
in Harbour.
MemoEdit(usertxt,9,1,16,78,.T.,NIL,120)
When I open memo edit widow and close immediately by ESC without any update, I
have K_ESC in LASTKEY(). It is fine.
However, if I do any
Hi Pritpal,
Not is another issue is the same except that now, with the patch, not repeated
infinitely and my old application will work.
The logic of call control function is different to Clipper. Could to say
something Maurilio?
I'm more worried about leaving the application.
Xavi
Pritpa
Hello Xavi
Xavi-13 wrote:
>
> Procedure Main()
> MemoEdit( 'Please press F2 abc...', 0, 0, MaxRow(), MaxCol(), .F.,
> 'FunCtr' )
>
Thanks for this patch.
Now application does not terminate but another
issue has come up as:
MemoEdit( 'Please press F2 abc...', 0, 0, MaxRow(), MaxCol(),
Procedure Main()
MemoEdit( 'Please press F2 abc...', 0, 0, MaxRow(), MaxCol(), .F., 'FunCtr'
)
return
Function FunCtr()
return 0
When you press F2 MemoEdit() enters an endless loop of recursive calls, this
patch prevent the recursion.
Please update the repository.
Is correct that exits t
Guys,
Thanks for the examples, the problem is apparently
that HBMemoEditor() class (in memoedit.prg) calls
::Edit() method of HBEditor() super class, which calls
::KeyboardHook() which is overridden by HBMemoEditor(),
and which in turn calls ::Edit() method again. Hence the
infinite loop.
Seem ver
I have a similar problem with memoedit() it goes into endless loop when
ESC hit during edit without calling the user func.
http://i115.photobucket.com/albums/n287/barjac_2006/memoedit1.png
Maybe that screenshot is of use?
Rgds Barry
Pritpal Bedi wrote:
Viktor
But where?
Clipper documentatio
Viktor
>But where?
Clipper documentation says that user func is
called with mode==ME_INIT until func returns
0 ( ME_DEFAULT ).
In the code above, I am returning K_INS and expecting
that the func will be called next time also and it
will return 0.
But the fun is called recursively ( around 4
But where?
Brgds,
Viktor
On Wed, Mar 11, 2009 at 6:56 PM, Massimo Belgrano wrote:
> I confirm that application can't be executed because it crash
>
> 2009/3/11 Pritpal Bedi :
> >
> > Hello Viktor
> >
> >
> > Viktor Szakáts wrote:
> >>
> >> Could you post sample code and an RTE message possibly
>
I confirm that application can't be executed because it crash
2009/3/11 Pritpal Bedi :
>
> Hello Viktor
>
>
> Viktor Szakáts wrote:
>>
>> Could you post sample code and an RTE message possibly
>> with line number? It would help locating the problem.
>>
>
> The appln just crashes. No hb_out.log is
>
> > Could you post sample code and an RTE message possibly
> > with line number? It would help locating the problem.
> >
>
> The appln just crashes. No hb_out.log is generated.
> No error.log is generated. Here is the code.
error.log is never generated in Harbour. You need to
link with GTWIN to
Hello Viktor
Viktor Szakáts wrote:
>
> Could you post sample code and an RTE message possibly
> with line number? It would help locating the problem.
>
The appln just crashes. No hb_out.log is generated.
No error.log is generated. Here is the code.
#include 'memoedit.ch'
#include 'setcurs.c
Hi Pritpal,
Could you post sample code and an RTE message possibly
with line number? It would help locating the problem.
Brgds,
Viktor
On Wed, Mar 11, 2009 at 4:33 PM, Pritpal Bedi wrote:
>
> Hello
>
> Once before I had reported this error.
>
> Appln crashes if UserFunc is defined and
> memo is
Hello
Once before I had reported this error.
Appln crashes if UserFunc is defined and
memo is in readonly mode.
Can someone look into it.
Regards
Pritpal Bedi
--
View this message in context:
http://www.nabble.com/Memoedit%28%29---UserFunc-%3D%3D-YES-and-EDITABLE-%3D%3D-NO-tp22457681p224576
Hello All
Here is weired behavior
#include 'memoedit.ch'
#include 'setcurs.ch'
#include 'inkey.ch'
Function Main()
Local cText := 'This is initial text'
Local lEditMode := .F.
DO WHILE .T.
cText := MEMOEDIT( cText, 3,6,20,76, lEditMode, "EditFunc", 50 )
if lastkey() == 27
Is possible having in memoedit copy and paste
Anybody have a Solution for using more advanced memo editing?
Massimo Belgrano
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
20 matches
Mail list logo