notta
09-21-2006, 10:33 PM
Guys, working on an autorun CD in the format of the Studio 8 installer, but not flash based. I have icons at the top for each of the 5 apps and depending upon what icon they choose the banner below the icon will change to the name of the application selected. Down at the bottom of the window I have a small banner that I have a label object that will read in a text file with the latest version. The text file basically reads "Current version: "Version number here""
Problem is that sometimes, not all the times, the last number in the line gets cut in half. I have to click on the icon again for it show up full. Here is what I have so far:
Image.SetVisible("Timbuktu Banner", true);
Image.SetVisible("Timbuktu Bottom Banner", true);
Image.SetVisible("Aventail Banner", false);
Image.SetVisible("Aventail Bottom Banner", false);
Image.SetVisible("Symantec Antivirus Banner", false);
Image.SetVisible("Symantec Bottom Banner", false);
Image.SetVisible("Lotus Notes Banner", false);
Image.SetVisible("Lotus Bottom Banner", false);
Label.SetVisible("Timbuktu Version", true);
Label.SetVisible("Aventail Version", false);
Label.SetVisible("Lotus Notes Version", false);
Label.SetVisible("Symantec Version", false);
result4 = TextFile.ReadToString("AutoPlay\\Docs\\timbuktuver.txt");
Label.SetText("Timbuktu Version", result4);
Label.SetSize("Timbuktu Version", 190, 150);
As you can see this one is the onclick for the Timbuktu icon at the top. The user will select to install Timbuktu. The banner for Timbuktu will become visible and all other banners will be set to not visible. Down bottom I set the Timbuktu Bottom Banner to true and all other bottom banners to false. Also the Timbuktu label that is overlaying the bottom banner it set to read in the version and display while hiding all other application labels.
I'm kind of rigging the label boxes because each label is a different size and I have to adjust the attribute for each label so it will be the correct font size inside the bottom banner. I researched the docs and the forum, but this is the only way I could come up? Any ideas why sometimes the last character is getting cut off?
Problem is that sometimes, not all the times, the last number in the line gets cut in half. I have to click on the icon again for it show up full. Here is what I have so far:
Image.SetVisible("Timbuktu Banner", true);
Image.SetVisible("Timbuktu Bottom Banner", true);
Image.SetVisible("Aventail Banner", false);
Image.SetVisible("Aventail Bottom Banner", false);
Image.SetVisible("Symantec Antivirus Banner", false);
Image.SetVisible("Symantec Bottom Banner", false);
Image.SetVisible("Lotus Notes Banner", false);
Image.SetVisible("Lotus Bottom Banner", false);
Label.SetVisible("Timbuktu Version", true);
Label.SetVisible("Aventail Version", false);
Label.SetVisible("Lotus Notes Version", false);
Label.SetVisible("Symantec Version", false);
result4 = TextFile.ReadToString("AutoPlay\\Docs\\timbuktuver.txt");
Label.SetText("Timbuktu Version", result4);
Label.SetSize("Timbuktu Version", 190, 150);
As you can see this one is the onclick for the Timbuktu icon at the top. The user will select to install Timbuktu. The banner for Timbuktu will become visible and all other banners will be set to not visible. Down bottom I set the Timbuktu Bottom Banner to true and all other bottom banners to false. Also the Timbuktu label that is overlaying the bottom banner it set to read in the version and display while hiding all other application labels.
I'm kind of rigging the label boxes because each label is a different size and I have to adjust the attribute for each label so it will be the correct font size inside the bottom banner. I researched the docs and the forum, but this is the only way I could come up? Any ideas why sometimes the last character is getting cut off?