Saturday, May 16, 2020
How to Implement OnCreate Event for Delphi TFrame Object
TFrame is a container for components; it can be nested within forms or other frames. A frame, like a form, is a container for other components. Frames can be nested within forms or other frames, and they can be saved on the Component palette for easy reuse. Missing OnCreate Once you start using frames, youll note theres no OnCreate event you can use to initialize your frames. In short, the reason that a frame does not have a OnCreate event is there is no good time to fire the event. However, by overriding the Create method you can mimic the OnCreate event. After all, the OnCreate for Forms gets fired at the end of the Create constructor ââ¬â so overriding Create for Frames is as having the OnCreate event. Heres the source code of a simple frame exposing a public property and overriding the Create constructor: unit WebNavigatorUnit;interface uses à à Windows, Messages, SysUtils, Variants, Classes, à à Graphics, Controls, Forms, Dialogs, StdCtrls; type à à TWebNavigatorFrame class(TFrame)à à à à urlEdit: TEdit;à à private à à à à fURL: string;à à à à procedure SetURL(const Value: string) ;à à public à à à à constructor Create(AOwner: TComponent) ; override;à à published à à à à property URL : string read fURL write SetURL;à à end;implementation{$R *.dfm} constructor TWebNavigatorFrame.Create(AOwner: TComponent) ;begin à à inherited Create(AOwner) ;à //OnCreate code à à URL : http://delphi.about.com; end;procedure TWebNavigatorFrame.SetURL(const Value: string) ;begin à à fURL : Value; à à urlEdit.Text : Value; end;end. The WebNavigatorFrame acts as a website launcher hosting an edit and a button control. Note: if you are new to frames, make sure you read the following two articles: visual component development using frames, replacing tabsheets with frames.
Wednesday, May 6, 2020
The Energy Efficiency Of Fossil Fuels Essay - 2550 Words
INTRODUCTION ââ¬Å"Every day we are paying more for energy than we should due to poor insulation, inefficient lights, appliances, and heating and cooling equipment - money we could save by investing in energy efficiencyâ⬠, This is the words of Bernie Sanders, who was an American politician. Fuel is the most indispensable thing that is utilized as a part of our everyday life. As we realize that the populace is expanding step by step itââ¬â¢s seen that the utilization of fuel is expanding even though we have to think about the energy efficiency as well as conservation. As aggregate people continue to create and the confined measure of fossil fuels begin to diminish, it may not be possible to give the measure of imperativeness asked for by the world by simply using fossil forces to change over essentialness. .There is data and eagerness today about the improvement and expanded generation of our worldwide vitality needs from option vitality sources. Sun oriented vitality (Solar Electricity), wind control (Wind mill power) and moving water (Hydro- Electricity) are all conventional wellsprings of option vitality that are gaining ground. The eagerness everybody offers for these improvements has from various perspectives made a feeling of carelessness that our future vitality requests will effortlessly be met impressively more unequivocally in the accompanying 20 years than in has in the past 30 years. Alternative sources is an intriguing idea when you consider it. In our worldwide society,Show MoreRelatedThe worlds fossil fuels are running out. With the average amount of time it takes for coal to form1000 Words à |à 4 PagesThe worlds fossil fuels are running out. With the average amount of time it takes for coal to form being 300 billion years, the earth can only renew them so fast. Fossil fuels, like coal and oil take the earth billions of years to reproduce so an effective alternate energy source must be explored. Fossil fuels or crude oil has been around for a long time and can be refined to form a number of products such as gas, gasoline, kerosene, gas oil or diesel. We are also running out of oil which is alsoRead MoreHow Can The United States Lessen Its Dependence On Fossil Fuels?1302 Words à |à 6 PagesHow can the United States lessen its dependence on fossil fuels? Joan Milton Western Governorââ¬â¢s University How can the United States lessen its dependence on fossil fuels? Introduction The U.S obtains more than 84% of its energy from fossil fuels including oil, coal and natural gas. This is because people rely on it to heat their homes, power industries, run vehicles, manufacturing, and provision of electricity. It is apparent that the countryââ¬â¢s transportation industry highly depends onRead MoreThe Misconceptions Of Renewable Energy Vehicles1694 Words à |à 7 PagesMisconceptions of Renewable Energy Vehicles Renewable energy is usually considered the future of technology and the next large advancement for society. The main reasoning for this, as a use for vehiclesââ¬â¢ energy, is because many people believe that renewable energy is necessary to stop climate change. And these people believe this misconception because of green house gases, which are released from the use of fossil fuels. Fossil fuels create most of the worldââ¬â¢s power, which leads to the creationRead MoreCivic Engagement: Fossil Fuels and Renewable Energy1631 Words à |à 6 PagesEnergy production has always been a hot topic in the United States. More specifically, Oklahoma has been on the forefront of energy production. Oklahoma is viewed as a front runner in the energy industry, and the United States is always turning to Oklahoma when in need of creating new sources of energy; an example being compressed natural gas. The United States hopes to influence the nation to climb aboard the train that leads to reliabl e sources of energy by generating new public policies. ManyRead MoreOrganic Derivatives Of Water And Carbon Dioxide1603 Words à |à 7 PagesBritannica, 2015). Combustion is the process of burning fuels or in this case alcohol. It is the chemical process in which the substance reacts rapidly with oxygen and gives off heat. The original substance is called the fuel and the source of oxygen is the oxidiser (Grc.nasa.gov, 2015)). Here the alcohol is the fuel and the oxidiser is air that passes through. During combustion any hydrocarbon source and oxygen yields carbon dioxide, water and energy. During this process the hydrocarbon oxidises intoRead MoreIs Energy Consumption A Major Challenge For Most Countries All Over The World? Essay1502 Words à |à 7 PagesNowadays energy consumption has become a major challenge for most countries all over the world in terms of efficient utility and environment protection. Most negative effects, such as air pollution, destruction of landform, disturbance of ecological balance and climate change, could be attributed to massive use of fossil fuel. At the same time, fossil fuel resource, which accumulated for billions years on earth, would be running out in a short term under such unlimited consumption. ââ¬Å"The Stone AgeRead MoreEssay810 Words à |à 4 PagesThe first criteria considered is energy efficiency in nuclear cleaning, change of state distillation, and reverse osmosis. The best technology, as judged by its energy efficiency, is the method with the lowest energy usage with the greatest yield of water. Nuclear cleaning, while using an MED system, is 37% more efficient than any technology that uses any form of fossil fuel [3]. Of technologies that are applicable to large-scale distillation, as is needed by a country with little fresh waterRead MoreFossil Fuels And Their Impact On The Environment862 Words à |à 4 PagesFossil Fuels and Their Impact on the Environment The amount of fossil fuels being deposited into the air should be controlled. Not only do fossil fuels pose a threat to the environment, but also to human health. The problem is not only noticeable in the depletion of human health, but also in the air, water, and land. Emissions are a concerning contribution to other problems such as global warming and greenhouse gases as well. One of the major factors of fossil fuels are vehicles. VehiclesRead MoreEnergy Demands: Alternative Energy Resources1368 Words à |à 6 PagesCan growing energy demands be met safely and efficiently? My talk today is about energy especially about energy demands. What is energy? In physics, energy is defined as the capacity to do work. This capacity is very important to our daily lives, business, and education and even for the national security. This is why it is so important for world to meet the growing demands of the energy. According to Global future studies research stated that there are 1.3 billion people are living without electricityRead MoreGlobal Warming And Its Effects On Our Communities, Our Health, And Our Climate1145 Words à |à 5 Pagesglobal warming, widespread fossil fuel use, and high carbon emissions are ââ¬Å"having significant and harmful effects on our communities, our health, and our climateâ⬠(Union of Concerned Scientists, 2014). ââ¬Å"To limit [this], the world is going to have to get a lot better at using energy smartlyâ⬠(Hope, 2014). One such way is by reducing the amount of energy we consume or waste on a daily basis; in other words, be ing more energy efficient. Energy Efficiency is ââ¬Å"using less energy to provide the same service
Tuesday, May 5, 2020
Adaptive and Technical Challenges
Question: ExplainAdaptive and Technical Challenges. Answer: Introduction Every organization having more than five to six employees needs an authority figure who can lead from within. It is crucial for people in authority to lead. They are required to give quick, decisive solutions to challenges. The adaptive challenges treated as technical challenges put pressure on the person in authority. Many challenges earlier have been adaptive challenges. However, gradually humanity has developed the knowledge to solve them. The problems to which the solutions are already present are Technical problems. Adaptive and Technical Challenges: According to Yukl and Mahsud, (2010) the main difference between technical and adaptive challenge is that a leader has to solve it without previous knowledge. Adaptive challenges require people to take charge because solutions are not available readily. The employees take responsibility for the problem and become part of the solution. Diagnoses of adaptive and technical challenges are different. According to the speaker Persistent Crisis is an indicator of an adaptive problem. Economic crisis is an example of a technical problem. They arise due to problems in regulation design in banking systems. To solve an adaptive challenge, one has to probe, diagnose and get to the root of the problem. The quickest way to solve an adaptive challenge is to learn new ways. Discovery and learning are necessary. The classic failure in leadership is the misjudgment of the diagnostic results and taking the wrong decision. The people in leadership should ask the right questions and the solutions should be provided by the collective intelligence of the people (Yukl and Mahsud, 2010). The technical challenges are easy to identify. People have the knowhow required to solve the problem. The solutions are normally easy, quick and decisive. The authority can solve the technical problems, or the organization can bring in an expert to solve the problem. Normally the problems arise within the organization. Due to the easy understanding of solutions to the technical problems, people in the organization are very receptive to these solutions. Implementation of solutions is quick and efficient because of the previous knowledge regarding the problem (Heifetz et al., 2009). Adaptive challenges, on the other hand, are difficult in identifying. Adaptive challenges are often confused with technical problems that happen to be a critical failure of leadership for a person in authority. Adaptive challenges need changes in people. The changes include a different approach to the problem, values, beliefs that can aid in solving the problem. Solving of the problem requires the participation of people. The authority cannot provide solutions readily. Adaptive problems often arise even outside the organizational boundaries. Solutions are complex thus are not readily understood by the employees. Adaptive problems require innovative solutions. The formulation of new solutions is time dependent. Thus, implementation of these solutions is a long drawn process (Heifetz et al., 2014). Adaptive leadership According to Heifetz et al., (2014) Ronald Heifetz made the leadership model called adaptive leadership. This method of leadership involves changes in the behavior of the person in authority and the employees in an organization according to the situation presented. The diagnosis of the problem by leaders should be accurate and the leaders should change their behavior accordingly. A person in authority should be flexible and agile. To deal with adaptive challenges versatility in thinking process is required. The speaker focused on the issue of flexibility, which is important for a person in authority to switch between different positions that are required to solve an unseen problem (Heifetz Linsky, 2002). It is a very active form of leadership, which requires a hands-on approach to solving problems arising in an organization (Adams et al., 2013). Diagnosing Adaptive Challenges: Adaptive problems have a difficult identifying process; many times they are mistaken for a technical problem. Due to this, the problem persists. Adaptive leadership requires the person to think in a different way than routine operations. Adaptive solutions require the leader to make decisions about the conservation of past practices, discarding of out of date practices, and inventing new ways as well as retaining the old ways. According to Heifetz Laurie (2001) Failure to take human aspects of adaptive challenges into the diagnosis, like cultural, political dimensions is a cause of low implementation rates. Separation of the technical elements from the adaptive aspect requires creativity of the leaders. They require listening to people for clues and advice to solve an adaptive problem (Adams et al., 2013). Conclusion According to the speaker, Ronald Heifetzs adaptive leadership is based on value-added outcomes. The jobs of leaders have broad-based descriptions that allow versatility and flexibility in decision making. People are expected to cover for one another. Making contacts and networks with people in the same field is encouraged for getting ideas. Leaders have to motivate the people for a Can do attitude. Structures of the leadership model are fluid that is susceptible and favorable to change. References: Adams, J., Bailey Jr, D. E., Anderson, R. A., Galanos, A. N. (2013). Adaptive leadership: a novel approach for family decision making. Journal of palliative medicine, 16(3), 326-329. Heifetz, R. A., Laurie, D. L. (2001). The work of leadership. Harvard Business Review, 79(11). Heifetz, R. A., Linsky, M. (2002). Leadership on the line: Staying alive through the dangers of leading (Vol. 465). Harvard Business Press. Heifetz, R. A., Grashow, A., Linsky, M. (2009). The practice of adaptive leadership: Tools and tactics for changing your organization and the world. Harvard Business Press. Heifetz, R. A., Linsky, M., Grashow, A. (2014). Adaptive Leadership: The Heifetz Collection (3 Items). Harvard Business Review Press. Yukl, G. and Mahsud, R., 2010. Why flexible and adaptive leadership is essential.Consulting Psychology Journal: Practice and Research,62(2), p.81.
Subscribe to:
Posts (Atom)