Page 1 of 1
GetTasks
Posted: Tue Jan 29, 2008 9:01 pm
by nageswaragunupudi
When I use GetTasks function, it is returning an empty array. Can any others confirm if the function is working correctly for them ? I am using FWH 8.01
Re: GetTasks
Posted: Tue Jan 29, 2008 9:48 pm
by Enrico Maria Giordano
I confirm the problem.
EMG
Posted: Wed Jan 30, 2008 9:38 am
by Antonio Linares
It looks as a recent change in Windows! (or we never considered that a main window or dialog has to be created before)
If you try this without creating a window, Windows is returning zero:
MsgInfo( GetActiveWindow() )
In order to have GetTasks() running fine, call it from a running window:
DEFINE BUTTON OF oBar ACTION MsgInfo( Len( GetTasks() ) )
Posted: Wed Jan 30, 2008 10:27 am
by Enrico Maria Giordano
You are right.
EMG
Posted: Wed Jan 30, 2008 10:36 am
by nageswaragunupudi
Yes. I think we never considered it necessary. Now better all users note this point. So that like me we don't get a surprise.