Wrox Programmer Forums
|
BOOK: Beginning Object-Oriented Programming with C#
This is the forum to discuss the Wrox book Beginning Object-Oriented Programming with C# by Jack Purdum; ISBN: 978-1-1183-3692-2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Object-Oriented Programming with C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 30th, 2013, 01:11 AM
Registered User
 
Join Date: Jan 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Questions about running 1st program

Hi, I'm on the 2nd chapter 1st exercise. It took me a while to figure out what was going on, when I entered the text in the field and hit the button i saw nothing.
After looking into it further I realized that color of the box is dark and so is the font, therefore I wasn't able to see anything.

I want to change this and not sure where is the setting to make the change so my application has the MV studio colors and doesn't inherits the colors of the desktop settings. Any help is greatly appreciated.

This is what it looks like on my machine
Thanks,

Z
 
Old January 30th, 2013, 09:54 AM
Registered User
 
Join Date: Jan 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Workaround: I just changed my windows color scheme and now I'm able to view the title on the form when i click the button.
 
Old January 31st, 2013, 12:31 AM
Friend of Wrox
 
Join Date: Sep 2008
Posts: 234
Thanks: 0
Thanked 32 Times in 30 Posts
Default Changing object properties

You can always change the colors of a textbox using the Properties window. When the form is in the Source window, click on the textbox you want to change. You'll see some small "squares" on the edges of the textbox, which tells you Visual Studio has set the focus on that textbox.

Now look at the Properties window in the lower right corner of the screen. (If you don't see it, press the F4 key to call it up.) If you scroll the Properties window, you'll see properties for BackColor and ForeColor. If you click on the righthand column, a dropdown arrow appears. Click on that and you are presented with a list of three tabs (Custom, Web, System) with color choices you can select. The Web tab presents the widest selection. You should be able to select a color combination that you like.

As I mention in the book, Microsoft has spent more money than you and I'll make in a lifetime figuring out User Interface (UI) objects and colors. While it's fun to experiment and explore different colors and learn how to change other properties for user control objects from the Toolbox, my advice: stick with Microsoft's choices for your defaults.
__________________
Jack Purdum, Ph.D.
Author: Beginning C# 3.0: Introduction to Object Oriented Programming (and 14 other programming texts)
 
Old February 1st, 2013, 11:15 AM
Registered User
 
Join Date: Jan 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you DrPurdum I'll look into it.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Running as part of c# program anthonym XSLT 6 December 12th, 2011 08:36 AM
Running a program off the network? myurick Visual Basic 2008 Essentials 4 April 3rd, 2008 02:22 PM
Exception in running a program furqanms Java Basics 2 June 21st, 2006 10:39 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.