Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal form as main form
Message
From
14/11/2011 15:53:23
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
To
14/11/2011 14:49:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01528841
Message ID:
01528873
Views:
61
>>Nowadays I'm working with Axapta and see that; every form work as main form at desktop. Axapta creators decided it's more usable for end users. I think they right. I tried that at my application and faced with a problem with modal forms. Other forms can be select even form selected as "modal" when all form selected as "main form". Is there any way to fix it?
>
>Not directly that I know of. You could cycle through the _SCREEN.Forms() collection and disable each form to prevent others from being selected. Something like
>
>
>FOR lnForm=1 TO _SCREEN.FormCount
>    IF _SCREEN.Forms(lnForm).Name != thisform.Name
>        _SCREEN.Forms(lnForm).Enabled = .F.
>    ENDIF
>ENDFOR
>
It works good except OLE controls like treeview... It seem I have to control OLE controls manually... Thank you...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform