Showing results 1 to 7 of 7

Thread: Create Scrollbar

  1. #1
    Join Date
    10.12.2010
    Posts
    55

    Default Create Scrollbar

    Hello
    First of all, Im completely new to Zenon so sorry if I ask about something obvious (using version: 6.22).

    I'm trying to create a popup with a scrollbar in it. I have created template in the appropiate size, and created a picture with some controls.

    The problem is that I cannot find any control that will give me the scrollbar functionality. I have looked at the ListBox control, but I need to have multiple rows of input so it does not seem to be possible to use it.

    Cant I create a scrollbar area?

    Kind Regards
    Brian

  2. #2

    Default Re: Create Scrollbar

    Hello,

    which version of zenon do you use?
    What do you actually want to realise?

    Is it just text you would like to present or a normal zenon screen with vector elements and dynamic elements, or what else?

    Why it is not possible to define the frame the size that all needed elements fit in?

    Please take a look to the documentation about the zenon screen simply by pressing F1 from within the zenon Editor.
    Take also a look into the "world picture" which may fit for your needs.

  3. #3
    Join Date
    10.12.2010
    Posts
    55

    Default Re: Create Scrollbar

    Hello. Thank you for your response. Im using 6.22 SP1 Build 12
    I have 100 lines, each line contains 3 numerical inputs and 2 read only fields which must be displayed within a popup thats only 300pixel high. Because there is so many lines, they cannot fit and I would therefore like to be able to scroll in a small window...

    An alternative is to create pages and navigate with next/prev, but for the application it would be better with a scrollarea

    Hope it is a sufficient answer

  4. #4

    Default AW: Create Scrollbar

    Please take a look at the attached project.
    It uses the worldview-picture to emulate the scrollbar.
    Attached Files Attached Files

  5. #5
    Join Date
    10.12.2010
    Posts
    55

    Default Re: AW: Create Scrollbar

    Quote Originally Posted by stefan_m View Post
    Please take a look at the attached project.
    It uses the worldview-picture to emulate the scrollbar.
    Hi. Thank you very much, this is great Do you know if it is possible to disable he resizing of the worldview? And it would be great if it was possible to drag the entire box instead of only the middle.

    I can see this goes somewhat against the concept of worldview, but it would be great if it was possible

    Kind Regards
    Brian

  6. #6
    Join Date
    20.08.2009
    Posts
    293

    Default Re: AW: Create Scrollbar

    Quote Originally Posted by brc View Post
    Hi. Thank you very much, this is great Do you know if it is possible to disable he resizing of the worldview? And it would be great if it was possible to drag the entire box instead of only the middle.

    I can see this goes somewhat against the concept of worldview, but it would be great if it was possible

    Kind Regards
    Brian
    Disabling the resizing can be achived by increasing the size of the control element so that it is bigger than the template (cutting of the corner buttons).

    Click image for larger version

Name:	ED_RT.PNG
Views:	110
Size:	15.8 KB
ID:	510

    Regards,
    Bernhard
    Last edited by bernhardf : 20th December 2010 at 14:34

  7. #7
    Join Date
    10.12.2010
    Posts
    55

    Default Re: Create Scrollbar

    Ok thank you It works now

Similar Threads

  1. Create an Element
    By robertf in forum VBA
    Replies: 7
    Last Post: 11th June 2014, 07:44
  2. Replies: 17
    Last Post: 11th July 2013, 13:08
  3. Replies: 2
    Last Post: 12th April 2013, 14:40
  4. Remove double scrollbar in Zenon WebClient
    By kicker in forum Smart Server & Smart Client (former Webserver & Webclient)
    Replies: 1
    Last Post: 1st October 2009, 15:11
  5. How to create a new MACRO?
    By matholton in forum VBA
    Replies: 2
    Last Post: 24th September 2008, 12:14

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •