Jump to content

Anyone knows how to do this with REALbasic?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
gcarcass

gcarcass

    Newbie

  • Members
  • Pip
  • 5 posts
In REALbsic, is it possible to control the scrolling of the HTML viewer loaded page using "external controls"?

What I mean is... of course when a page is loaded into the HTML viewer, it has its own default scrolling bars, vertical and horizontal. Don't ask me why, but I need to control the scrolling using a set of 4 external buttons, what I mean by "external buttons" is just a set of 4 simple push buttons each one with the proper code which produces the scroll in the HTMLviewer.

Actually, is it possible at all, I looked for in many forums, there are similar questions, but there are no answers at all.

#2
LogicalVue

LogicalVue

    Newbie

  • Members
  • PipPip
  • 10 posts
I do not know of any way you can control scrolling of the REALbasic HTMLView control manually.

You might want to check out the HTMLViewer control included with the MonkeyBread Plugins. I haven't used these plugins myself, but they seem to have a lot of capabilities, including some HTMLViewer scrolling properties.
Paul Lefebvre

LogicalVue Software, Inc.: REALbasic software, consulting and training
Software Made Simple: A REALbasic Blog
RBDevZone: Free software and articles for REALbasic

#3
TkTech

TkTech

    The Crazy One

  • Moderators
  • 1,396 posts
Well, if I can dig it out, since the scroll bar is not control-rendered but simply a bound system-class, you can technicly control any scroll bar on the screen. Using the Declare statement and the win32.api or Carbon on mac, gtk or kde ( depending on the current window enviornment ) you can control it. I'll research this and come up with some sample code. I don't know why they didn't just add a scroll method like the canvas class ;(

#4
gcarcass

gcarcass

    Newbie

  • Members
  • Pip
  • 5 posts
I have the same question, Thanks I will be waiting for a sample code.