Hi! It' s me again! ;D
This time I need help with some boolean values.
In my project I have 12 Buttons. I want to set visible and enabled values in every table by using some INI values. So it might be like this (only one button here but it' s the same for all 12, changes only the table name and the ini section name):
and the INI file (ButtonSettings.ini) has this values:
Here is the problem because, even if 'enabled' value in the ini is set to "false" or the 'visible' value is set to "false", nothing happens. The button doesn' t become disabled or invisible.
Anyone know why? Is this a "bug" of AMS ?
This time I need help with some boolean values.
In my project I have 12 Buttons. I want to set visible and enabled values in every table by using some INI values. So it might be like this (only one button here but it' s the same for all 12, changes only the table name and the ini section name):
Code:
Enabled = INIFile.GetValue(_SourceFolder.."\\ButtonSettings.ini", "BUTTON1", "ENABLED"); Visible = INIFile.GetValue(_SourceFolder.."\\ButtonSettings.ini", "BUTTON1", "VISIBILE"); tblBtnProps = {}; tblBtnProps.Enabled = Accessibile; tblBtnProps.Visible = Visibile; Button.SetProperties("Button1", tblBtnProps);
Code:
[BUTTON1] ENABLED=False VISIBLE=true
Anyone know why? Is this a "bug" of AMS ?
Comment