Kristof,
I just did the exact same thing with two empty panels (instead of a
custom panel and a panel with a datagrid) in PPC. It works just fine.
I would suspect it's your custom drawn panel, but without seeing your
code who knows. I don't think it's a bug in the framework.
Chris
Kristof Taveirne wrote:
> Hi,
>
> I'm developing an application on PDA using WindowsCE.
> In my application I have several tabs at the bottom of my screen.
> However, in one of the tabs I've placed 2 radiobutton, used to switch
> between between 2 panels on that same tab. (I don't use nested tabs,
> because I noticed they always show at the bottom, which is unlogic in
> my application).
>
> The first Panel is a custom Panel in where I override the paint method
> to paint a curve.
> The second Panel is dat datagrid which shows a detailed list of the
> points shown in the curve on the first Panel.
>
> The 2 radiobutton are there to switch between those different views.
>
> to switch i use the following code.
>
> curvePanel.Visible = false;
> dataPanel.Visible = true;
>
> or the other way around.
>
> Problem is that when the dataPanel.Visible is set to true, the
> application hangs big time.
>
> Is there somebody who knows why this happens, and what I can do about
> it?
> I've been trying to fix this for over 3 days now, no luck yet.
>
> Greetins,
> Kristof.
|