Hide and show a OlkTextBox control in a formregion
how can I hide and show again a OlkTextBox control in a formregion (VSTO 2005 SE)? There is no function or property like "show", "hide", "visible"..
Thanks, Raul
how can I hide and show again a OlkTextBox control in a formregion (VSTO 2005 SE)? There is no function or property like "show", "hide", "visible"..
Thanks, Raul
Good find! There is no expected Visible property. I guess a workaround would be to set BorderStyle to olBorderStyleNone and ForeColor/BackColor to the window background color.
Got some additional info on this, and it's good news. According to Ryan Gregg on the Outlook team, "Visible is implemented on MSForms.IControl, which is implemented by all of the Olk* controls. You need to cast the control to that interface, or just use late-binding to set this property (along with width, height, top, left, etc)."
Many thanks. Raul