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.
  • Snap Mouse To The Default Button in a Dialog Box in Delphi Applications
    in Mouse Programming :: Unfortunately for your Delphi application users, the "move pointer to the default button in dialog boxes" feature is not handled by your Delphi application. The mouse pointer will not jump for Delphi dialog boxes like InputBox, MessageBox, ShowMessage or any custom made ... […]
  • Delphi 2011 and beyond: The Libraries Ahead
    windwings […]
  • What is GetEffectiveRightsFromAcl for? #2
    A long time ago I wrote an article about this strange WinAPI function called GetEffectiveRightsFromAcl. There was a problem that I showed how to solve (see my article and the comment in the MSDN doc). However, this function has never been a good way for retrieving the possible access mask. It seems ... […]
  • CrashPlan for Backup on Nexenta
    For some time, I've been using cron jobs with rdiff-backup on Cygwin for backups. The cron job runs on a Windows server I have on my home network and iteratively mounts remote Windows shares (if they're present) and runs rdiff-backup over them, with the destination also being local. Then the job ... […]