- Code: Select all Expand view
#include "fivewin.ch"
function main
Public lSair:=.f.
define window ownd
define button obtn ........ Action (lSair:=.t.,ownd:end())
activate window ownd;
valid lSair
function buttonCLOSE() // execute this when button close of window was clicked.
lSair:.t.
ownd:End()
return
how make to button [X] sysmenu, close direct when receive click.
when use oWnd:bResized return button Minimize / Maximize i want know if have to button Close too.
Someone can help ? thanks