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.
  • Delphi Whopping 2011 Growth: 54%
    Embarcadero has announced some great growth numbers of Delphi and C++Builder in 2011: 54% growth over 2010 in worldwide sales. Considering the 15% growth of previous years, it means the Delphi sales have double since Embarcadero took over the "CodeGear" business unit from Borland. I have to say that ... […]
  • Disabling the VCL Styles in the non client area of a Form
    Today I receive a question about how disable the vcl styles in the non client area of a vcl form. Well that can be done using a Style hook. Tipically a VCL form with a vcl style look like this To remove the vcl style in the non client are we need create a style hook which descend of the ... […]
  • TMS Software releases TMS TableView for FireMonkey
    Bruno Firens posted on Delphi Developer: "Our 2nd product for the FireMonkey framework has been released today: TMS TableView for FireMonkey. Fully cross-platform (Win32,Win64,Mac OSX,iOS) and fully customizable via styles!"  TMS TableView supports Delphi XE2 and C++Builder XE2. A few of the ... […]
  • Detecting Device Movement
    For my next quest I decided to find out how accelerometer works in web applications. IOW, I wanted to control an object on my HTML page just by moving my iPad around. I limited my quest to iOS because that’s my favorite toy. don’t know yet how to do it in Android – this StackOverflow post ... […]