[futurebasic] Re: [FB] Working with IB and .nib's

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2008 : Group Archive : Group : All Groups

From: Bernie <fblist.bw@...>
Date: Tue, 15 Jan 2008 08:10:35 +0000
Max wrote:

> Even though all of the controls appear to be functional and working,  
> interface wise, I can not pick up any action in my DoDialog FN. Even  
> with ON DIALOG FN DoDialog.
>
> I think the inaction may have something to do with control ID's. I  
> have verified, for instance, the ID of a particular button as number  
> 1. I am caseing for that ID under button click exactly like in Bob's  
> SimpleCaculator yet pickup absolutely nothing. I am even using the  
> FN BuildUIFromNib just like Bob did. Thanks Bob.
>
> Is there something unique about controls created using IB, their  
> numbering, and picking up a 'Click' from that control and dealing  
> with it in FB.
>
> What am I possibly missing here? Any help would be greatly  
> appreciated.
>

Sounds like you have 'Standard Event Handler' and/or 'Compositing'  
checked in the window inspector. Button clicks and stuff never make it  
to FB's on dialog handler when a window has these attributes.

Bernie