Re: forms containers & scroll
- From: "lew" <lew@xxxxxxxxxxxxx>
- Date: Wed, 16 Nov 2005 12:27:31 -0500
and the scrollbar class would be based on what class?
"Bernhard Sander" <fuchs@xxxxxxxxxxxxxx> wrote in message
news:OEk0v9s6FHA.2192@xxxxxxxxxxxxxxxxxxxxxxx
> Hi lew
>
>> I have a form that does an addobject(Container...) at run time. The
>> container may grow in height depending on how many data entry controls
>> are added to the container (also at run time). This results in a
>> container height that is greater than the host form's height. I'd like to
>> use scrollbars and define a scrollable portion of the form, so the form's
>> command buttons will remain at the bottom of the form and the container
>> will be scrolled in the 'scrollable' portion. I suppose this has
>> something to do with setviewport(), but I can't get the hang of how to
>> make this work.
>> Help requested.
>
> The scrollbars property of a form only defines the scrollbars for the
> whole form, not for a portion of the form. To have only a portion of a
> form scrollable is quite a lot of work: define some scrollbar classes. Put
> a container on the form (this will become the scrollable portion). In this
> container put your scrollbar objects and another container. Your
> scrollbars will move this inner container as necessary. Into the inner
> container you put all of your data entry controls.
>
> With setviewport() you move the inner part of a scrollable form while the
> form is in a scrollable state.
>
> Regards
> Bernhard Sander
.
- Follow-Ups:
- Re: forms containers & scroll
- From: Bernhard Sander
- Re: forms containers & scroll
- References:
- forms containers & scroll
- From: lew
- Re: forms containers & scroll
- From: Bernhard Sander
- forms containers & scroll
- Prev by Date: Re: forms containers & scroll
- Next by Date: Re: Which field / expression has the maximum value?
- Previous by thread: Re: forms containers & scroll
- Next by thread: Re: forms containers & scroll
- Index(es):