Re: formset sucks by Hernán
Hernán
Wed Aug 06 15:11:18 CDT 2003
i'm really sorry
you are right
(i promesse
did not worked....)
i sure i was doing something wrong
thanks
--
atte,
Hernán Castelo
UTN - Buenos Aires
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . .
"John Spiegel" <jspiegel@c-comld.com> escribió en el mensaje
news:#ieimLFXDHA.2524@TK2MSFTNGP09.phx.gbl...
> Hi Hernán,
>
> I just added a property (testform) to a form then put the following code
in
> both a click method of a button on a form and in the form's init in VFP6
and
> both worked...
>
> thisform.testform = createobject("form")
> thisform.testform.visible = .t.
>
> Where were you trying to do this?
>
> "Hernán Castelo" <hcastelo@cedi.frba.utn.edu.ar> wrote in message
> news:eGzkLJFXDHA.1900@TK2MSFTNGP10.phx.gbl...
> > well,
> > i found a way...
> >
> > _screen.addproperty( "myForm")
> > _screen.myForm= createObject( "myControls.ReportServer")
> > _screen.myForm.show(1)
> >
> > --
> > atte,
> > Hernán Castelo
> > UTN - Buenos Aires
> > . . . . . . . . . . . . . . . . . . . . . . . .
.
> .
> > . . . .
> >
> > "Hernán Castelo" <hcastelo@cedi.frba.utn.edu.ar> escribió en el mensaje
> > news:uf#bMBFXDHA.1492@TK2MSFTNGP12.phx.gbl...
> > > i have a class based on form
> > > named "ReportServer"
> > > with some parameters for printing
> > >
> > > * i write in my form :
> > > thisform.repSvr= createObject( "ReportServer")
> > > * its all right, but
> > > I CAN'T SHOW thisform.repSvr
> > > because my form is not a " Form Set "
> > > * i don't want to
> > > convert each form of my project
> > > to a FormSet
> > > with just one Form
> > > * i want to do nothing
> > > just instancing the object and show it
> > >
> > > there is no problem with other base classes
> > > of course,
> > > but with the Form Base Class
> > >
> > > i don't want to DO FORM "ReportServer"
> > > i want to deal with the Form class like any class
> > > walking on the planet
> > > is it possible?
> > >
> > > please, any suggestion?
> > >
> > > ( VFP6 )
> > >
> > > --
> > > atte,
> > > Hernán Castelo
> > > UTN - Buenos Aires
> > > . . . . . . . . . . . . . . . . . . . . . . . .
> .
> > .
> > > . . . .
> > >
> > >
> > >
> >
> >
>
>