- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a dialog box with a lot of boxes to fill in. I want to be able to populate the boxes (tiles) with the values saved from a previously run attempt.
The program currently creates a text file that stores the values, based on the drawing number.
The program currently can read the file based on the drawing number that was entered.
I have a button on the dialog box called "Load Previous" that runs a function that reads the text file and puts the values into the tiles. I might not be doing that correctly.
This is the text in the DCL file:
: button {
key = "loadPrevious";
label = "Load Previous";
action = "(LoadPreviousCAI)";
}
The function determines the attribute name and the attribute value from the text file, then it's supposed to put that value into the tile.
(if (= attributeName "BODY_X") (set_tile "bodyX" attributeValue))
I'd appreciate any help on this, thanks.
Solved! Go to Solution.