Menu

Horizontal and vertical sliders...

2020-09-07
2020-09-09
  • John Duchek

    John Duchek - 2020-09-07

    I am looking through the window9.chm in English and I am not seeing any provision for the "sliders" that allow you to scroll through a window larger than the screen. Am I missing something or are these not included in window9? I need a vertical slider (elevator or whatever they are called) for my current programming effort. Thanks,
    John

     
  • John Duchek

    John Duchek - 2020-09-07

    The term I was looking for up there is scrollbar, not slider. Sorry about that...
    John

     
  • John Duchek

    John Duchek - 2020-09-09

    After several days, I have located the scrollbars under gadget. I still cannot get any of the examples I have tried to run. In particular, Dim Shared As RECT rect gives the following error.
    getscrollgadgetrange.bas(4) error 14: Expected identifier, found 'RECT' in 'Dim Shared As RECT rect' It seems like a variable type should be there. That error seems to be at the center of several problems I have.
    Any help appreciated,
    John

     
  • stabud

    stabud - 2020-09-09

    Hi John!

    You are most likely running examples for the Windows platform , while working on Linux There are some examples in the library help that only work for one platform (this should be quoted before the example).

     
  • John Duchek

    John Duchek - 2020-09-09

    Ok, that makes some sense. Thanks,
    John

     
  • stabud

    stabud - 2020-09-09

    John!

    I'll show you an example of how examples are indicated in the help:

    http://users.freebasic-portal.de/freebasicru/window9lib/ScrollBarGadget.html

    See example 4, there it is indicated in the title (only for Windows)

     
  • John Duchek

    John Duchek - 2020-09-09

    Very interesting. I can see that in the Russian version that you sent. I am using a translation of the document that I found in freebasic forums. The title to example 4 reads Example 4 (without using the ScrollbarGadget function): whereas the Russian version Пример4 (только для windows) clearly mentions windows. Whoever translated the document did a great job, but I need to be aware that things like this can trip me up. Thanks,
    John

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.