O.P. Making a control visible
I'm sure it's easy but I just can't figure out how to programmatically set the .visible property of a control...
I've tried (assuming it's a StaticControl control called "LblTop"):
var ControlHandle = null;
ControlHandle = Wnd.GetControlHandle("LblTop");
ControlHandle.Visible = false;
or
Wnd.LblTop.Visible = true;
or
Wnd.LblTop.Visible(true);
or
Wnd.Control("LblTop").Visible = true;
But none work,
Thx
This post was edited on 09-10-2006 at 03:38 AM by johnnygoodface.
|