ON MOVE se activa solo

46 views
Skip to first unread message

Miguel Ingles

unread,
Sep 6, 2025, 3:52:18 AM (6 days ago) Sep 6
to minigu...@googlegroups.com
Hola a todos

Cuando defino una venta declaro ON SIZE, y cuando pincho con el raton en el titulo de la venta y la arrastro sin cambiar el tamaño de la ventana, tambien se activa, como si fuera ON MOVE

Compilador: MinGW GNU C 14.1 (64-bit)
Lenguaje Programa: Harbour 3.2.0dev (r2405310955)
Harbour MiniGUI Extended Edition 24.07 (64-bit) ANSI
Sistema Operativo: Windows 10 10.0 - x86-64

Paso en pequeño ejemplo:

 DEFINE WINDOW WinOfeDat ;
AT 240,0     ;
WIDTH 1500 ;
HEIGHT 850 ;
TITLE "Ofertas clientes modificacion" ;
ON SIZE OfeDat_TamVen() ;
CHILD

END WINDOW
ACTIVATE WINDOW WinOfeDat

STATIC FUNCTION OfeDat_TamVen()
IF IsWindowDefined(WinOfeDat)=.F.
RETURN
ENDIF
msgbox("Prueba 1")

Ross McKenzie

unread,
Sep 6, 2025, 10:34:09 AM (6 days ago) Sep 6
to Harbour Minigui
Translation:-

Hello everyone 
When I define a sale, I declare ON SIZE, and when I click on the sale title and drag it without changing the window size, it also activates, as if it were ON MOVE. 

Compiler: MinGW GNU C 14.1 (64-bit) 
Programming Language: Harbor 3.2.0dev (r2405310955) 
Harbor MiniGUI Extended Edition 24.07 (64-bit) 
ANSI Operating System: Windows 10 10.0 - x86-64

 Small example: 
DEFINE WINDOW WinOfeDat ; 
AT 240,0 ; 
WIDTH 1500 ; 
HEIGHT 850 ; 
TITLE "Customer offers modification" ; 
ON SIZE OfeDat_TamVen() ; 
CHILD
END WINDOW 

ACTIVATE WINDOW WinOfeDat 
STATIC FUNCTION OfeDat_TamVen() 
IF IsWindowDefined(WinOfeDat)=.F. 
RETURN 
ENDIF 

msgbox("Test 1")

Grigory Filatov

unread,
Sep 6, 2025, 1:12:26 PM (6 days ago) Sep 6
to Harbour Minigui
Hi,

Thanks for your bug report!

This bug has already been fixed and the solution will be included in the next build.

I've also added the following description in the current changelog file:

  * Fixed: ON SIZE event fires too early and acts similar to ON MOVE event.
           This bug was reported on the Minigui forum.
           Contributed by Grigory Filatov
           (see demo in folder \samples\Basic\ON_INTERACTIVECLOSE)

Sorry for any inconvenience this may cause.

Regards,
Grigory

суббота, 6 сентября 2025 г. в 16:34:09 UTC+2, ross...@gmail.com:
Reply all
Reply to author
Forward
0 new messages