• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to change Tool modes programmatically for a Image View?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to change Tool modes programmatically for a Image View?


  • Subject: Re: How to change Tool modes programmatically for a Image View?
  • From: Karl von Moller <email@hidden>
  • Date: Sat, 24 May 2008 06:52:59 +1000

Many thanks for this. I read through the documentation and some how missed this. I knew there had to be a simple answer and this works perfectly!
Cheers


Karl


[myView setCurrentToolMode:IKToolModeSelect];

which can also be written as

myView.currentToolMode = IKToolModeSelect;
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >RE: How to change Tool modes programmatically for a Image View? (From: Karl von Moller <email@hidden>)
 >Re: How to change Tool modes programmatically for a Image View? (From: Randall Meadows <email@hidden>)

  • Prev by Date: Re: Pasteboard question
  • Next by Date: Re: File's Owner
  • Previous by thread: Re: How to change Tool modes programmatically for a Image View?
  • Next by thread: Pasteboard question
  • Index(es):
    • Date
    • Thread