Home > Net >  Dev SearchLookUpEdit control button set inside
Dev SearchLookUpEdit control button set inside

Time:10-02

I novice, the company projects just use dev controls, use SearchLookUpEdit, don't know why, SearchLookUpEdit inside a find button, I want to hide or manually set the size of it,,,, used the great god, please help solve, thank you

CodePudding user response:

Attached a picture, could you help me answer the

CodePudding user response:

Why no one came to see,,, sad ah!

CodePudding user response:

refer to the second floor liqiexingxing response:
why no one came to see,,, sad ah!

Saw, but not commonly used, it can go to its official website check with relevant data,

CodePudding user response:

Is screening control, get him to hide what is the point.
Can set the size of the pop-up box. Refer to the following statement
SearchEdit. Properties. PopupFormSize=new Size (300, 300);

CodePudding user response:

reference 4 floor jimk5200 response:
is screening control, get him to hide what is the point.
Can set the size of the pop-up box. Refer to the following statement
SearchEdit. Properties. PopupFormSize=new Size (300, 300);


Now the Properties have no effect, and searchEdit. PopupFormSize=new Size (300, 300); There is nothing wrong with this set syntax, is that there is no effect,,,

CodePudding user response:

reference duanzi_peng reply: 3/f
Quote: refer to the second floor liqiexingxing response:

Why no one came to see,,, sad ah!

Saw, but not commonly used, it can go to its official website check with related data,


Ah! Find a way to a stupid,,, hides

CodePudding user response:

reference 4 floor jimk5200 response:
is screening control, get him to hide what is the point.
Can set the size of the pop-up box. Refer to the following statement
SearchEdit. Properties. PopupFormSize=new Size (300, 300);

I did it

Private void repositoryItemSearchLookUpEdit4_Popup (object sender, EventArgs e)
{
IPopupControl control=sender as IPopupControl;
PopupBaseForm Form=control. PopupWindow as PopupBaseForm;
LayoutControlItem btFindLCI=GetFindControlLayoutItem (Form, "btFind");
BtFindLCI. Control. The Text="query";
BtFindLCI. Visibility=LayoutVisibility. Never;

LayoutControlItem btFindLCIq=GetFindControlLayoutItem (Form, "btClear");
BtFindLCIq. Control. The Text=lcClearText. Text;
}

Private LayoutControlItem GetFindControlLayoutItem (PopupBaseForm Form, string strName)
{
If (the Form!=null)
{
Foreach (Control FormC in Form. Controls)
{
If (FormC is SearchEditLookUpPopup)
{
SearchEditLookUpPopup SearchPopup=FormC as SearchEditLookUpPopup;
Foreach (Control SearchPopupC in SearchPopup. Controls)
{
If (SearchPopupC is LayoutControl)
{
LayoutControl FormLayout=SearchPopupC as LayoutControl;
The Control Button=FormLayout. GetControlByName (strName);
If (Button!=null)
{
Return FormLayout. GetItemByControl (Button);
}

}
}
}
}
}
return null;
}

CodePudding user response:

How to set the button to show to "find" "clear" in Chinese?
  •  Tags:  
  • C#
  • Related