GetTasks
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
GetTasks
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
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
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() ) )
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() ) )
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact: