FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ON MOVE from dialog or window
Posts: 142
Joined: Sun Oct 09, 2005 10:59 AM
ON MOVE from dialog or window
Posted: Thu Aug 31, 2006 02:25 PM
Hello,

Trying to use ON MOVE , you can try
# include "fivewin.ch"
FUNC MAIN
LOCAL oWnd
DEFINE WINDOW oWnd FROM 10,10 TO 20,70
SET MESSAGE OF oWnd TO "TEST ON MOVE" CLOCK DATE KEYBOARD NOINSET
oWnd:bMoved := {|nRow,nCol|oWnd:setMsg(LTRIM(STR(nRow)) + " , " + LTRIM(STR(nCol)))}
ACTIVATE DIALOG oWnd
RETURN


Notes :

1) The result is WRONG , nRow is always 0

2) Trying to use the ON MOVE clause can never do the same , nRow or nCol can't be used.

It is only possible when fivewin.ch and dialog.ch are changed :
<oWnd>:bMoved [ := \{ | nRow,nCol | <uMove> \} ], ;

3) I am convinced that this behaviour is a ERROR , i reported it already
a few days ago . Why no response ????????


Frank
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: ON MOVE from dialog or window
Posted: Thu Aug 31, 2006 03:24 PM

I confirm the problem.

EMG

Posts: 1074
Joined: Fri Oct 07, 2005 01:56 PM
ON MOVE from dialog or window
Posted: Thu Aug 31, 2006 08:44 PM

I confirm the problem.

FWH 2.6, xHarbour 0.99.5, Borland 5.5

Saludos
Patricio

Saludos
Patricio

__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl

Continue the discussion