Antonio,
Using themes, when we redefine a group and press alt key
the content of group was erased. If we use transparent clause it work fine, then we change group.prg lTransparent default to .T.
I think it is the same old folder/button problem...
Regards,
Maurilio
Group error when ALT is pressed
- Maurilio Viana
- Posts: 252
- Joined: Tue Oct 25, 2005 2:48 pm
- Location: Garça/Garza/Heron City - Brazil
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Maurilio,
That was fixed recently. This change is required in source\classes\group.prg
That was fixed recently. This change is required in source\classes\group.prg
Code: Select all
#define WM_UPDATEUISTATE 296 // 0x0128
METHOD HandleEvent( nMsg, nWParam, nLParam ) CLASS TGroup
local nResult
if ::lDrag .and. nMsg == WM_NCHITTEST // To have a standard behavior on Clicks
return DefWindowProc( ::hWnd, nMsg, nWParam, nLParam )
endif
if nMsg == WM_UPDATEUISTATE // Groups and contained controls were erased when pressing ALT
nResult = Super:HandleEvent( nMsg, nWParam, nLParam )
::oWnd:Refresh()
return nResult
endif
return Super:HandleEvent( nMsg, nWParam, nLParam )
- Maurilio Viana
- Posts: 252
- Joined: Tue Oct 25, 2005 2:48 pm
- Location: Garça/Garza/Heron City - Brazil
- Contact: