Dave Crozier wrote:
I have a set of forms that sometimes I want to be modal (when the form passing
parameters to and from other forms) and other times I want to be modeless.
Anyone got a solution without duplicating the for in Modal and modeless copies?
I've tried the Form.Show(1) or form.show(2) in the init() of the form but it
totally screws up the ReadEvents of VFP and crashes the system
Just tried creating a modal form and in the init
PARAMETERS cMode
IF cMode = 'MODELESS'
thisform.WindowType = 0
ENDIF
That seems to work ok. Could you use that?
Peter
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.