none
add scrollbars to the graphics window RRS feed

  • Question

  • Hello everyone, I apologize for my English, I'm using google translator
    In the subroutine that I am creating, I'm by displaying the values that I find in a text file by printing videl Shapes.addtext (....), in some cases I sometimes appearing more values and I can not print them all on the window graphics. I wanted to know if it was possible to add a scroll bar to view all the values provided in those particular cases.
    I hope I was clear

    Thanks a lot to everyone
    Friday, March 11, 2016 1:38 PM

Answers

  • Hello Carmenello

    The best option is to get LitDev extention of course.

    In case you wish to get an understanding of scroll bars, I made an example that could help you. The most important parts are in the "Variables" section, the "MouseDown" section and the "MouseMove" section. It might scare you in the beginning but! you will see that if you study the program carefully, it will be very easy for you to make your own program and actually even a better one.

    Import ID: SLP022

    (If you don't know how to import the program then click the following link: Open Online)


    • Edited by Athasak Friday, March 11, 2016 7:23 PM
    • Proposed as answer by litdevModerator Sunday, March 13, 2016 11:36 AM
    • Marked as answer by Carmenello Monday, March 14, 2016 2:22 PM
    Friday, March 11, 2016 7:12 PM

All replies

  • LitDev extension has LDScollbars obect, example LDScrollbars.sb included with extension download.


    Friday, March 11, 2016 7:09 PM
    Moderator
  • Hello Carmenello

    The best option is to get LitDev extention of course.

    In case you wish to get an understanding of scroll bars, I made an example that could help you. The most important parts are in the "Variables" section, the "MouseDown" section and the "MouseMove" section. It might scare you in the beginning but! you will see that if you study the program carefully, it will be very easy for you to make your own program and actually even a better one.

    Import ID: SLP022

    (If you don't know how to import the program then click the following link: Open Online)


    • Edited by Athasak Friday, March 11, 2016 7:23 PM
    • Proposed as answer by litdevModerator Sunday, March 13, 2016 11:36 AM
    • Marked as answer by Carmenello Monday, March 14, 2016 2:22 PM
    Friday, March 11, 2016 7:12 PM
  • thank you for the example
    Monday, March 14, 2016 2:23 PM