Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid event not fire
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00138190
Message ID:
00139203
Vues:
29
>>I have a text box on a pageframe. (VFP5)
>>After editing the textbox, I click out of the text box (but within the same page) And the valid event doesn't get fired.
>>
>>Anyone knows why this happens ? and how to fix it ?

>If this happens only when you click on page, put this in page init:

>this.addobject('oUnderline','line')
>with this.oUnderline
>.zorder(1)
>.borderstyle = 0
>.top = 0
>.left = 0
>.height = this.parent.pageheight
>.width = this.parent.pagewidth
>.visible = .T.
>endwith

copied this from last week and it works great. have an additional question that may seem strange. i am a new vfp programmer and do not know how to do many simple things nor do i know the terminology. My questions is, you defined a class based on a line "on the fly". if i wanted to code something for ounderline.click, how would i do that. what is the syntax for adding method code to an object defined in code?

still struggling - brenda
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform