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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
The term I was looking for up there is scrollbar, not slider. Sorry about that...
John
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
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).
Ok, that makes some sense. Thanks,
John
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)
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