Class ItemBoxFactory
Stellt eine Hilfs-Klasse dar, welche aus einer TextBox eine TextBox mit ItemBox-Funktion erstellt
Inheritance
System.Object
ItemBoxFactory
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.DBUI
Assembly: Simplic.Framework.DBUI.dll
Syntax
public class ItemBoxFactory
Constructors
| Improve this Doc View SourceItemBoxFactory(SyTextBox, String, String, String, String, Boolean)
Erstellt eine neue ItemBox-Factory
Declaration
public ItemBoxFactory(SyTextBox TextBox, string ItemBoxName, string ReturnColumn, string BackgroundReturnColumn, string ConnectionName = "Default", bool SelectFirstIfOnly = false)
Parameters
Type | Name | Description |
---|---|---|
SyTextBox | TextBox | Instanz einer Sy-TextBox |
System.String | ItemBoxName | Name der ItemBox |
System.String | ReturnColumn | Return-Column der ItemBox für den anzuzeigenden Wert |
System.String | BackgroundReturnColumn | Return-Column der ItemBox für den Hintergrundwert (ID) |
System.String | ConnectionName | Name des ConnectionString, Standard ist Default |
System.Boolean | SelectFirstIfOnly | Gibt an, ob der erste Datensatz ausgewählt werden soll, wenn die ItemBox nur einen zurück gibt |
Methods
| Improve this Doc View SourceCreate()
Schließt den Factory ab und erstellt die ItemBox und setzt alle Konfigurationen
Declaration
public void Create()
SetFillStatement(String)
Setzt das Lookup-Statement für die ItemBox
Declaration
public void SetFillStatement(string FillStatement)
Parameters
Type | Name | Description |
---|---|---|
System.String | FillStatement | Loogup-Statement |