PC Review


Reply
Thread Tools Rate Thread

Switching Panels using Visible =true & Visible=false;

 
 
Kristof Taveirne
Guest
Posts: n/a
 
      28th Jun 2006
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.

 
Reply With Quote
 
 
 
 
Chris Oswald
Guest
Posts: n/a
 
      28th Jun 2006
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.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visible = True Vs Visble = False =?Utf-8?B?ZHNjMmJqbg==?= Microsoft Access VBA Modules 14 20th Nov 2007 09:42 PM
Visible = True and Visible = False =?Utf-8?B?ZHNjMmJqbg==?= Microsoft Access VBA Modules 2 19th Nov 2007 07:56 AM
Switching Panels using Visible =true & Visible=false; Kristof Taveirne Microsoft C# .NET 2 28th Jun 2006 02:47 PM
Visible = False / Visible = True Question david Microsoft Access Form Coding 0 14th Apr 2004 09:48 PM
Re: Visible = False / Visible = True Question Dirk Goldgar Microsoft Access Form Coding 0 14th Apr 2004 08:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:27 PM.