From: Philippe Mermod on
Erik,

In ur undressed window, did you let the oFormFrame and oSurface
objects or could you remove too ?

TIA,

--
Phil Mermod
Crystal Reports Library for Visual Objects
http://www.pkl.ch/dev/


E�!k \/!sser wrote:

> > I made this but unfortunately it's impossible to place a
> > control on it or resize it :-(
>
> Now that is why you better use a datawindow!!!
>
> I use an undressed (removed all datarelated stuff)
> datawindow for some purposes, as I need the scrolling
> behaviour. Works great and is less work than getting a
> ChildAppWindow to work with controls. It is not designed for
> it!
>
> Erik
>
>
>
> "Philippe Mermod" <pmermod(a)REMOVEpkl.ch> schreef in bericht
> news:7tqv53F3n2U1(a)mid.individual.net...
> > Hi Erik,
> >
> > I made this but unfortunately it's impossible to place a
> > control on it or resize it :-(
> >
> > Any tips are welcome !
> >
> > -- Phil Mermod
> > Crystal Reports Library for Visual Objects
> > http://www.pkl.ch/dev/
> >
> >
> > E�!k \/!sser wrote:
> >
> > > opTabs=HyperLabel,DataWindow,Mouse Events,Window
> > > Events,Control Events,Menu Events,CommonControl
> > > Events,TreeView Events,ListView Events Assign18=Owner
> > > Alignment,OwnerAlignment(OWNERALIGNMENT)
From: Geoff Schaller on
Phil,

You're only giving us half the story. I can't see what the issue is. It
appears to be a scrollbar issue but you aren't quite labelling it as
such. You are seemingly adjusting the surface at runtime without
adjusting the container. This will always be difficult. So why not go
with a modeless dialog? Wouldn't the surface be easier to control?

Your only other option is to manage the scrollbars completely yourself
along the lines of say bBrowser. All the code you need has already been
written by Joachim and is in the source code. Applying it to a window is
no different. However if you want this runtime management then perhaps
you are better off with a splitwindow container with a single pane? Then
again you get automatic scrollbars.

Datawindow vs dialogwindow vs childappwindow... Unfortunately you are
wrestling with a design set somewhere back in 1994 and buried deep into
the class code. I've tried to untangle this in the past and given up. It
was just easier to manipulate the existing classes and ignoring the
oeverhead.

Geoff



"Philippe Mermod" <pmermod(a)REMOVEpkl.ch> wrote in message
news:7tr8uoFsv9U1(a)mid.individual.net:

> I answered to you :
> http://groups.google.com/group/comp.lang.clipper.visual-objects/m
> sg/023ae9535b1e693f
>
> The message was cut. Here is the end of the sentence : ...I add
> a hidden control at runtime with AddControl method to change the
> minimum size of the window : what a mess just to adjust the
> scrollbars.
>
> --
> Phil Mermod
> Crystal Reports Library for Visual Objects
> http://www.pkl.ch/dev/
>
>
> Geoff Schaller wrote:
>
>
> > Philippe is choosing to not listen.
> >
> > And nor has he answered the key questions I have asked: what
> > is the problem he has with using existing datawindow or dialog
> > window classes.
> >
> > "ER!k \/!sser" <nospam(a)nospam.com> wrote in message
> > news:7tr2cfFmm1U1(a)mid.individual.net:
> >
>
> > >> I made this but unfortunately it's impossible to place a
>
> > control >> on it or resize it :-(
>
> > >
> > >
> > > Now that is why you better use a datawindow!!!
> > >
> > > I use an undressed (removed all datarelated stuff)
> > > datawindow for some purposes, as I need the scrolling
> > > behaviour. Works great and is less work than getting a
> > > ChildAppWindow to work with controls. It is not designed for
> > > it!
> > >
> > > Erik

From: E®!k /!sser on
Philippe,

> In ur undressed window, did you let the oFormFrame and oSurface
> objects or could you remove too ?

They are left in, as they play a part in the scrolling where I need it for.

Erik

"Philippe Mermod" <pmermod(a)REMOVEpkl.ch> schreef in bericht
news:7tr922Fti2U1(a)mid.individual.net...
> Erik,
>

> TIA,
>
> --
> Phil Mermod
> Crystal Reports Library for Visual Objects
> http://www.pkl.ch/dev/
>
>
> E�!k \/!sser wrote:
>
>> > I made this but unfortunately it's impossible to place a
>> > control on it or resize it :-(
>>
>> Now that is why you better use a datawindow!!!
>>
>> I use an undressed (removed all datarelated stuff)
>> datawindow for some purposes, as I need the scrolling
>> behaviour. Works great and is less work than getting a
>> ChildAppWindow to work with controls. It is not designed for
>> it!
>>
>> Erik
>>
>>
>>
>> "Philippe Mermod" <pmermod(a)REMOVEpkl.ch> schreef in bericht
>> news:7tqv53F3n2U1(a)mid.individual.net...
>> > Hi Erik,
>> >
>> > I made this but unfortunately it's impossible to place a
>> > control on it or resize it :-(
>> >
>> > Any tips are welcome !
>> >
>> > -- Phil Mermod
>> > Crystal Reports Library for Visual Objects
>> > http://www.pkl.ch/dev/
>> >
>> >
>> > E�!k \/!sser wrote:
>> >
>> > > opTabs=HyperLabel,DataWindow,Mouse Events,Window
>> > > Events,Control Events,Menu Events,CommonControl
>> > > Events,TreeView Events,ListView Events Assign18=Owner
>> > > Alignment,OwnerAlignment(OWNERALIGNMENT)

From: Philippe Mermod on
Thanks for the confirmation...

--
Phil Mermod
Crystal Reports Library for Visual Objects
http://www.pkl.ch/dev/


E�!k \/!sser wrote:

> Philippe,
>
> > In ur undressed window, did you let the oFormFrame and
> > oSurface objects or could you remove too ?
>
> They are left in, as they play a part in the scrolling where I
> need it for.
>
> Erik
>
> "Philippe Mermod" <pmermod(a)REMOVEpkl.ch> schreef in bericht
> news:7tr922Fti2U1(a)mid.individual.net...
> > Erik,
> >
>
> > TIA,
> >
> > -- Phil Mermod
> > Crystal Reports Library for Visual Objects
> > http://www.pkl.ch/dev/
> >
> >
> > E�!k \/!sser wrote:
> >
> >>> I made this but unfortunately it's impossible to place a
> >>> control on it or resize it :-(
> > >
> > > Now that is why you better use a datawindow!!!
> > >
> > > I use an undressed (removed all datarelated stuff)
> > > datawindow for some purposes, as I need the scrolling
> > > behaviour. Works great and is less work than getting a
> > > ChildAppWindow to work with controls. It is not designed
> > > for it!
> > >
> > > Erik
> > >
> > >
> > >
> >>"Philippe Mermod" <pmermod(a)REMOVEpkl.ch> schreef in bericht
> > > news:7tqv53F3n2U1(a)mid.individual.net...
> >>> Hi Erik,
> > > >
> >>> I made this but unfortunately it's impossible to place a
> >>> control on it or resize it :-(
> > > >
> >>> Any tips are welcome !
> > > >
> >>> -- Phil Mermod
> >>> Crystal Reports Library for Visual Objects
> >>> http://www.pkl.ch/dev/
> > > >
> > > >
> >>> E�!k \/!sser wrote:
> > > >
> >>> > opTabs=HyperLabel,DataWindow,Mouse Events,Window
> >>> > Events,Control Events,Menu Events,CommonControl
> >>> > Events,TreeView Events,ListView Events Assign18=Owner
> >>> > Alignment,OwnerAlignment(OWNERALIGNMENT)