Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-13-2009, 03:30 PM   #5 (permalink)
mrbelk
Registered Member
 
Join Date: Feb 2009
Posts: 34
Default

Quote:
Originally Posted by PhoneyDeveloper View Post
A tag of zero is the default tag for any view that doesn't have a tag set. You need to use other values than zero.

The control state is a little confusing. You almost never want to or the enums together, at least not unless you really understand what that means.
Thanks. In the windows world, you can usually "OR" enums together that are meant to be different parts of the same behavior (enums decorated with the "Flags" attribute, like messagebox properties). I thought I had seen somewhere where the bitwise or was used w.r.t. control states. I just set the text for the Normal state, since I don't really need any different behavior for the highlighted or selected states.

Thanks again,
-MrB
mrbelk is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 23,855
Threads: 38,628
Posts: 169,579
Top Poster: smasher (2,547)
Welcome to our newest member, laurelbigler58
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:05 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.