Júlio,
Could you please explain what specific action you want to do when the "?" is clicked ? Whats your idea ?
Is just to know what parameters you need to be supplied to the codeblock.
DEFINE DIALOG oDlg ...
oDlg:lHelpIcon := .T.
oDlg:bHelpIcon := {|oDlg| myFunction( oDlg ) }
...
ACTIVATE DIALOG oDlg CENTER
METHOD SysCommand( nWParam, nLParam ) CLASS TDialog
if nWParam == SC_CLOSE .and. ::lModal
if GetCapture() != 0
ReleaseCapture()
endif
return .f.
endif
if nWParam == SC_HELP
if ValType( ::bHelpIcon ) == "B"
Eval( ::bHelpIcon, Self )
endif
::lHelpIcon = .t.
return .f.
endif
return Super:SysCommand( nWParam, nLParam )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 75 guests