>Ooof! More than I bargained for <g>hehe, ya it is a bit of code. But it's a decent start on an item that is commonly wanted and not available in WPF yet. IF we get it spiffed up I'm willing to post the finnal code.
>I was intially intrigued by 'The Popup does not stay with the textbox if the window is moved' and wonder why that would be the case.
>I think I'm well behind you on the learning curve on this one and I'm also tied up for the next couple of days but I do want to play with it when I get time....
>Regards,
>Viv
I'm in no rush on this one.
The sample code for the popup used this rather crude method in the window code. (It makes the popups flicker when you move the window.)
void Window1_LocationChanged(object sender, EventArgs e)
{
if ((bool)showDesc.IsChecked)
{
TogglePopups(false);
TogglePopups(true);
}
}
But since I want to use this as a control, I need to find a different way. Plus in this case just closing the popup when the window moves would be fine.