Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-13-2009, 04: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
 

» Advertisements
» Stats
Members: 158,724
Threads: 89,183
Posts: 380,502
Top Poster: BrianSlick (7,125)
Welcome to our newest member, blog08space
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:31 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.