Mensaje    Asunto: Edit para enteros.... Responder citando

Código:
__fastcall TForm1::TForm1(TComponent* Owner)
     : TForm(Owner)
{
    LONG dwStyle = GetWindowLong(Edit1->Handle, GWL_STYLE);

    SetWindowLong(Edit1->Handle, GWL_STYLE, dwStyle | ES_NUMBER);
}


_________________
"Ser inteligente no es ser mas, solo equivocarse menos y no usar Visual Basic"
Atte.
Victor Yañez

Apoyen el Proyecto OpenSource del Club Builder. Ya tenemos componentes Listos!!!