[futurebasic] Re: [FB] Cocoa Gems ( NSPopUpButton )

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2012 : Group Archive : Group : All Groups

From: Ted Spencer <tedspencer50@...>
Date: Fri, 7 Sep 2012 06:18:32 -0400
On 6 Sep, 2012, at 11:21 PM, Ken Shmidheiser wrote:

> Brian wrote:
> 
>> All works very well but Cocoa does all this in two lines of code:
> 
> 
> Or one:
> 
> [myPopUpMenu selectItemAtIndex:[myPopUpMenu indexOfItemWithTitle:name]];

Alain Pastor, the erstwhile Master Of The One Line Program was seen to quake visibly.

t