Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: mk sharma
  Where is mk sharma?
 mumbai
 India
 mk sharma
 To: tushar Kanvinde
  Where is tushar Kanvinde?
 Kolhapur, Maharastra
 India
 tushar Kanvinde
 Tags
Subject: RE: how to modify a report with Model form
Thread ID: 331386 Message ID: 331389 # Views: 35 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Reports and Printers
Date: Thursday, December 29, 2011 4:25:45 PM         
   


> > i am using as below :
> >
> > ** main.prg
> > _screen.visible=.F.
> > do form mainform
> > read events
> > 
> > 
> > **mainform.scx
> > mainform.windowtype = 1 - Modal
> > mainform.ShowWindow = 2 - as top level form
> > mainform.TitleBar = 0 - off
> > 
> > ** i have a command button on the form to modify the report 
> > 
> > **modifyreport.click
> > modify report myreportname
> > 
> > ** Nothing Happen when i click on above command button.
> > ** How to modify my report when _screen.visible=.F. and main form as top level form and window type Model ?
> > 
> > 

> >
> >
> > Warm Regards,
> > mk.
>
>
DEFINE WINDOW temp FROM 0,0 TO thisform.Height,thisform.Width IN WINDOW mainform
> ACTIVATE WINDOW temp
> MODIFY REPORT myreportname IN WINDOW temp
> 

>
> Regards
> Tushar

not working as my requirement
i have changed my code
** main.prg
set sysmenu to 
_screen.visible=.T.
do form mainform
read events


**mainform.scx
mainform.windowtype = 1 - Modal
mainform.ShowWindow = 0 - in screen
mainform.TitleBar = 0 - off

** i have a command button on the form to modify the report 

**modifyreport.click
modify report myreportname

** now this is working as expected but in screen, not as top level form.



Warm Regards,
mk.

ENTIRE THREAD

how to modify a report with Model form Posted by mk sharma @ 12/29/2011 3:48:06 PM
RE: how to modify a report with Model form Posted by tushar @ 12/29/2011 4:02:00 PM
RE: how to modify a report with Model form Posted by mk sharma @ 12/29/2011 4:25:45 PM
RE: how to modify a report with Model form Posted by tushar @ 12/29/2011 4:54:19 PM
RE: how to modify a report with Model form Posted by Yuri Rubinov @ 12/29/2011 5:00:47 PM