I need to change the transparency of the window.I try this way, but nothing changes. How can this problem be solved ?
#include "fivewin.ch"
function Main
private oDlg
DEFINE DIALOG oDlg FROM 0,0 TO 300,300 PIXEL ;
STYLE nOR(WS_POPUP, WS_THICKFRAME) ;
COLOR CLR_BLACK, RGB(152, 251, 152) RESIZABLE
ACTIVATE DIALOG oDlg ON INIT oDlg:nOpacity:=100 NOWAIT
oDlg:bLDblClick:={||Chg_Tsp()}
return NIL
procedure Chg_Tsp
oDlg:nOpacity:=iif(valtype(oDlg:nOpacity)="N", NIL, 100)
oDlg:Refresh()
return