Monday, December 30, 2019

Make The Enter Key Work Like Tab in Delphi Applications

We know that, generally, pressing the Tab key moves the input focus to next control and Shift-Tab to previous in the tab order of the form. When working with Windows applications, some users intuitively expect the Enter key to behave like a Tab key. There is a lot of third-party code for implementing better data entry processing in Delphi. Here are a few of the best methods out there (with some modifications). Examples below are written with the assumption that there is no default button on the form. When your form contains a button whose Default property is set to True, pressing Enter at runtime executes any code contained in the buttons OnClick event handler. Enter as Tab The next code causes Enter to behave like Tab, and ShiftEnter like ShiftTab: ~~~~~~~~~~~~~~~~~~~~~~~~~procedure TForm1.Edit1KeyPress (Sender: TObject; var Key: Char) ;begin  Ã‚   If Key #13 Then Begin  Ã‚  Ã‚   If HiWord(GetKeyState(VK_SHIFT)) 0 then  Ã‚  Ã‚  Ã‚   SelectNext(Sender as TWinControl,False,True)  Ã‚  Ã‚   else  Ã‚  Ã‚  Ã‚   SelectNext(Sender as TWinControl,True,True) ;  Ã‚  Ã‚  Ã‚   Key : #0  Ã‚   end;end;~~~~~~~~~~~~~~~~~~~~~~~~~ in DBGrid If you want to have similar Enter (ShiftEnter) processing in DBGrid: ~~~~~~~~~~~~~~~~~~~~~~~~~procedure TForm1.DBGrid1KeyPress (Sender: TObject; var Key: Char) ;begin  Ã‚   If Key #13 Then Begin  Ã‚  Ã‚   If HiWord(GetKeyState(VK_SHIFT)) 0 then begin  Ã‚  Ã‚  Ã‚   with (Sender as TDBGrid) do  Ã‚  Ã‚  Ã‚   if selectedindex 0 then  Ã‚  Ã‚  Ã‚  Ã‚   selectedindex : selectedindex - 1  Ã‚  Ã‚  Ã‚   else begin  Ã‚  Ã‚  Ã‚  Ã‚   DataSource.DataSet.Prior;  Ã‚  Ã‚  Ã‚  Ã‚   selectedindex : fieldcount - 1;  Ã‚  Ã‚  Ã‚   end;  Ã‚  Ã‚   end else begin  Ã‚  Ã‚  Ã‚   with (Sender as TDBGrid) do  Ã‚  Ã‚  Ã‚   if selectedindex (fieldcount - 1) then  Ã‚  Ã‚  Ã‚  Ã‚   selectedindex : selectedindex 1  Ã‚  Ã‚  Ã‚   else begin  Ã‚  Ã‚  Ã‚  Ã‚   DataSource.DataSet.Next;  Ã‚  Ã‚  Ã‚  Ã‚   selectedindex : 0;  Ã‚  Ã‚  Ã‚   end;  Ã‚   end;  Ã‚   Key : #0  Ã‚   end;end;~~~~~~~~~~~~~~~~~~~~~~~~~ More Info on Delphi Applications Keyboard Symphony  Get familiar with the OnKeyDown, OnKeyUp, and onKeyPress event procedures to respond to various key actions or handle and process ASCII characters along with other special purpose keys. What Does #13#10 Stand for, in Delphi Code?  If you are wondering what those characters stand for, heres the answer.

Sunday, December 22, 2019

The Impact Of Social Media On Business Essay - 965 Words

