placed .NET button on a panel and made it invisible (in Properties->Behaviour->Visible=false)
later want to make it visible during runtime based on some conditions. Used button.Visible=True.
But it did not work at all. Tried to change diffirent button properties and functions but without success.
Any ideas?
later want to make it visible during runtime based on some conditions. Used button.Visible=True.
But it did not work at all. Tried to change diffirent button properties and functions but without success.
Any ideas?
Setting Visible to false at design-time and later at run-time set it true works for 'normal' objects but it doesnt seem to work for .NET.
The workaround is of course to programatically set the .NET control to false at the beginning of your program, this works fine.