BackColor Changes When Copying TextBox Control


Author
Message
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
When I am using read-only textboxes (MicroFour.StrataFrame.UI.Windows.Forms.Textbox), I like to set the BackColor property to the system option of "Info". The ForeColor property is also changed to "InfoText". This allows the boxes to be read quite easily in the read-only format.



If I have several textboxes to add to a form, I like to add one, make the changes that I would like to see, then copy the textbox to make more. If I do this in the current version (1.7.0.2), the textbox's BackColor reverts to "Control". All other modified properties do not change (ForeColor, TextAlign, ReadOnly, etc.).



Am I doing something wrong or is this the expected behavior of this control?



Thanks,

Bill
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search