Recent

Author Topic: lazarus Wince Problem in Pagecontrol, Dateedit  (Read 10007 times)

abrito

  • Jr. Member
  • **
  • Posts: 69
lazarus Wince Problem in Pagecontrol, Dateedit
« on: October 25, 2010, 10:35:28 am »
If I drop a Pagecontrol add Tabsheet and put a TdateEdit,
When I test the application on PDA the button of the TDatedit disappears, but if I click on the place it opens the pop up after two errors.

1º Error:  TApplication.HandleException TWinControl.WMSize loop detected: 
               Calendar:TCalendar    BoundsRealized=l=1,t=1,r=163,b=154 
               NewBoundsRealized=l=1,t=1,r=156,b=151

2º Error: TApplication.HandleException TWinControl.WMSize loop detected:
              CalendarPopupForm:TCalendarPopupForm BoundsRealized=l=7,t=128,r=171,b=283
              NewBoundsRealized=l=7,t=102,r=171,b=257

Any solution to this

Thanks.

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: lazarus Wince Problem in Pagecontrol, Dateedit
« Reply #1 on: October 26, 2010, 06:51:17 am »
Does it also happen when not inside the TPageControl? Could you open a bug report and attach the most simple project which reproduces the issue?

abrito

  • Jr. Member
  • **
  • Posts: 69
Re: lazarus Wince Problem in Pagecontrol, Dateedit
« Reply #2 on: October 26, 2010, 08:25:34 am »
Filipe the problem is based on Tgraphiccontrol there is too much bug for this I see later in the bugtracker
this is one http://bugs.freepascal.org/view.php?id=13457

For the handleException I il post in bugtracker. a new item.

thanks

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: lazarus Wince Problem in Pagecontrol, Dateedit
« Reply #3 on: October 26, 2010, 10:36:32 am »
The native groupbox and TPageControl from WinCE are problematic, simply put. They are plagued by bugs in Microsoft's code and there is little I can do about this. But some people still want to use them because they need their integrated skinning from Windows and those people can use work-arounds, like putting a TPanel inside the each page.

For other people which prefer a reliable control and don't care about skinning, I am investing in building custom-drawn versions of those controls that people will be able to use. It will be TCDGroupBox and TCDPageControl

abrito

  • Jr. Member
  • **
  • Posts: 69
Re: lazarus Wince Problem in Pagecontrol, Dateedit
« Reply #4 on: October 26, 2010, 06:30:06 pm »
I don't care about skin, I just want them to work.

thanks

yours components, where can I find them?

thanks

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: lazarus Wince Problem in Pagecontrol, Dateedit
« Reply #5 on: October 26, 2010, 06:31:52 pm »
They are still being built. Maybe in 1 month. I'll write here when they are ready.

abrito

  • Jr. Member
  • **
  • Posts: 69
Re: lazarus Wince Problem in Pagecontrol, Dateedit
« Reply #6 on: October 26, 2010, 06:33:48 pm »
ok I will wait for your post.

 

TinyPortal © 2005-2018