to "fill" Imagelist i want to use a Thread to call a Method of CLASS
- Code: Select all Expand view
- AADD(::aThread, hb_threadStart( HB_THREAD_INHERIT_PUBLIC, @::ImageThread() ))
or
- Code: Select all Expand view
- LOCAL oSelf := SELF
AADD(::aThread, hb_threadStart( HB_THREAD_INHERIT_PUBLIC, @oSelf:ImageThread() ))
but that Syntax does not work
so i change to
- Code: Select all Expand view
- LOCAL oSelf := SELF
AADD(::aThread, hb_threadStart( HB_THREAD_INHERIT_PUBLIC, @TransFunc(), oSelf ))
FUNCTION TransFunc(oSelf)
fwlog "TransFunc Start"+TIME(), oSelf
oSelf:ImageThread()
oSelf:RefreshAll()
fwlog "TransFunc Stop"+TIME()
RETURN .T.
but i do not get Log-file
seems as Thread was not start .... hm
what i´m doing wrong