FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#2
|
|||
|
|||
Hola Angel....
mira, prueba con esta estructura Código:
void __fastcall TForm1::Button1Click(TObject *Sender) { Graphics::TBitmap* B = new Graphics::TBitmap; try { TPrinterSetupDialog *PS = new TPrinterSetupDialog(NULL); try { PS->Execute(); } catch(...) { delete PS; throw; } delete PS; B->Width = Screen->Width; B->Height = Screen->Height; } catch(...) { delete B; throw; } delete B; } Última edición por Snaked fecha: 23-11-2016 a las 17:03:39. |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Try/except/finally | jsc | OOP | 14 | 13-09-2011 19:06:14 |
Capturar Errores con Try, Finally, End | GerTorresM | OOP | 1 | 23-04-2011 23:16:01 |
Try Except --finally-- | Caral | Varios | 13 | 02-10-2006 22:12:24 |
Errorsys, o gestión de errores | dec | Trucos | 0 | 01-07-2006 12:22:43 |
Gestión Errores en DBEXPRESS | asirvent | Conexión con bases de datos | 0 | 21-11-2003 12:39:48 |
|