BCasellaDB
Identità
Namespace:
B.BWindows.BControlsBase:
UserControlImplementa:
IBControl
Scopo
Campo chiave/descrizione collegato a una tabella o stored procedure. Consente di digitare una chiave, validarla sul database, mostrare la descrizione associata e scegliere tra più risultati.
Configurazione dati
Connection: connessione B-Arts.TipoComando: query testuale o stored procedure.NomeTabella/NomeStoredProcedure: origine.CampoKey: valore memorizzato.CampoDescreCampoDisplayDescr: descrizione mostrata.CampoFrom,Condizione,CampiOrdinati: composizione e filtro.TipoDatoKey: chiave testuale o numerica.RicercaConVuotoeFuocoSuRicerca: comportamento della ricerca.
Text espone la chiave corrente; LblText espone in sola lettura la descrizione visualizzata. Se la ricerca produce più record, il controllo presenta internamente un elenco di selezione.
Riferimento API completo
Identità
Namespace:
B.BWindows.BControlsAssembly:
BFrameworkControlsTipo:
classClasse base:
UserControlInterfacce:
IBControlSorgente API: versione
5.0.0
Dichiarazione
public sealed class BCasellaDB : UserControl, IBControl
Costruttori
BCasellaDB()
Campi pubblici
Nessun campo pubblico dichiarato.
Proprietà
| Proprietà | Tipo | Accesso |
|---|---|---|
AlignVerticalLabel |
mbeAllineamentoVerticale |
get/set |
AlignVerticalTextBox |
mbeAllineamentoVerticale |
get/set |
AttivaColoreSelezione |
bool |
get/set |
AutoAlignMB |
bool |
get/set |
AutoAllinea |
bool |
get/set |
BackColorLabel |
Color |
get/set |
BackColorLblInfo |
Color |
get/set |
BackColorSel |
Color |
get/set |
BackColorText |
Color |
get/set |
Bloccata |
bool |
get/set |
BorderStyleLabel |
BorderStyle |
get/set |
BorderStyleLblInfo |
BorderStyle |
get/set |
BorderStyleText |
BorderStyle |
get/set |
CampiOrdinati |
string |
get/set |
CampoDescr |
string |
get/set |
CampoDisplayDescr |
string |
get/set |
CampoFrom |
string |
get/set |
CampoKey |
string |
get/set |
Caption |
string |
get/set |
Condizione |
string |
get/set |
Connection |
BConnection |
get/set |
FontLabel |
Font |
get/set |
FontLabelInfo |
Font |
get/set |
FontSel |
Font |
get/set |
FontText |
Font |
get/set |
ForeColorLabel |
Color |
get/set |
ForeColorLblInfo |
Color |
get/set |
ForeColorSel |
Color |
get/set |
ForeColorText |
Color |
get/set |
Formato |
mbeFormato |
get/set |
FormatoKey |
string |
get/set |
FuocoSuRicerca |
bool |
get/set |
IndexAlign |
byte |
get/set |
Invio |
bool |
get/set |
LblText |
string |
get |
LblWidth |
double |
get |
Left |
double |
get/set |
MaxLength |
int |
get/set |
NomeStoredProcedure |
string |
get/set |
NomeTabella |
string |
get/set |
RicercaConVuoto |
bool |
get/set |
Spaziatura |
double |
get/set |
Text |
string |
get/set |
TextAlign |
HorizontalAlignment |
get/set |
TextLabelAlign |
ContentAlignment |
get/set |
TextWidth |
double |
get/set |
TipoComando |
CommandType |
get/set |
TipoDatoKey |
mbeTipoDatoKey |
get/set |
TipoNum |
mbeTipoNum |
get/set |
Eventi CLR
Click:ClickEventHandlerDoubleClick:DoubleClickEventHandlerEnter:EnterEventHandlerGotFocus:GotFocusEventHandlerKeyDown:KeyDownEventHandlerKeyPress:KeyPressEventHandlerKeyUp:KeyUpEventHandlerLeave:LeaveEventHandlerLostFocus:LostFocusEventHandlerMouseDown:MouseDownEventHandlerMouseUp:MouseUpEventHandlerTextChanged:TextChangedEventHandlerValidated:ValidatedEventHandlerValidating:ValidatingEventHandler
Metodi
void SelectAll()
Tipi annidati pubblici
Delegate ClickEventHandler
Firma:
void ClickEventHandler(object sender, EventArgs e)
Delegate DoubleClickEventHandler
Firma:
void DoubleClickEventHandler(object sender, EventArgs e)
Delegate EnterEventHandler
Firma:
void EnterEventHandler(object sender, EventArgs e)
Delegate GotFocusEventHandler
Firma:
void GotFocusEventHandler(object sender, EventArgs e)
Delegate KeyDownEventHandler
Firma:
void KeyDownEventHandler(object sender, KeyEventArgs e)
Delegate KeyPressEventHandler
Firma:
void KeyPressEventHandler(object sender, KeyPressEventArgs e)
Delegate KeyUpEventHandler
Firma:
void KeyUpEventHandler(object sender, KeyEventArgs e)
Delegate LeaveEventHandler
Firma:
void LeaveEventHandler(object sender, EventArgs e)
Delegate LostFocusEventHandler
Firma:
void LostFocusEventHandler(object sender, EventArgs e)
mbeAllineamentoVerticale
mbeInAlto=0mbeAlCentro=1mbeInBasso=2
mbeTipoDatoKey
TESTO=0NUMERICO=1
Delegate MouseDownEventHandler
Firma:
void MouseDownEventHandler(object sender, MouseEventArgs e)
Delegate MouseUpEventHandler
Firma:
void MouseUpEventHandler(object sender, MouseEventArgs e)
Delegate TextChangedEventHandler
Firma:
void TextChangedEventHandler(object sender, EventArgs e)
Delegate ValidatedEventHandler
Firma:
void ValidatedEventHandler(object sender, EventArgs e)
Delegate ValidatingEventHandler
Firma:
void ValidatingEventHandler(object sender, CancelEventArgs e)
