![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
#6
|
||||
|
||||
|
Cita:
A ver por parte, 1º escribres y si pulsas el tabulador le envias 9 espacios. void __fastcall TForm1::RichEdit1KeyUp(TObject *Sender, WORD &Key, TShiftState Shift) { if (Key == VK_TAB) { RichEdit1 ->SetSelTextBuf(" "); } } 2º que lea el texto escrito y que cambie los Tabs por que quieras SetSelTextBuf. for (int i = 0; i< strlen(RichEdit1 ->Text.c_str()); i++ ) { if (RichEdit1 ->Text.c_str()[i] == VK_TAB) ShowMessage("A"); } |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
|