On Jan 31, 2009, at 2:49 PM, Roger Lovelock wrote:

> Thanks Ed, I'll check that out for future reference - what I have  
> done is
> set the position relative to the position of the form.

        Well, since that's the most common use case, that's the behavior when  
you set the Owner property.

> I just want to tidy up one aspect of the control (currently you have  
> to select something to get
> rid of the floating panel)

        I would just bind a key (escape is typical) to a method that hides  
the panel.

> and then I'll post my code for the info of anyone
> who wants to do similar. I'm also destroying and recreating the  
> control each
> time it is used - that way I don't have to refresh the data if any  
> records
> have been added or deleted.

        Another option is that you set the data that is to be displayed just  
before you show it.


-- Ed Leafe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to