语言

Menu
Sites
Language
How to hide UI controls

Hi,

Is there any way we can hide the UI controls such as Button,EditArea,Label etc and hence control when they appear and disappear?

Thanks,

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

4 回复
youngsik yoon
use button->SetShowState(true or false) and then Show() or Invalidate() can be used.
Siddharth Singh
Thanks.........missed that. Actually was working through UI builder. Just for info......DO u know how to do it through UI Builder?
Jaewon Cho
Changing show state is not supported in UI Builder. You can change the show state like below if you create the button through UI Builder. result XXX::OnInitializing(void) { result r = E_SUCCESS; // Get a button via resource ID Tizen::Ui::Controls::Button *pButtonOk = static_cast(GetControl(IDC_BUTTON_OK)); if (pButtonOk != null) { pButtonOk->SetShowState(false); ... } ... return r; }
Siddharth Singh
ya.....actually i was thinking that all the properties that a particular UI control can support are listed in the UI Builder.......but thats not the case it seems.