Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 1, 2009, 02:08 AM   #1
rupesh.swami
macrumors newbie
 
Join Date: Mar 2009
Change Location of Scrollview

hi all
i am new to iPhone
i want to change the location of scrollvew. what is the step behind the change the location of scrollview. i use following statement
scrollViewObject.frame.top=10; or scrollViewObject.frame.y=10;
but above statement give compile time error "CGRect has no member named top/y"
rupesh.swami is offline   0 Reply With Quote
Old Apr 1, 2009, 02:36 AM   #2
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
frame is a CGRect:
http://developer.apple.com/iphone/li...c/c_ref/CGRect
dejo is online now   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Change location of iPhone/iPod backups? Nihaochan OS X 20 Mar 20, 2014 05:34 AM
Change location of group of referenced files Mr9758 iPod 2 Dec 31, 2009 11:12 PM
Changing location of Virtual memory? SnickterP OS X 3 Feb 1, 2006 08:55 AM
Changing location of Weather Widget FieldsOfDreams Mac Basics and Help 2 Nov 3, 2005 04:46 PM
Change location of Safari's Library folder? eeeRIE Mac Basics and Help 3 Sep 7, 2005 09:59 PM


All times are GMT -5. The time now is 10:17 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC