How to disable the table view when search bar is active

2009-08-20 Thread Ronnie B
Hi list. I have a table view with the search bar in it. Search bar is working fine. I would like to have the view disabled while entering text in the search field. I have tried this w/o any success: //delegate - (void)searchBarTextDidBeginEditing:(UISearchBar *)bar { self.tableView.scrol

Re: [iPhone] seeking advise on complex view design

2009-08-11 Thread Ronnie B
you describe. >> Regards, >> Sean >> >> On Tue, Aug 11, 2009 at 10:14 AM, Ronnie B wrote: >> >> Hi list. >>> >>> I need to create a rather complex view containing the following from top >>> to >>> bottom: >>> >&

[iPhone] seeking advise on complex view design

2009-08-11 Thread Ronnie B
Hi list. I need to create a rather complex view containing the following from top to bottom: A subview about 20p in height; Two rows of buttons three in each row (both taking a third of a space) A table view taking about a third of a space An add banner I am wondering how this is done. I need t

dynamic resizing of a window

2009-01-13 Thread Ronnie B
Hi All. I have a modal dialog that I want to resize dynamically in case if a validation on an input field fails and I display a validation text bellow the field. I would like to 'push' the rest of the dialog down, leaving the rest if the elements proportionally as they were. Anyone can suggest a

modal sheet with validation logic

2008-12-30 Thread Ronnie B
Hi All and Happy New Year , I am trying to do something not usual with the modal sheet. I have a field and a submit button on a sheet, and I want to implement some validation behavior. Two things I am trying to achieve are: 1. If the field's data fails my validation, I want to have the colored re

Re: submit textfield without pressing ener

2008-09-05 Thread Ronnie B
> Hope that helps, > Tim > > > > On 5 Sep 2008, at 19:12, Ronnie B wrote: > > Hi All. >> >> I have a login dialog with a text field for password and OK and Cancel >> buttons. But, unless I hit Enter key, the text field value does no

submit textfield without pressing ener

2008-09-05 Thread Ronnie B
Hi All. I have a login dialog with a text field for password and OK and Cancel buttons. But, unless I hit Enter key, the text field value does not get submitted. What can I do to have it working only with the OK buttons, Thanks, R. ___ Cocoa-dev mail

Re: Disabled NSButton

2008-09-04 Thread Ronnie B
Thanks Randall. It worked. On Thu, Sep 4, 2008 at 3:42 PM, Randall Meadows <[EMAIL PROTECTED]> wrote: > On Sep 4, 2008, at 1:33 PM, Ronnie B wrote: > > Hi All! >> >> I am implementing a login panel. I would like to have 'Ok' button >> disabled >

Disabled NSButton

2008-09-04 Thread Ronnie B
Hi All! I am implementing a login panel. I would like to have 'Ok' button disabled as long as the password field is empty. Any advise? R. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: converting from decimal to hexadecimal

2008-09-02 Thread Ronnie B
That was it. Thanks Gregory. On Tue, Sep 2, 2008 at 2:08 PM, Gregory Weston <[EMAIL PROTECTED]> wrote: > On Sep 2, 2008, at 2:04 PM, Ronnie B wrote: > > Ok. In my code I have this: >>NSString *str = [NSString stringWithFormat:@"%x", [NSNumber >&g

Re: converting from decimal to hexadecimal

2008-09-02 Thread Ronnie B
ue, Sep 2, 2008 at 1:53 PM, Gregory Weston <[EMAIL PROTECTED]> wrote: > Ronnie B wrote: > > Hello, >> >> Is there an easy way to convert a decimal number to hexadecimal. >> NSNumberFormatter does not have an api for that. Any advice. >> > > Depends o

converting from decimal to hexadecimal

2008-09-02 Thread Ronnie B
Hello, Is there an easy way to convert a decimal number to hexadecimal. NSNumberFormatter does not have an api for that. Any advice. Thanks, R. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comm

Re: A data display question

2008-07-21 Thread Ronnie B
Seems like I overlooked some properties in Inspector. Thanks for the hint. On Mon, Jul 21, 2008 at 5:13 PM, Randall Meadows <[EMAIL PROTECTED]> wrote: > On Jul 21, 2008, at 2:51 PM, Ronnie B wrote: > > What would be recommended to do in order to display a tabular data w/o it &g

A data display question

2008-07-21 Thread Ronnie B
What would be recommended to do in order to display a tabular data w/o it being editable or sortable. I would like to have something like the Table View. Thanks. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests o

Re: What is the best way?

2008-07-15 Thread Ronnie B
awakeFromNib was my first guess. Thanks for the pointers. On Mon, Jul 14, 2008 at 4:07 PM, Scott Ribe <[EMAIL PROTECTED]> wrote: > > Thats correct. The main window is not covered up. The second window is > not > > modal I agree. In the second window I just need to collect some > additional

Re: What is the best way?

2008-07-14 Thread Ronnie B
Thats correct. The main window is not covered up. The second window is not modal I agree. In the second window I just need to collect some additional info that will go the the second's window controller. There will be OK and Cancel buttons on that window to close it. The main window will not c

What is the best way?

2008-07-14 Thread Ronnie B
Hi. I am seeking an advise. I have an app that after loading a MainMenu.nib, it checks the defaults for some data and if data is not there, the app will request it via the other NIB (modal window). The Main window shall not be blocked. What would be a proper way of doing things like that? _

A modal window dialog instead of a sheet

2008-07-09 Thread Ronnie B
I am trying to implement a login UI for a small app. The idea is that after the MainWindow nib is loaded, in case if no credentials were entered, a modal window asking for name and password will show up. The app will be blocked unless the modal window is closed either with Submit or Cancel button