CPPopUpButton sometimes does not update display with currently selected item.

11 views
Skip to first unread message

Ryan Jafari

unread,
Nov 23, 2009, 9:47:38 PM11/23/09
to Cappuccino & Objective-J
Hi again,

I have something like the following:

var sizeSelector = [[CPPopUpButton alloc] initWithFrame:CGRectMake
(160,4,50,18) pullsDown:NO];
[sizeSelector addItemsWithTitles:["1","2","3","4","5","6","7"]];
[sizeSelector setAction:@selector(fontSize:)];
[sizeSelector setTarget:self];

What I notice is that sometimes when I select an item from the list,
it does not update in the CPPopUpButton's display. If I hover over it
(the CPPopUpButton) with my mouse however, it updates correctly. Any
idea why there is this "delay" in updating the display with the
currently selected item?

Any sort of feedback is always appreciated. Thank you!

- Ryan
Reply all
Reply to author
Forward
0 new messages