Jump to content

Dynamic GUI Field Generation


Recommended Posts

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
Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

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