Sunday, March 22, 2020

Understand how health and safety legislation is implemented in the health and social care workplace free essay sample

Assignment Front Sheet Qualification Unit Number and Title Pearson BTEC Level 4 HND Diploma In Health and Social Care Student Name Unit 3: Health and Safety in the Health and Social Care Workplace Assessor name: Christine Pratt Date of Issue Completion date 27/01/2014 18/04/2014 Student No. Submitted on Assignment title Learning Outcome Learning outcome Assessment criteria LO1 Understand 1. 1 how health and safety legislation is implemented in the health and social care workplace 1. 2 1. 3 In this assessment you will Task have the opportunity to No. present evidence that shows you are able to review systems, policies and 1Â  procedures for communicating information on health and safety in the health and social care workplace in accordance with legislative requirements Evidence (Page no) assess the responsibilities in 1 a specific health and social care workplace for the management of health and safety in relation to organisational structures analyse health and safety 1 priorities ap propriate for a specific health and social care workplace. We will write a custom essay sample on Understand how health and safety legislation is implemented in the health and social care workplace or any similar topic specifically for you Do Not WasteYour Time HIRE WRITER Only 13.90 / page Understand 2. 1 the ways in which health and safety requirements impact on customers and 2. 2 the work of practitioners in the health and social care workplace 2. 3 2. 4 LO3 Understand the monitoringand review of health and safety in the health and social care workplace 3. 1 3. 2 3. 3 analyse how information from risk assessments informs care planning for individuals and organisational decision making about policies and procedures analyse the impact of one aspect of health and safety policy on health and social care practice and its customers discuss how dilemmas encountered in relation to implementing systems and policies for health, safety and security may be addressed analyse the effect of noncompliance with health and safety legislation in a health and social care workplace explain how health and safety policies and practices are monitored and reviewed 2 analyse the effectiveness of health and safety policies and practices in the workplace in promoting a positive, healthy and safe culture evaluate own contributions to placing the health and safety needs of individuals at the centre of practice. 3 2 2 2 3 3 Learner declaration I certify that the work submitted for this assignment is my own and research sources are fully acknowledged. Student Signature: Date: 2 In addition to the above PASS criteria, this assignment gives you the opportunity to submit evidence in order to achieve the following MERIT and DISTINCTION grades. Grade Descriptor Indicative characteristic/s Contextualisation M1 Identify and apply strategies to find appropriate solutions Effective judgements have been made M2 Select/design and apply appropriate methods and techniques A range of sources of information have been applied M3 Present and communicate appropriate findings Communication is appropriate for familiar and unfamiliar audiences and appropriate media have been used D1 Use critical reflection to evaluate own work and justify valid conclusions Conclusions have been arrived at through synthesis of ideas and have been justified

Thursday, March 5, 2020

How to Display Menu Item Hints in Delphi Applications

How to Display Menu Item Hints in Delphi Applications Use specific coding language to program Delphi applications to display a hint, or tooltip, when the mouse hovers over a menu component. If the ShowHint property is set to true and you add text to the hint property, this message will be displayed when the mouse is placed over the component (a TButton, for example). Enable Hints for Menu Items Because of the way Windows is designed, even if you set the value for the hint property to a menu item, the popup hint will not get displayed. However, the Windows start menu items do display hints. The favorites menu in Internet Explorer also displays menu item hints. It is possible to use the OnHint event of the global application variable in Delphi applications to display menu item hints in a status bar. Windows does not expose the messages needed to support a traditional OnMouseEnter event. However, the WM_MENUSELECT message is sent when the user selects a menu item. The WM_MENUSELECT implementation of the TCustomForm (ancestor of the TForm) sets the menu item hint to Application.Hint so it can be used in the Application.OnHint event. If you want to add menu item popup hints (tooltips) to your Delphi application menus, focus on the WM_MenuSelect message. Popup Hints Since you cannot rely on the Application.ActivateHint method to display the hint window for menu items (as menu handling is completely done by Windows), to get the hint window displayed you must create your own version of the hint window by deriving a new class from the THintWindow. Heres how to create a TMenuItemHint class. This is a hint widow that actually gets displayed for menu items! First, you need to handle the WM_MENUSELECT Windows message: type TForm1 class(TForm) ... private procedure WMMenuSelect(var Msg: TWMMenuSelect) ; message WM_MENUSELECT; end...implementation...procedure TForm1.WMMenuSelect(var Msg: TWMMenuSelect) ;var  Ã‚  menuItem : TMenuItem;  Ã‚  hSubMenu : HMENU;begin inherited; // from TCustomForm (so that Application.Hint is assigned) menuItem : nil; if (Msg.MenuFlag $FFFF) or (Msg.IDItem 0) then begin if Msg.MenuFlag and MF_POPUP MF_POPUP then begin hSubMenu : GetSubMenu(Msg.Menu, Msg.IDItem) ; menuItem : Self.Menu.FindItem(hSubMenu, fkHandle) ; end else begin menuItem : Self.Menu.FindItem(Msg.IDItem, fkCommand) ; end; end;  Ã‚  miHint.DoActivateHint(menuItem) ;end; (*WMMenuSelect*) Quick info: the WM_MENUSELECT message is sent to a menus owner window when the user selects (but does not click) a menu item. Using the FindItem method of the TMenu class, you can get the menu item currently selected. Parameters of the FindItem function relate to the properties of the message received. Once we know what menu item the mouse is over, we call the DoActivateHint method of the TMenuItemHint class. The miHint variable is defined as var miHint : TMenuItemHint and is created in the Forms OnCreate event handler. Now, whats left is the implementation of the TMenuItemHint class. Heres the interface part: TMenuItemHint class(THintWindow)private activeMenuItem : TMenuItem; showTimer : TTimer; hideTimer : TTimer; procedure HideTime(Sender : TObject) ; procedure ShowTime(Sender : TObject) ;public constructor Create(AOwner : TComponent) ; override; procedure DoActivateHint(menuItem : TMenuItem) ; destructor Destroy; override;end; Basically, the DoActivateHint function calls the ActivateHint method of the THintWindow using the TMenuItems Hint property (if it is assigned). The showTimer is used to ensure that the HintPause of the Application elapses before the hint is displayed. The hideTimer uses Application.HintHidePause to hide the hint window after a specified interval. Using Menu Item Hints While some might say that it is not a good design to display hints for menu items, there are situations where actually displaying menu item hints is much better than using a status bar. A most recently used (MRU) menu item list is one such case. A custom taskbar menu is another.