i have a working Xbase++ Version and a HMG Version and now i want to make a FiveWin Version.
FiveWin have this Syntax
- Code: Select all Expand view
- DEFINE WINDOW oWnd
...
ACTIVATE WINDOW oWnd
now i like to have 8 x DIALOG ... but i like to create them in a Loop
- Code: Select all Expand view
- FUNCTION CreateForms()
Local i,iMax := 8
Local cForm
FOR i = 1 TO iMax
cForm := "Form_"+strzero(i, 2)
DEFINE DIALOG &cForm FROM nTop, nLeft TO nBottom, nRight
// add Object to Array
AADD(a_Forms, &cForm)
NEXT
RETURN NIL
Problem : i do NOT want to ACTIVATE WINDOW, just show it
i did this
- Code: Select all Expand view
- FOR i := 1 TO iMax
cForm := a_Forms[i]
ACTIVATE DIALOG &cForm
NEXT
but only 1 DIALOG appear until i close it and next appear
so how to get a Concept like this working under FiveWin
please help a FiveWin Newbie, thx