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. I just want to tidy
up one aspect of the control (currently you have to select something to get
rid of the floating 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.
Rodgy
----- Original Message -----
From: "Ed Leafe" <[email protected]>
To: "Dabo Users list" <[email protected]>
Sent: Sunday, February 01, 2009 12:23 AM
Subject: Re: [dabo-users] Fw: List Controls
> On Jan 30, 2009, at 10:31 PM, Roger Lovelock wrote:
>
>> Please ignore the previous email (below) - I copied my code from
>> when the
>> dListBox was on my main form - of course the new location for this
>> control
>> is relative to the floating panel - therefore Top and Left values of
>> zero
>> fixed my 'visibility problem. Now I am working on the position of the
>> floating panel.
>
> Just set the Owner property of the FloatingPanel to the control that
> triggers it, and the panel will automatically position itself below
> that control. You can set the Above property to change that to
> position above the Owner. If you don't set any owner, it centers on
> the form.
>
>
> -- Ed Leafe
>
>
>
>
[excessive quoting removed by server]
_______________________________________________
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/b277bf7aafe94ec29ed21b0732458...@roger