Introduction Today, many businesses are experiencing the effects of social media. Government, businesses, and communities interact through social media and use it to access their investors and potential customers. According to Donovan (2016), â€Å"Most types of businesses today make use of different tactics and techniques to make a significant exposure of their website to its target customers.† The goal is to use social media to maximize their potential in order to be one of the strongest participants in the business world. Problem Statement The purpose of this report is to show that even though some state that Social Media has fallen short of their expectations, it is actually good for business, given that it enhances the visibility of their brand and helps businesses stay connected to potential customers. Scope The Finders has identified that Social Media is good for business and will consider using the tools that have been stated in this report to communicate with target audiences. The Finders encourages using Social Media to advance the goals of The Finders and its mission where applicable. Analysis Social media is out there to help us every day. People can use it to research nearly everything, for example things like communication and even business marketing. There are many channels of social media. A few examples are Facebook, Twitter, LinkedIn, and YouTube, just to name a few of the popular ones. This study shows the performance of social media tactics according toShow MoreRelatedImpact Of Social Media On Business Essay1288 Words   |  6 Pagesin the direction of social media. Now, more than ever, consumers are wary of businesses and advertisements. As a result, the trust falls to a third party – a brand or person who is not affiliated with the company receiving the promotion. What does that mean for your business? Businesses are encouraged to become their consumers’ friends, chatting about a product or something related, in a manner that is non-threatening, and even enjoyable. The most effective way for a business, no matter the sizeRead MoreSocial Media And Its Impact On Business1641 Words   |  7 Pagesof and use social media they only think of it from a personal view. However, more and more companies have discovered that this electronic network can be used for business purposes as well. Social media can provide a platform for companies to share knowledge and opinions, and announce information to their audience of followers. It can also generate valuable data about how a company’s customers think, shop, vote, and spend their leisure time. Many companies have incorporated social media in their businessRead MoreThe Impact Of Social Media On Business Essay1644 Words   |  7 PagesThe relentless emergence of the diverse Social Media platforms has been impacting the way people and businesses interact and communicate with each other. The purpose of the paper is to highlight the dynamics by which businesses and particularly Business to Business (B2B) companies attract customers and promote their products and services to them using social media. With an increasing competitiveness in various fields and the innovative ways marketers use to bring new prospects, some businesses haveRead MoreImpact Of Social Media On Business2529 Words   |  11 Pagesknown as social media. Social media supports interpersonal communication and collabor ation through the use of internet-based platforms. Facebook, LinkedIn, Twitter, and Instagram are some of the well-known sites that are used by hundreds of millions of people. Although only 18 percent of managers believe that social media is important for their business today, more than 63 percent assert that they will be important for business within three years (Kiron et al. 2012). The economic impact of social mediaRead MoreSocial Media Impact on Business10631 Words   |  43 PagesContents: 1. Introduction 2 2. Social Media and Business 2 3. Types of Social Media and Their Importance for Companies 4 4. Social Media Functionality Blocks and Their Implications for Companies 7 5. Social Media and Information Half-life and Depth 10 6. LinkedIn Poll 12 7. Recruitment and Search for Talent 13 8. Advertising and Brands Enhancement 17 9. Customer Profiling and Customer Service and Realtionship Management 21 10. The Future of Social Media 25 11. Conslusion 28 12. References 29 1Read MoreImpact Of Social Media On Business1820 Words   |  8 PagesImpact of Social Media on Business: Effects of Social Networking Sites on Organisational / Academic Performance of London College of Business Management and Information Technology (LCBMIT) Index 1. Introduction 2. Background 3. Research Objectives and Methodology 4. Conclusion 5. References 6. Appendix A Introduction: The present study investigates the effect of use of Social Networking sites on organisational performance of LCBMIT. Blogs, tweets, moodle, and discussion boards, facebook updatesRead MoreSocial Media Impact on Business10637 Words   |  43 PagesContents: 1. Introduction 2 2. Social Media and Business 2 3. Types of Social Media and Their Importance for Companies 4 4. Social Media Functionality Blocks and Their Implications for Companies 7 5. Social Media and Information Half-life and Depth 10 6. LinkedIn Poll 12 7. Recruitment and Search for Talent 13 8. Advertising and Brands Enhancement 17 9. Customer Profiling and Customer Service and Realtionship Management 21 10. The Future of Social Media 25 11. Conslusion 28 12. ReferencesRead MoreImpact Of Social Media On Business Essay2383 Words   |  10 Pagestechnology expands, companies and business are gravitating more toward implicating the use of social media. The use of social media can be extremely beneficial to consumers and the business its self. Some of these benefits are the expansion of a business consumers, easier ways for employers to scout out potential employees. Social media also widens the sales market and improves customer satisfaction. Technology will continue to progress and so will the realms of social media. This study will answer theRead MoreImpact Of Social Media On Business Essay1461 Words   |  6 Pageshandbags, cosmetics, haute couture and perfumery among others. A lot of luxury shoppers are currently using the social media to discover new brands while recommending to their friends. It is, therefore, crucial to understanding the needs of the audience and what drives them as they use social media platforms. Social media analytics is a valuable tool in understanding the trends of social media and what a company can do to weigh its audience (Anstead and O#39;Loughlin, 2015, p. 204). The objectiveRead MoreThe Impact Of Social Media On Business1720 Words   |  7 Pageswith the creation and evolution of social media. Social media websites such as Facebook and Twitter allow for a greater interaction between businesses and their customers. There are many different ways that businesses use social media today to promote their brand. For example, some companies offer special promotions for their social media fans. The number one focus when using social media is communication between current and potential consumers and the business itself. This may be in the form of

Saturday, December 14, 2019

Role of the Gods in the Odyssey Free Essays

Religion has always been an important part of culture, in present times and even dating back to the times of the Trojan War and before. No matter what religion a person practices or believes in the role of the certain gods believed in has always been important. In three separate pieces we have read we have seen the importance of the gods, or God, play a key role in the development of the literature. We will write a custom essay sample on Role of the Gods in the Odyssey or any similar topic only for you Order Now In Homer’s epic poem The Odyssey, the gods are key in Odysseus’ return to Ithaca after twenty years. Whether it is helping Odysseus or delaying him, they play a major role in the development of the story. In Psalm 139, the scripture passage taken from the Bible, God is a very obvious factor. Even in the poem by William Owen â€Å"Dulce et Decorum Est† God again plays a major role once we dive deeper than the words are saying. The role of the gods, or singular God in Catholicism, plays a key role, sometimes unspoken, part. In The Odyssey we see in the first book three major gods that make an immediate impact on Odysseus’ journey home. Zeus, Athena, and Poseidon all are important in their own way in either helping Odysseus or trying to stop him. Zeus, king of the gods, is characterized as a mediator between Athena and Poseidon, the former helping Odysseus and the latter trying to stop him from reaching home. Athena does all she can to help out the mortal Odysseus, even appearing to him and his son Telemachus in disguise to point them in the right direction. Poseidon, however, hates Odysseus for blinding his son and tries his hardest on multiple occasions to kill Odysseus and his men. Zeus, for being king of the gods, does not have the most important religious role in this epic poem. He is mostly seen as a babysitter between Athena and Poseidon, allowing Athena to help Odysseus but at the same time punishing the people who help out Odysseus. At one point, after Poseidon voiced his anger, he turns a Phaeacian ship to stone right when it returns because they helped Odysseus return home. His only involvement with Odysseus seems to be when he is trying to please both Athena and Zeus. Athena is a very key character in this poem. She takes a liking to the human Odysseus because of the intelligence and cunning that he naturally has. She personally gets involve in the lives of Telemachus and Odysseus by coming hem in disguise and helping them throughout their separate journeys. The grey-eyed goddess, as she is referred to many times, is responsible for setting Telemachus on the path to find out more about his father, and gives him the courage to stand up to the suitors who have invaded his father’s house. The goddess is seen helping Odysseus in almost every book, most notably the last four where she gives him strength when fighting the suitors, helping Odysseus and Telemachus reach Laertes’ house peacefully, and even makes the suitor’s parents forget about their children’s deaths and restores peace to Ithaca. Athena makes the homecoming of Odysseus a happy one, helping him and his family time and time again so that they are reunited. Poseidon, god of the sea, holds a nasty grudge against Odysseus throughout the story. Odysseus, after the famous â€Å"Nobody† trick, foolishly tells the Cyclopes Polyphemus his name as he is sailing away after blinding him. Poseidon, who is Polyphemus’ father, is outraged that a mortal blinded his son, and take it upon himself to make sure Odysseus never gets back home. Poseidon causes storms to break Odysseus’ boats and kill his men, while wrecking havoc on Odysseus just about every chance he gets. He goes so far that he asks Zeus to sink the Phaeacians ship, a race of people who adore Poseidon. Poseidon holds a major grudge against Odysseus, however he cannot stop him from reaching home. In the Christian scripture passage Psalm 139; taken from the Bible, we see that God has many of the same characteristics on the gods in The Odyssey. It is described in the scripture passage that God has a perfect knowledge of all of us, which draws the comparison to the gods of Ancient Greece. God knows everything there is to know about us and what we are doing; he is all seeing and all powerful. Much like the gods of Ancient Greece sitting high above everyone on Mount Olympus, they see everything that is happening below them. Another powerful comparison is the unseen god factor. God always sees us, as humans though we never see him, much like when Odysseus and Telemachus see Athena; she is always disguised, never showing her true form. Zeus never appears, he sends his messages in forms of eagles, as signs to be interrupted by humans, much like God uses miracles to show his presence and existence. We are presented with two separate pieces of literature that have very similar comparisons in religion. Wilfred Owen’s famous poem â€Å"Dulce et Decorum Est† actually makes no mention of religion in it, but it is obvious to see that whatever god you pray to has no part in wars and stopping the death and violence. It brings us to ask ourselves the question of why would any god let these atrocities happen? British citizens not fighting in World War 1 thought that these men were dying heroic deaths, but Owen gives us an insight into how badly these men suffered when they went off to war. The gruesome deaths, the never ending violence and having to watch a comrade die are just a few of the horrible things that are seen in this poem. It leads us to belive that war is not worth it, in any sense, and that a sensible god would not allow it. Odysseus, after ten years of fighting the Trojans and seeing many of his close friends die, then had to suffer for an additional ten years. The men in World War 1 signed up for their own premature deaths, and there was no religious power to stop these cruel actions. All three of these pieces give us significant insight on our Common Core questions. However, it ties in most importantly to our understanding of what it means to be human. Most obvious in all three pieces we see the â€Å"human† aspects of our lives, the fact that we can die while gods or God cannot. We are not as powerful as gods or God, we cannot control our fate, and it is already written out for us by whomever we pray to in each respective religion. We must make the most of the time and life we are given because we do not have a long time on this planet. To be human means that we must be able to recognize our own abilities, our own strengthens and weaknesses, and know that there is a higher power controlling our fate. How to cite Role of the Gods in the Odyssey, Essay examples

