Tim

That sounds like a bug that 4D have introduced-have you reported it to them? 
There used to be a nasty killer if you put a trace in a form resize event 
-probably from a similar way of handling the call to how they are now handling 
the on column resize-it should only really actually be an on column resize when 
you mouse up. 

have you tried using the mouse state?

Get mouse($mousex;$mousey;$mousebutton)
if($Mousebutton=0), //mouse up-if mouse is down we are still resizing 
do stuff
end if



 I use an on column resize event on my forms and hope this is resolved before i 
start working with V16!

Nigel Greenlee


> On 8 Feb 2017, at 20:04, Tilman Haerdle <[email protected]> wrote:
> 
> With 4D v16.0 the event "On Column Resize" fires live during resize of 
> listbox columns.
> 
> This has severe effects on methods who do stuff after resizing a column. If 
> the method takes to long irt is invoked again while it is still running which 
> results sooner or later in a stack overflow and subsequently a crash.
> 
> I'd wish there was a "On After Column Resize" event for methods who take 
> place after the fact and not during the resize action.
> 
> Any strategies to cope with the current implementation in v16?
> 
> Cheers,
> Tilman Haerdle
> ----
> extragroup GmbH
> Pottkamp 19
> 48149 Münster
> Germany
> 
> Mobil: +49 178 721 5210 (Skype: TilmanHaerdle)
> Fax: +49 251 39089-10
> WWW: http://www.extragroup.de
> Email: [email protected]
> 
> Geschäftsführer: Lars Busch
> Registergericht: Amtsgericht Münster / HRB: 5624 Steuer Nr.: 337/5903/0421 - 
> UstID: DE 204607841
> 
> Vectorworks interiorcad - profacto
> 
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to