> one would have to know the size that it would have
> if it would be viewed all at once (in pixels)
This is not difficult to do. Use a label, pack it(call a pack function,
packHeight(),packWidth(),...), get the dimensions, then resize it to what
you want the frame/layer/window to be.
Todd.

----- Original Message -----
From: "Riswick, J.G.A. van" <[EMAIL PROTECTED]>
To: "'ToddNY '" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, October 02, 2002 4:35 AM
Subject: RE: [Dynapi-Help] replace standard scrollbar


>
>
> HI
>
> Yes, probably it is possible to use this. I looked at those
> examples. But to make the scrollbars faithfully represent
> a page's content that is larger than the viewed portion  of
> the page, one would have to know the size that it would have
> if it would be viewed all at once (in pixels) Also one needs
> to somehow retreive the dimensions of the frame in pixels, but
> I suppose that is no problem. Then just use the javascript
> function 'scrollTo' to scroll the page. The browser's scrollbars
> could be turned off in the frameset tag.
>
> jos
>
>
> -----Original Message-----
> From: ToddNY
>
> I think you can use the scrollbars from DynAPI see the scrollbar
> example,
> scrollpane and viewport examples. How would you hide the original
> scrollbars
> for the frame? You'd need to set the size of the page in the frame to be
> less than a scrollable area and use DynAPI's layer, scrollpane,
> viewport...
> unless there's another way?
>
>
> ----- Original Message -----
> > (This usually is the case). Does dynapi contain an (easy) way to
> replace
> > the browser scrollbar by a custom-designed scrollbar? Maybe a moveable
> > element in a narrow frame alongside the main frame could be used.
> >
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dynapi-help



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to