Mostrar Mensajes

Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.


Mensajes - ElmerCamacho

Páginas: [1]
1
Visual Basic 6 / Re:Centrar con Printer.Print "Hola Mundo"
« en: Mayo 30, 2013, 08:55:27 pm »
TE DEJO UN EJEMPLO CON PRINTER  alineado a la derecha:::


Printer.CurrentX = 10000 + (1000 - Printer.TextWidth(Me.txtSubTotal))
Printer.CurrentY = 10700
Printer.Print Me.txtSubTotal



Printer.CurrentX = 10000 + (1000 - Printer.TextWidth(Me.txtIGV))
Printer.CurrentY = 11100
Printer.Print Me.txtIGV


Printer.CurrentX = 10000 + (1000 - Printer.TextWidth(Me.txtTotal))
Printer.CurrentY = 11500
Printer.Print Me.txtTotal

'---------------------------------

Elmer Camacho.

Páginas: [1]