1) Using the event handler of an ordinary button,
2) Using the Help button on the titlebar.
The first case is clear:
The onHelpClick event handler belonging to the help button has to display a help topic.
Code: Select all
help_ctl:setClickResponder(onHelpClick),
predicates
onHelpClick : button::clickResponder.
clauses
onHelpClick(Source) = button::defaultAction :-
htmlHelp::invoke(T, fullFileName, htmlHelp::hh_help_context ,Id),
Code: Select all
the usage of the
property
helpResponder : helpResponder
of the interface framedecoration.