Metalistas2
02-19-2011, 11:29 AM
here is var
Juosta: TStatusBar;
Here is button code
if StatusBar1.SimpleText = ''
then MenuItem31.Enabled := False
else Editor.Lines.SaveToFile(Juosta.SimpleText);
Whats wrong ... ?
I making editor ... And i wanna disable button if Statusbar1 SimpleText is empty ...
Juosta: TStatusBar;
Here is button code
if StatusBar1.SimpleText = ''
then MenuItem31.Enabled := False
else Editor.Lines.SaveToFile(Juosta.SimpleText);
Whats wrong ... ?
I making editor ... And i wanna disable button if Statusbar1 SimpleText is empty ...