30.04.2013 Views

1. Visual Basic - Curso completo teoria y practica

1. Visual Basic - Curso completo teoria y practica

1. Visual Basic - Curso completo teoria y practica

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

End Sub<br />

TxtFecha = WeekdayName(MonthView<strong>1.</strong>DayOfWeek) & “ , ” _<br />

& Str(MonthView<strong>1.</strong>Day) & “ de ” _<br />

& MonthName(MonthView<strong>1.</strong>Month) & “ de ” _<br />

& Str(MonthView<strong>1.</strong>Year)<br />

Private Sub MonthView1_Click()<br />

End Sub<br />

Call MonthView1_DateClick(MonthView<strong>1.</strong>Value)<br />

Private Sub Form_Load()<br />

End Sub<br />

Call MonthView1_DateClick(MonthView<strong>1.</strong>Value)<br />

La función WeekdayName retorna una cadena con el nombre<br />

del día de la semana especificado. Requiere como argumento el<br />

número de día de la semana.<br />

La función MonthName retorna una cadena con el nombre del<br />

mes especificado. Requiere como argumento el número de mes.<br />

El evento DateClick tiene un parámetro DateClicked que<br />

especifica la fecha seleccionada. Puede utilizar este valor<br />

(DateClicked) para obtener la fecha en la que el usuario hizo<br />

click.<br />

CONTROL CALENDAR<br />

Pág. 149

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!