﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » NumericUpDown and Read-Only</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 07:01:02 GMT</lastBuildDate><ttl>20</ttl><item><title>NumericUpDown and Read-Only</title><link>http://forum.strataframe.net/FindPost18240.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;If a NumericUpDown is set to read-only, then you can't type a value into the control but the arrow keys and spinner controls still allow values to be entered. I know the intercepting of the arrows keys can be turned off but I can't see a way of removing the spinner.&lt;/P&gt;&lt;P&gt;On a similiar note, is there a way to make a CheckBox read only?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Aaron</description><pubDate>Fri, 01 Aug 2008 09:25:37 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>RE: NumericUpDown and Read-Only</title><link>http://forum.strataframe.net/FindPost18258.aspx</link><description>One little trick on the NumericUpDown is to set the Increment to 0 when in "read-only" mode and it will prevent the value from being changed.&amp;nbsp; A checkbox, on the other hand, is a little more difficult.&amp;nbsp; You can either make it disabled (probably not desirable) or handle the CheckChanged event and set the value back.</description><pubDate>Fri, 01 Aug 2008 09:25:37 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>