Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calendar
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Calendar
Divers
Thread ID:
00381831
Message ID:
00381831
Vues:
47
with the follow commands, is it function at runtime, but not in exe file ! why?

#DEFINE C_CALCAPTION_LOC "Calendário INÍCIO"
oCalForm = Create('form')
*CREATE FORM oCalForm WINDOW FRMPESQUISA
oCalForm.NewObject("oleCalendar","_olecalendar","C:\SISAPP\_CLASSES\DATETIME.VAR\_datetime")

WITH oCalForm.oleCalendar
.date_column = "primeirodia"
.RefreshDisplay()
.BackColor = THISFORM.BackColor
.Visible = .T.
ENDWITH
WITH oCalForm
.BorderStyle = 2
.MaxButton = .F.
.MinButton = .F.
.Height = oCalForm.oleCalendar.Height
.Width = oCalForm.oleCalendar.Width
.Caption = C_CALCAPTION_LOC
*.WINDOWTYPE = 1
*.SHOWWINDOW = 1 ??? READONLY
*.AUTOCENTER = .T.
ENDWITH
oCalForm.Show(1)
THISFORM.Refresh
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform