Delphi avond woensdag 13 mei om 20.00 uur

Programma:

Henk Schreij
Weergave van TField aanpassen
Als je een veld uit een database toont, wil je soms iets anders laten zien dan er is opgeslagen.
Bijv. man of vrouw terwijl er een 0 of 1 is opgeslagen. Of wil je een getal met 2 cijfers achter de komma tonen (bijvoorbeeld 1,50 i.p.v. 1,5).
De gebruikelijke oplossing is dan om Persistant Fields aan te maken, en daar OnGetText of DisplayFormat te gebruiken.

Dat het ook kan zonder Persistant Fields, wil Henk laten zien.

Opzetten bibliotheek
Het opzetten van een gezamenlijke bibliotheek met daarin meermalig te gebruiken procedures en
functies. Deze moeten dan van zoveel toegelichting moeten zijn voorzien dat deze voor een gebruiker gemakkelijk in te passen zijn in eigen programma’s.

Route beschrijving

Leave a Reply

Delphi Nieuwsbrief
Wilt u nieuws en wetenswaardigheden van de Delphi wereld ontvangen meld u aan als abonnee op onze nieuwsbrief. PS. Wij zullen nooit uw e-mail adres misbruiken, verkopen, etc.
Wij haten ook SPAM.
  • Random Thoughts on the Passing Scene #149
    If you are a registered user of Delphi 2010, you can now download a digital copy of Marco Cantu’s new book, Delphi 2010 Handbook. (From Marco’s Site: “The book covers all the new features of Delphi 2010 for Win32, from Extended RTTI to new IDE features, from ... […]
  • Profiling Apps 1 of N: The MVC ActionLink
      I’m starting a new series of blogs posts on profiling, where we’ll try and cover common bottlenecks and how to identify them in your applications. However, before delving deeper into the subject, let me make a small but important observation: Your bottleneck is probably not ... […]
  • How to break the D2010 compiler
    I really loved when Delphi 2009 came out, how it fixed so many ugly problems in the Delphi IDE.  The stability issues and memory leaks that plagued D2006 and D2007 were greatly reduced.  And it just got better in D2010. The tradeoff, though, seems to have been compiler stability.  Trying to do ... […]
  • Two more RAD Studio/Delphi/C++Builder/Delphi Prism webinars this month
    March has been a big month for development webinars on EDN.  We have two more webinars to go before we are finished:  March 18: RAD/AJAX-based Web Application Development using Delphi and RAD Studio 2010 with David I. March 24: Migrating legacy applications to Unicode-enabled using Delphi 2010 ... […]