Sign in to follow this  
Followers 0
cvocvo

Dynamic GUI Field Generation

3 posts in this topic

#1 ·  Posted (edited)

So I am trying to get a GUI that I created to dynamically generate. I made a base GUI with Koda and it works great. What I want to do is dynamically create the parts of the GUI window that are displayed based off of different variables.

Here is the Koda GUI that works:

Removed

Here's the snippet of code that I'm working with, an adapted version of the Koda version:

Removed

The problem I'm having with my adapted version is that only the drive E fields are showing. I'm thinking it has something to do with the way that it's setup with the If statements, but I can't pinpoint the issue. I tried commenting out everything but (example) drive C good or drive E bad, and those show. But I can't get them all to show as they are supposed to.

I also attached the bad.jpg and good.jpg files I am using for testing.

Does anyone have an idea how this might be accomplished? I don't think this should be as complicated as it seems -- maybe I'm just over-thinking it?

Thanks,

Edited by cvocvo

Share this post


Link to post
Share on other sites



I think they are just all stacked up on top of each other. You didn't adjust the control coordinates.

:mellow:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

*Palm to forehead*

Lapse logic there on my part; I forgot I copied the drive C one and pasted it on down the way so I wouldn't have to type so much, but I forgot to change the control locations back as well.

Thanks

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0