Re: [Harbour] MemoEdit

2010-03-30 Thread vatzct
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

[Harbour] MemoEdit

2010-03-30 Thread 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 list (attachment size limi

Re: [Harbour] MemoEdit() and Lastkey(), Escape

2010-01-13 Thread Robert Skowronek(o2)
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(),

Re: [Harbour] MemoEdit() and Lastkey(), Escape

2010-01-13 Thread Przemysław Czerpak
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

Re: [Harbour] MemoEdit() and Lastkey(), Escape

2010-01-13 Thread Robert Skowronek(o2)
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

[Harbour] MemoEdit() and Lastkey(), Escape

2010-01-13 Thread Robert Skowronek(o2)
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

Re: [Harbour] MemoEdit() Patch to avoid recursive calls in endless loop.

2009-05-18 Thread Xavi
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

Re: [Harbour] MemoEdit() Patch to avoid recursive calls in endless loop.

2009-05-15 Thread Pritpal Bedi
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(),

[Harbour] MemoEdit() Patch to avoid recursive calls in endless loop.

2009-05-13 Thread Xavi
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

Re: [Harbour] Memoedit() - UserFunc == YES and EDITABLE == NO

2009-03-12 Thread Viktor Szakáts
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

Re: [Harbour] Memoedit() - UserFunc == YES and EDITABLE == NO

2009-03-11 Thread Barry Jackson
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

Re: [Harbour] Memoedit() - UserFunc == YES and EDITABLE == NO

2009-03-11 Thread Pritpal Bedi
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

Re: [Harbour] Memoedit() - UserFunc == YES and EDITABLE == NO

2009-03-11 Thread Viktor Szakáts
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 >

Re: [Harbour] Memoedit() - UserFunc == YES and EDITABLE == NO

2009-03-11 Thread Massimo Belgrano
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

Re: [Harbour] Memoedit() - UserFunc == YES and EDITABLE == NO

2009-03-11 Thread Viktor Szakáts
> > > 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

Re: [Harbour] Memoedit() - UserFunc == YES and EDITABLE == NO

2009-03-11 Thread 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 generated. No error.log is generated. Here is the code. #include 'memoedit.ch' #include 'setcurs.c

Re: [Harbour] Memoedit() - UserFunc == YES and EDITABLE == NO

2009-03-11 Thread Viktor Szakáts
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

[Harbour] Memoedit() - UserFunc == YES and EDITABLE == NO

2009-03-11 Thread Pritpal Bedi
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

[Harbour] MemoEdit() - Bug if cUDF == YES and EditMode == NO

2008-11-11 Thread Pritpal Bedi
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

[Harbour] Memoedit with copy and paste

2008-07-11 Thread Massimo Belgrano
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