>>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only