Jump to content

Recommended Posts

Posted

Posted Image

Scrollable Control Like the above pic is it possible, I have a gui Where controls are generated based on number of data collected , the above gui was generated using KODA

thanks

Posted

I haven't worked much with scrollbars in GUIs, but from my knowledge I'm going to say this is possible. Anything you can make with the KODA dealio, you can make in code (and I'm going to recommend you move away from KODA as soon as possible, because there's a lot more you can do by actually doing the code yourself, and you'll understand this stuff a lot more). What you're going to have, after determining how many controls there are, is a loop that will run through, making controls for each of the number of datas collected. I'd say something like a For...Next loop that will variable set the top coordinates of each control. It's hard to explain all of this without using code, but you should hopefully catch what I'm saying.

Glad to hopefully help,

minikori

For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

Posted (edited)

  On 6/14/2011 at 8:02 PM, 'Minikori said:

I haven't worked much with scrollbars in GUIs, but from my knowledge I'm going to say this is possible. Anything you can make with the KODA dealio, you can make in code (and I'm going to recommend you move away from KODA as soon as possible, because there's a lot more you can do by actually doing the code yourself, and you'll understand this stuff a lot more). What you're going to have, after determining how many controls there are, is a loop that will run through, making controls for each of the number of datas collected. I'd say something like a For...Next loop that will variable set the top coordinates of each control. It's hard to explain all of this without using code, but you should hopefully catch what I'm saying.

Glad to hopefully help,

minikori

yes i will be using loop to generate the controls but my question is how to make them scrollable , my only purpose of using koda there is to show what i really want the gui to look like

thanks

Edited by neutronstar
  • Moderators
Posted

neutronstar,

Welcome to the AutoIt forum. :huh2:

Take a look at the Scrollbars UDF in my sig. It has an example which shows how to get the scrollbars to match the number of controls you want to put in the GUI - which is what I understand you to would like to do. ;)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted (edited)

  On 6/14/2011 at 8:08 PM, 'Melba23 said:

neutronstar,

Welcome to the AutoIt forum. :huh2:

Take a look at the Scrollbars UDF in my sig. It has an example which shows how to get the scrollbars to match the number of controls you want to put in the GUI - which is what I understand you to would like to do. ;)

M23

:alien: Thanks For the Greetings and Another Thanks For The UDF ,i made a search on the forum before posting this but couldn't find anything useful i guess my search phrase wasn't strong enough . Thanks Again For Fast Reply . You saved my day

Edited by neutronstar
  • Moderators
Posted

neutronstar,

Glad I could help. Please ask again if you have any trouble integrating the UDF into your script. :huh2:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...