The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

    • RT @nrc: De AVG wist cookies eronder te krijgen, maar nu storten adverteerders zich op alternatieven die de privacy nog meer bedreigen. Hoe… 6 minutes ago
    • RT @gathara: #BREAKING Dutch police have brutally crushed protests demanding fundamental freedoms, which officials see as embarrassing for… 7 minutes ago
    • RT @Carend_2020: Opnieuw verzorgen we de Webinar: "Interculturele en existentiële zorg bij corona!" Speciaal voor artsen, verpleegkundigen… 9 minutes ago
    • @EinsteinBarbie @bpschut Die heeft me tijden geleden al een keer geblocked. Vast omdat ik iets van je ge-retweet heb (: 10 minutes ago
    • RT @danielverlaan: nieuws: De privégegevens van miljoenen Nederlanders in de coronasystemen van de GGD zijn niet veilig. Er vindt grootsch… 20 minutes ago
  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,232 other followers

Archive for December 24th, 2014

[NL] Hotspots van flitsers in 2013

Posted by jpluimers on 2014/12/24

Hotspots van flitsers in 2013.

Posted in LifeHacker, Power User, Uncategorized | Leave a Comment »

For the 6502, 65c02 and 65816 freaks out there: WDC have made their Programming the 65816 Including the 6502, 65C02 and 65802 available for free again

Posted by jpluimers on 2014/12/24


Shared publicly

For the 6502, 65c02 and 65816 freaks out there: WDC, who still produce the chips, have made their Programming the 65816 Including the 6502, 65C02 and 65802 available for free again (see link below). It’s the standard reference for the new version of these CPUs. Yes, this will be on the test. Ping +Alan Cox HT to BDD on


For the 6502, 65c02 and 65816 freaks out there: WDC, who still produce the….

Posted in 6502, 6502 Assembly, Assembly Language, Development, History | Leave a Comment »

.NET/C#: Chaning the ForeColor of a ReadOnly/Disabled TextBox (via: Stack Overflow)

Posted by jpluimers on 2014/12/24

Once every while you still do WinForms work, and bump into something you hadn’t bumped into before.

This time it was trying to set ForeColor = Color.Red on a ReadOnly TextBox for displaying error messages:

  • Using a TextBox means the user can still copy the text to the clipboard.
  • Using a Red foreground draws enough attention (it’s was an app with a really busy user interface).

When setting a TextBox from ReadOnly = false to true sets the BackColor from SystemColors.Window (usually white) to SystemColors.Control (usually light grey), and leaves the ForeColor to SystemColors.WindowText (usually black).

Setting ForeColor = Color.Red (funny there is a plural in SystemColors but not in Color) it doesn’t display it as such:

To my surprise, the TextBox had ReadOnly text (you could copy, but not modify it), which showed with a a grey (SystemColors.Control) BackColor and a black (SystemColors.WindowText) ForeColor: the defaults for a ReadOnly TextBox, not using my ForeColor = Color.Red;

I vaguely remembered there was some odd way of solving this, but since I hadn’t written a blog article about it back then (somewhere around .NET 1.x or 2.0 I didn’t have a blog yet), I was glad that Cheetah posted this answer on StackOverflow: Read the rest of this entry »

Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Development, Software Development, VB.NET, VB.NET 10.0, VB.NET 11.0, VB.NET 7.0, VB.NET 7.1, VB.NET 8.0, VB.NET 9.0, Visual Studio 11, Visual Studio 2002, Visual Studio 2003, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools, WinForms | Leave a Comment »

%d bloggers like this: