Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 2012/5.0 > BOOK: Beginning Object-Oriented Programming with C#
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 30th, 2013, 12:11 AM
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
  #2 (permalink)  
Old January 30th, 2013, 08:54 AM
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
  #3 (permalink)  
Old January 30th, 2013, 11:31 PM
Friend of Wrox
Points: 1,166, Level: 13
Points: 1,166, Level: 13 Points: 1,166, Level: 13 Points: 1,166, Level: 13
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2008
Location: Indianapolis, IN, USA.
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)
  #4 (permalink)  
Old February 1st, 2013, 10:15 AM
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you DrPurdum I'll look into it.
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running as part of c# program anthonym XSLT 6 December 12th, 2011 07: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



All times are GMT -4. The time now is 02:11 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.