Friday, December 6, 2019

A Summary of Night of the Scorpion free essay sample

The poets mother was stung by a scorpion on that night when it was pouring very heavily, thousands of villagers on hearing the news came in like swarms of flies trying to do their bit in saving the mother. They came with lanterns, candles and crowded round her chanting the name of God a thousand times, they first tried to search for the scorpion for they felt as much   as the scorpion moved the poison of the mother would spread but there was no trace of the scorpion, they wanted the scorpion to sit still,the scorpion had stung her mother on the toeand the villagers hoped that this sting would purify the mother of her earlier sins   and purify the mother of her desires and ambitions. though they were sad of her pain yet the thought that it was doing good to her body adn soul gave them peace. Although the poets father was sceptic he did all that was told to him by others in order to relieve his wife of the pain, this shows that human beings when they are helpless they do anything told to them to relieve others of their pain. The father even poured paraffin on the toe and lit a match to stop the poison from entering and the poet helplessly watched the flame. After twenty hours the poison was brought down, and all that the mother said wasthank god the scorpion stung me not my children suggesting the sacrifice that a mother would do for the sake of her children. In the poem  The Night of the Scorpion  the poet depicts the selfless love of a mother who is stung by a scorpion. She suffers a lot because of the pain but still she is happy that the scorpion did not bite her children. The poet goes back to the night when his mother is bitten by a scorpion. By hearing this incident the villagers came into the poet’s house like swarms of flies to console the family. They prayed to God countless times to immobilize the evil creature. The villagers with lights and lanterns started to search for the scorpion but in vain. They also spread a lot of superstitious observations. They observed that if the scorpion moves the poison in the blood of the mother. So they found it is necessary for the scorpion to stay still. Some villagers are of the opinion that the pain she suffers reduces the sufferings of her next life. Another philosophical interpretation the villagers give is that the pain she suffers may purify her desires and ambition. About the poet: nissim ezekim Nissim Ezekiel  (14 Dec 1924 – 9 Jan 2004) was an  Indian Jewish  poet,  playwright,  editor  and  art-critic. He was a foundational figure in postcolonial Indias literary history, specifically for  Indian  writing in  English. He was awarded the  Sahitya Akademi Award  in 1983 for his Poetry collection, Latter-Day Psalms, by the  Sahitya Akademi, Indias National Academy of Letters. Early Life Ezekiel was born on 16 December 1924 in  Mumbai  (Maharashtra). His father, Moses Ezekiel, was a professor of  botany  at  Wilson College, and his mother was principal of her own school. The Ezekiels belonged to  Mumbais  Marathi-speaking  Jewish community, known as the Bene Israel. He was maternal uncle to  Nandu Bhende. In 1947, Ezekiel earned a BA in Literature from  Wilson College, Mumbai,  University of Mumbai. In 1947-48, he taught  English literature  and published  literary  articles. After dabbling in radical politics for a while, he sailed to  England  in November 1948. He studied  philosophy  at  Birkbeck College, London. After three and a half years stay, Ezekiel worked his way home as a deck-scrubber aboard a ship carrying arms to Indochina. Career Ezekiels first book, The Bad Day, appeared in 1952. He published another volume of poems, The Deadly Man in 1960. After working as an advertising copywriter and general manager of a picture frame company (1954–59), he co-founded the literary monthly Jumpo, in 1961. He became art critic of The Names of India (1964–66) and edited Poetry India (1966–67). From 1961 to 1972, he headed the English department of Mithibai College, Bombay. The Exact Name, his fifth book of poetry was published in 1965. During this period he held short-term tenure as visiting professor at University of Leeds (1964) and University of Pondicherry (1967). In 1967, while in America, he experimented with LSD. In 1969, Writers Workshop, Kozhikode published his The Damn Plays. A year later, he presented an art series of ten programmes for Indian television. In 1976, he translated Jawarharlal Nehru poetry from Marathi, in collaboration with Vrinda Nabar , and co-edited a fiction and poetry anthology. His poem The Night Of The Scorpion is used as study material in Indian and Columbian schools. Ezekiel also penned poems in ‘Indian English’ like the one based on instruction boards in his favourite Irani cafe. His poems are used in NCERT and ICSE English textbooks. He got Padmashri award in 1988 and the Sahitya akademi award cultural award in 1983. Nissim Ezekiels daughters name was Sohini. Summary of poem: the frog the nightangle Once upon a time a frog croaked in Bingle Bog all the night beginning from dusk to dawn. All the creatures hated his loud and unpleasant voice but still they did not have any other option. The voice came out from the sumac tree where every night the frog sang till morning. He was so determined and also shameless that neither stones, prayers or sticks nor the insults or complaints could divert him from singing. One night, a nightingale started casting her melody in the moonlight to which both the frog and the other creatures were left dumbstruck. The whole bog remained, rapt and admired her voice and applauded her when she ended. The frog was obviously jealous of his rival and had finally decided to eliminate her. So, the next night when the nightingale was again preparing to sing, the frogs croak disturbed her. On being asked about himself by the nightingale he answered that he owned the sumac tree and he had been known for his splendid voice. Also he said that he had written a number of songs for the Bog Trumpet. The nightingale asked him whether he liked her song or not. The frog said that the song wasnt bad but too long and it lacked some force. The nightingale was greatly impressed that such a critic had discussed her song. She said that she was happy that the song was her own creation. To this the frog said that she needed a proper training to obtain a strong voice otherwise she would remain a beginner only. He also said that he would train her but would charge some fee. Now, the nightingale was flushed with confidence and was a huge sensation, attracting animals from miles away and the frog with a great accuracy charged all of them admission fee. The frog began her vocal training despite of the bad and rainy weather where even the nightingale had first refused to sing. But the frog forced her to sing for six hours continuously till she was shivering and her voice had become rough and unclear. But, somehow her neck got clear the next day and she was able to sing again collecting a breathless crowd including rich ladies kings queens etc. To all this, the frog had both sweet and bitter feelings. Sweet because he was earning lots of money and bitter because of jealously as his rival was earning name and fame. Everyday, the frog scolded her to practice even longer finding out her little mistakes like nervousness not laying more trills and frills etc. He reminded her that she still owed him sixty shillings and that s why the crowd should increase. But the condition of nightingale was getting worsened. Her tired and uninspired song could no longer attract the crowd. She could not resist this as she had become used to applause and thus had become miserable too. The heartless frog scolded her even then calling her a brainless bird. She trembled, puffed up, burst a vein and died. The frog said that he had tried to teach her but she was foolish, nervous and tensed and moreover much prone to influence. Then, once again the frogs fog horn started blearing unrivalled in the bog. The moral of the poem is that being inspired and influenced by someone much unknown and strange is indeed a foolish work. The nightingale could have very well judged that how could the frog with such a harsh voice be music maestro and she had to suffer for her misjudgment. Many people in the human society also try to take advantage of the innocence or ignorance of the people.