open 4 Windows at Start
hi,
i have read about 2 Windows but now i want to open 4 Windows, in different *.PRG, at Start
each Window have a ACTIVATE so i try
or
Code: Select all
ACTIVATE WINDOWS Form_1, Form_2, Form_3, Form_4
but as it is in different *.PRG it fail
---
now i use 4 x Timer
Code: Select all
DEFINE TIMER internal_timer_1 INTERVAL 200 ACTION CrePlaylist()
DEFINE TIMER internal_timer_2 INTERVAL 200 ACTION CreEditmark()
DEFINE TIMER internal_timer_3 INTERVAL 200 ACTION CreWMPinfo()
DEFINE TIMER internal_timer_4 INTERVAL 300 ACTION DoWMPOnce()
Code: Select all
STATIC PROCEDURE CrePlaylist()
DoMethod( "Form_1", "internal_timer_1", "RELEASE" )
CreaChild( Form_1.Col, Form_1.Row, Form_1.Width, Form_1.Height )
RETURN
Code: Select all
STATIC PROCEDURE CreEditmark()
DoMethod( "Form_1", "internal_timer_2", "RELEASE" )
EditMark( Form_1.Col, Form_1.Row, Form_1.Width, Form_1.Height )
RETURN
Code: Select all
STATIC PROCEDURE CreWMPinfo()
DoMethod( "Form_1", "internal_timer_3", "RELEASE" )
WMPinfo( Form_1.Col, Form_1.Row, Form_1.Width, Form_1.Height )
RETURN
Code: Select all
STATIC PROCEDURE DoWMPOnce()
DoMethod( "Form_1", "internal_timer_4", "RELEASE" )
...
this seems to work.
is there another Way to open 4 Windows at Start
