Open your project up (modi proje) and press CTRL+J to view the project information. On the project tab, is the Debug Info checked?
>I've seen weird stuff with VFP but this is spooky!
>
>button subclassed to _button subclassed to deletebutton
>
>
>* Deletebutton.click
>Try
> oRegret.Show(1)
>Catch
> oRegret = CREATEOBJECT('Regret',This)
> oRegret.Show(1)
> * Clicking ok or cancel on oRegret hides oRegret and returns the
> * deletebutton which has it's regret_it propery set to true or false
> * (default)
>EndTry
>
>* Form's stdtoolbar.deletebutton.click
>DoDefault()
>If Not This.Regret_It
> Select Reservations
> Delete
>Endif
>
>
>also on the form is a savebutton, which does not save the data if the above code is present, which is weird in itself since I know that the record is in fact deleted, and it all works when I outcomment the code in the default Deletebutton.click.
>
>So I'd like to debug, but the debugger runs right past the breakpoints on the savebutton.
>
>
>*Savebutton.Click
>Thisform.SaveData()
>Flush
>Thisform.SetActiveObjects
>
>
>TIA
>
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"