Recent

Author Topic: Win Ce crash on resize FloatSpinedit  (Read 5704 times)

Alekos

  • New member
  • *
  • Posts: 7
    • http://www.iqsoft.gr
Win Ce crash on resize FloatSpinedit
« on: September 02, 2011, 11:03:07 am »
I tried a sample project using on form and a Floatspinedit ancord left , right and top.
the program crashes and the log :

TApplication.HandleException TWinControl.WMMove loop detected: FloatSpinEdit1:TFloatSpinEdit BoundsRealized=l=22,t=10,r=194,b=29 NewBoundsRealized=l=181,t=10,r=353,b=29
  Stack trace:
  $001230DC
  $00122ECC
  $0001B6F4
  $0011FB88
  $0016B854
  $000F3310
  $00175B1C
  $9054D804
  $00022F4C
TApplication.HandleException TWinControl.WMSize loop detected, the widgetset does not like the LCL bounds or sends unneeded wmsize messages: FloatSpinEdit1:TFloatSpinEdit BoundsRealized=l=22,t=10,r=194,b=29 NewBoundsRealized=l=181,t=10,r=353,b=29
  Stack trace:
  $001236A8
  $0012339C
  $0001B6F4
  $0011FB88
  $0016B854
  $000F3310
  $00175B1C
  $9054D804
  $00022F4C

As i understand there is an error resizing the control to the form.
If the ancor on the right is set to false everything is ok....
Any suggestion???
I use lazarus 9.31and fpc 2.7.1

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: Win Ce crash on resize FloatSpinedit
« Reply #1 on: September 03, 2011, 05:35:30 pm »
Why do you want to do this? All Windows Mobile devices have a width of 240 pixels in not-dpi aware apps. Or are you using the desktop-like interface of Windows CE?

This is a bug, so you might want to report in the bug tracker, but the change that I will solve this is very low. You are welcome to debug the issue and send a patch, however.

 

TinyPortal © 2005-2018