Dialog: Hide a control by C++ code

jan jrheinlaender at gmx.de
Mon Jan 5 12:56:08 PST 2015


Hi,

it seems that in Basic I can hide a control in a dialog simply with 

oControl.Visible=false

But I am totally at a loss on how to do this from a C++ extension? 

Reference< XControl > c_1 =
xControlContainer->getControl(OU("txt_ActionParameter1"));
c_1->Visible = false; // doesn't exist
c_1>setVisible(false); // doesn't exist

I can't find this "Visible" property in the API documentation of XControl,
either!

Thanks for any hints!
Jan



--
View this message in context: http://nabble.documentfoundation.org/Dialog-Hide-a-control-by-C-code-tp4135197.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list