Xcode IB Window Problem
Hello,
im new to Xcode and have (i think) a simple question. I want to open a new window by pressing a simple push button. I know how to do that. My problem is, that i want to bind it to a condition. When i press a button, there should be a check: for example if textfield 1 = "test123" and textfield 2 = password, then open window x.
So im just missing the command for opening a window
This is for iOS but the idea should be similar for OS X:
.h
@interface myViewController : UIViewController <UITextFieldDelegate>
UITextField *aTextField;
-(void)buttonPressed;
@property (nonatomic, retain) UITextField *state;
.m
@implementation myViewController
@synthesize aTextField;
-(void)loadView
UIView *view = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"An Image.png"]];
self.view = view;
[view release];
self.view.frame = CGRectMake(114, 212, 540, 620);
aTextField = [[UITextField alloc] initWithFrame:CGRectMake(70, 230, 80, 22)];
[self.view addSubview:aTextField];
self.view.userInteractionEnabled = YES;
Similar Messages
-
computer will not boot up on usb cd rom to repair windows problem (corrupt file) what should i do
Which computer? Which Windows?
What are you trying to do?
-Jerry -
Dear Friends,
We are giving print from Citrix. BUt the print iis giving me following problem.
Please suggest on the same.
(6:14:29 PM) Number of processors: 2
(6:14:29 PM) Icon DLL loaded.
(6:14:29 PM)
(6:14:29 PM) Network Communication via SAP-NiLib
(6:14:29 PM) Hostname: THMUMGDCCTX02
(6:14:29 PM) IP Address: 16348016.2673954.2011564330.1225156
(6:14:29 PM)
(6:14:29 PM) SAPLPD Version 6.29 for Windows/NT (OPT) is listening
(6:14:29 PM) OS-Info: version = 5.2, build = 0/3790, text = Service Pack 2
(6:14:29 PM) Copyright © 1992-2001 SAP AG
(6:14:29 PM)
(6:14:39 PM)
(6:14:39 PM) Receive job for printer BKC_7thFlr_HPColor3800 on THMUMGDCPS01 (from BKCDT (Berkeley LPD protocol / RFC1179)
(6:14:39 PM) send_status called
(6:14:39 PM) send_status called
(6:14:39 PM) send_status called
(6:14:39 PM) send_status called
(6:14:40 PM) send_status called
(6:14:40 PM) Job 000001723200001.PRD for user ATINJ queued.
(6:14:40 PM) Start printing job 000001723200001.PRD on printer BKC_7THFLR_HPCOLOR3800 ON THMUMGDCPS01 (FROM BKCDT
(6:14:40 PM) Error: Cannot create Printer Context, text = Overlapped I/O operation is in progress.
(6:14:40 PM) Error: The printer BKC_7THFLR_HPCOLOR3800 ON THMUMGDCPS01 (FROM BKCDT is unknown to Windows Print Manager.
(6:14:40 PM) The following printers are currently defined:
(6:14:40 PM) Printer = BKC_7THFLR_HPCOLOR3800 ON THMUMGDCPS01 (FROM BKCDT1017) IN SESSION 11
(6:14:40 PM) Warning: Printer name contains spaces.
(6:14:40 PM) Please rename printer, before using it from R/3 or UNIX!
(6:14:40 PM) Printer = MICROSOFT XPS DOCUMENT WRITER (FROM BKCDT1017) IN SESSION 11
(6:14:40 PM) Warning: Printer name contains spaces.
(6:14:40 PM) Please rename printer, before using it from R/3 or UNIX!
(6:14:40 PM) Printer = MICROSOFT OFFICE DOCUMENT IMAGE WRITER
(6:14:40 PM) Warning: Printer name contains spaces.
(6:14:40 PM) Please rename printer, before using it from R/3 or UNIX!
(6:14:40 PM) Error: BG: saplpd_open_dc failed, msg = 808 SAPLPD:Windows Problem, siehe SAPLPD Protokoll
regards
JiggiHi,
You are getting the error because the printer name is greater than 40 characters.
The SAPLPD can only recognize printer names with 40 characters or less.
From the log, i believe you are using the printer BKC_7THFLR_HPCOLOR3800 ON THMUMGDCPS01 (FROM BKCDT1017) IN SESSION 11
but the SAPLPD is recognizing only till BKC_7thFlr_HPColor3800 on THMUMGDCPS01.
Try to change the printer name .. it will work -
(12:58:18 PM) Number of processors: 4
(12:58:18 PM) Icon DLL loaded.
(12:58:18 PM)
(12:58:18 PM) Network Communication via SAP-NiLib
(12:58:18 PM) Hostname: WLRERW092
(12:58:18 PM) IP Address: 33405096.2097184.8388736.1616984
(12:58:18 PM)
(12:58:18 PM) SAPLPD Version 6.28 for Windows/NT (OPT) is listening
(12:58:18 PM) OS-Info: version = 6.1, build = 0/7601, text = Service Pack 1
(12:58:18 PM) Copyright © 1992-2001 SAP AG
(12:58:18 PM)
(12:58:29 PM)
(12:58:29 PM) Receive job for printer \\192.168.207.56\ULR_ZM400_HFW05 (Berkeley LPD protocol / RFC1179)
(12:58:29 PM) send_status called
(12:58:29 PM) send_status called
(12:58:31 PM) send_status called
(12:58:31 PM) send_status called
(12:58:32 PM) send_status called
(12:58:33 PM) Job 000NJJ3Z.WBP for user LR70343 queued.
(12:58:33 PM) Job 000NJJ3Z.WBP (raw) started on printer \\192.168.207.56\ULR_ZM400_HFW05
(12:58:46 PM) Error: The printer \\192.168.207.56\ULR_ZM400_HFW05 is unknown to Windows Print Manager.
(12:58:46 PM) The following printers are currently defined:
(12:58:46 PM) Printer = SEND TO ONENOTE 2010
(12:58:46 PM) Warning: Printer name contains spaces.
(12:58:46 PM) Please rename printer, before using it from R/3 or UNIX!
(12:58:46 PM) Printer = PDF COMPLETE
(12:58:46 PM) Warning: Printer name contains spaces.
(12:58:46 PM) Please rename printer, before using it from R/3 or UNIX!
(12:58:46 PM) Printer = MICROSOFT XPS DOCUMENT WRITER
(12:58:46 PM) Warning: Printer name contains spaces.
(12:58:46 PM) Please rename printer, before using it from R/3 or UNIX!
(12:58:46 PM) Printer = HP EPRINT
(12:58:46 PM) Warning: Printer name contains spaces.
(12:58:46 PM) Please rename printer, before using it from R/3 or UNIX!
(12:58:46 PM) Printer = FAX
(12:58:46 PM) Printer = ADOBE PDF
(12:58:46 PM) Warning: Printer name contains spaces.
(12:58:46 PM) Please rename printer, before using it from R/3 or UNIX!
(12:58:46 PM) Printer = \\192.168.207.21\SHARP MX-4111N PCL6
(12:58:46 PM) Warning: Printer name contains spaces.
(12:58:47 PM) Please rename printer, before using it from R/3 or UNIX!
(12:58:47 PM) Printer = \\192.168.208.21\SHARP MX-4111N WELSPUN 2
(12:58:47 PM) Warning: Printer name contains spaces.
(12:58:47 PM) Please rename printer, before using it from R/3 or UNIX!
(12:58:47 PM) Printer = \\192.168.207.21\ULR_ZM400_HFW05
(12:58:47 PM) Printer = \\192.168.207.21\ULR_ZM400_HFW06
(12:58:47 PM) Cannot do OpenPrinter \\192.168.207.56\ULR_ZM400_HFW05. Text = The operation completed successfully.(12:58:47 PM) Error: BG: printfile failed, msg = 808 SAPLPD:Windows Problem, siehe SAPLPD Protokoll
please help
Regards
selvakumarApparently our Sandbox system didn't have a Spool server configured. That's why the error. It works perfectly in other systems.
The output device's Host Printer must be defined on the spool server for saplpd to recognize. Otherwise you see an error. -
Hopefully someone out there can help solve this one.
How do you get a child window to automatically resize within a parent
window?
On their own both the child window and the parent window behave as
expected but once we attempt to load the child window into the parent
window the child window is sized to some unknown but excessively large
size.
Can this be solved with some creative use of parent size relationships
or do we have to programmatically size the child window?
Any help/comments/suggestions would be greatly appreciated.
Sincerely,
Sean G. GermainGlen,
Thank you for the prompt reply.
We have already done what you suggested (My explanation was not very
clear ... sorry) to no avail.
Any more takers and/or ideas anyone?
Thanks,
Sean
-----Original Message-----
From: Glen A. Whitbeck [SMTP:[email protected]]
Sent: Monday, January 26, 1998 2:47 PM
To: GERMAIN Sean
Cc: 'Forte Users Group'
Subject: Re: Nested Window Problem
You may need to dynamically tell the child window what its parent is (such
as a named grid that exists on the parent window). Setting the child
window to size to its parent should work once the child window knows who
its parent is. You should be able to put your window into that grid at
specified row and column coordinates. To reset the parent and position a
widget in a grid, you do something like the following:
<Widget>.Parent = NIL;
<Widget>.Row = 1;
<Widget>.Column = 1;
<Widget>.Parent = <TargetGrid>;
I believe that you should be able to do the same thing for a window, too
(using "Self.Window" instead of "<Widget>").
Glen
GERMAIN Sean wrote:
Hopefully someone out there can help solve this one.
How do you get a child window to automatically resize within a parent
window?
On their own both the child window and the parent window behave as
expected but once we attempt to load the child window into the parent
window the child window is sized to some unknown but excessively large
size.
Can this be solved with some creative use of parent size relationships
or do we have to programmatically size the child window?
Any help/comments/suggestions would be greatly appreciated.
Sincerely,
Sean G. Germain<< File: vcard.vcf >> -
Is there a version of XCode for windows?
I am a big developer in android and windows apps. And looking to get involved in iOS app dev.
I dont own a Mac, so is there a vesrion of XCode for windows?
Or is a virtual machine my only option?This from the Lion EULA:
"2. Permitted License Uses and Restrictions.
A. Standard and Preinstalled Apple Software License. Subject to the terms and conditions of this
License, unless you obtained the Apple Software from the Mac App Store, on Apple-branded
physical media (e.g., on an Apple-branded USB memory stick) or under a volume license,
maintenance or other written agreement from Apple, you are granted a limited, non-exclusive license
to install, use and run one (1) copy of the Apple Software on a single Apple-branded computer at
any one time. For example, these standard single-copy license terms apply to you if you obtained the
Apple Software preinstalled on Apple-branded hardware."
The key words are in bold. -
Running Worldcraft with Wine (or OpenGL in child window problem)
Hi!, I'm trying to run Worldcraft (the Half life map editing tool) with wine (version 0.9.30), everything works fine except when I choose to display a 3D view on one of the viewports (3D views uses OpenGL to render the scene), when I do this, the whole window turns black, and flickers (showing some portion of the original window) when I hit the mouse button of move the window.
This seems to be the Opengl in child window problem that was supposedly fixed in wine 0.9.28, but, well.. it happens This happens also with Lightwave 8.0.
Can anyone try and see if this happens to you as well? or.. well. does anybody knows how to fix it?
thanks a lot!
silencerThanks Nephastos, but I'm trying to run Worldcraft, not Warcraft Worldcraft is a world editing tool for Half-Life.
I uploaded it to my server if anyone would like to try and see if it works for you (as it is an issue that should be solved by now, I think), you can download it from http://www.darkdesigns.com.ar/worldcraft3.exe
Thanks a lot
silencer -
Failure to search - query window problem
Hello again,
Have anyone of you came across a problem with SAP search mechanism in query window attached to document field? I've created a simple query of "Select acctcode,acctname from OACT where acctcode like '2%' and postable='Y' order by acctcode" and attached it to one of document fields (doesn't matter which one). When I run this query a usual window poped up with a search field on the top, but when I typed "2" in it, selection bar moved right into first 231 account ignoring any of the lesser numbers. There is more - when I changed query to search for '5%' like accounts, I gained the same result - accounts less than 530 were ignored even if I typed "50" or "51". BUT - when I changed query sort order to "desc", all account became "findable".
I got this problem in one database only which is SAP 8.8 PL10 version upgraded recently from 2007A one. I've checked with a newly created 8.8 and such problem hasn't occured.Hello Thomasz,
I might be off base here, what happens when you use this???
Do you get the same types of query window problem???
Select
acctcode,
acctname,
segment_0
from OACT
where Segment_0 like '2%'
order by acctcode
for browse
Regards,
Zal -
Will apple release Xcode for windows
I have recently tried to get the iOS SDK just to find that Xcode is only availible on the Mac App Store. I am running windows and I dont want to use some 3rd party compiler to develop. I also know that it is not possible to legally run OS X on a Windows PC either by dual booting or running a VM. Does anyone know is apple are planning on releasing a version of Xcode for windows or if i will have to buy a mac or use a 3rd party SDK.
If you're planning on submitting apps to the Mac App Store or the iTunes App Store, you'll need a Mac.
-
[iPhoto] Assertion failure/Modal window problem
I've been trying to order prints through iPhoto (6.0.6) but when I hit the "Order prints" button nothing happens. I get the following error in the Console log. It seems as though iPhoto is trying to spawn a new window (which makes sense) and can't.
I've reinstalled iPhoto, rebooted, etc. but keep getting same problem.
2007-10-08 22:07:27.616 iPhoto[589] * Assertion failure in -[ExtendedApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector :contextInfo:], AppKit.subproj/NSApplication.m:3057
2007-10-08 22:07:27.617 iPhoto[589] Modal session requires modal windowI found this discussion. I could not access the discussion link. Under the instructions, I didn't understand what "rm files and directories" means ... perhaps "remove"????
Help
"After a ran steps to fix the problem of Safari giving "localized string not found" messages, the "modal session requires modal window" problem went away.
Here is a link to the post.
http://discussions.info.apple.com/[email protected]
The instructions are to:
1. Download lastest version of Safari
2. rm files and directories in /System/Library/Frameworks/WebKit.frameworks
3. Install Safari again
4. Run permissions repair in Disk Utility" -
Hey guys, I'm a huge fan of Apple, and started to programm recently.
I was trying to get the XCODE so I can do some programms for Apple, but I only have a Windows PC (and an iPad Air), and it's not working on Windows ...
Can someone help me, tell me, how to run XCODE on Windows? or even if is it possible to programm on the iPad ..
ThanksYou're not talking to Apple here only other users and as I wrote there is no way.
If you want to code for OS X you will need to get a Mac.
regards -
On the xcode organizer window if there is no provisioning profile on the left under library, how would I import a provisioning account? I'm getting an error message saying valid signing identity not found when I try to run an xcode project on an ipad. Under the orgainzer window a few icons are missing. Another issue that sort of complicates things is that I can get into developer.apple.com->membercenter, but there is no icon for the provisioning portal to export the profile.
Welcome to the Apple Community.
I have had an iTunes account for a while, but never really taken the time to learn to use it. Now I have two computers, with two different versions of iTunes, with content on one that I want to transfer to the other. Or I'd like to directly access the older libarary from the new computer.
There are a number of ways you might achieve this. The following article(s) may help you.
Moving your iTunes library to a new computer
Alternatively you might just use home sharing to share the libraries.
Plus I have some videos and audio CD's that I have never imported, and would like to bring them into iTunes and store on an external hard drive to keep from loading up my computer. I have no idea how to accomplish all of this, and cannot find clear instructions on the website. Is there a screen where I can access written step-by-step instructions? I don't have the time or patience to play around and do it by trail and error. Thanks.
If you place a CD into the CD drive, iTunes will ask you if you want to import it.
If you want iTunes to store content on an external drive, you need to tell it to do so, which you do at iTunes preferences > Advanced. -
My playlist has dissapeared itune issue or windows problem?
My playlist has dissapeared from libraray itunes issue or windows problem?
Hi,
It's pointless to use that ammount of ram under Win9x/Me as it will be slower then if you use only 256MB witch is the optimal ammount for these OS'ses.
So you better take 256 out or move to Win2000/XP.... -
In Xcode in the main window where the code goes every time i press the space bar the page scrolls up to the top then back to the curser again really fast. If i hold my finger down on the space button then the page goes mad and i cant read anything. Please help. I am just now running Lion.
I have the same problem too and tried alot of things like time zone , restarting or changing DNS of wifi connection to 8.8.8.8 still nothing happens .. !!
iPhone 5s, iOS 8.3 -
Hello,
When I open Web Inspector using the menu Develop >> Show Web Inspector, the window open with a problem.
To display correctly, click the "dock to main window" in the status bar, then click again on the same icon to separate from Safari. I think it's a bug, but if exist a temporary solution...
Thanks!Same issue still in Safari 5.1.2
Web inspector opens blank weather or not it is docked to the window. The toggle docking button fixes the issue.
Clean install of MacOS X Lion 10.7.2 with only Xcode, MacVim, and Photoshop on it. I was hoping this issue would have been fixed by now. It's been broken ever since Safari 5. It's very irritating to continuously have to toggle the docking in order to view the web inspector. Any word on a fix?
Maybe you are looking for
-
HT1420 how do i move a purchased song from one apple account to another
how do i move a purchased song from one apple account to another
-
WRTG54S Connect to network but not internet
I have a WRTG54S and Mediacom 12mbps. My router worked fine on my old laptop (a Dell running Vista) It sat in a box for about 6 months and now that I have a new one (Sony running 7) I can connect to my network but not the internet. I have upgraded th
-
What Kinde of program should I use for mastering?
I had a litle problem with mastering my songs what I made with Logic Pro X is not enough laud. I need some help that what is a program to use mastering?
-
Ipad screen is dark, it lights up but dark
I knocked my ipad 2 off my bed this morning. It landed on its back, didn't harm screen. However, if you turn it on, the screen is black, but lights up. I can't get to anything else. How do I fix this, or who do I contact to have this fixed?
-
Video recording stops music playback
When I have music being played, if I open camera app - it still works, but as soon as I flip the camera into video mode - playback stops. Is there any way to fix it?