ON MOVE from dialog or window

ON MOVE from dialog or window

Postby Frank Demont » Thu Aug 31, 2006 2:25 pm

Hello,

Trying to use ON MOVE , you can try
Code: Select all  Expand view
# 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
Last edited by Frank Demont on Fri Sep 01, 2006 8:38 am, edited 1 time in total.
Frank Demont
 
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am


Postby Patricio Avalos Aguirre » Thu Aug 31, 2006 8:44 pm

I confirm the problem.

FWH 2.6, xHarbour 0.99.5, Borland 5.5

Saludos
Patricio
User avatar
Patricio Avalos Aguirre
 
Posts: 1060
Joined: Fri Oct 07, 2005 1:56 pm
Location: La Serena, Chile


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Otto and 40 guests