Hi,
I've observed some unusual behaviour with dabo that doesn't seem right!
1/ I have a form with buttons acting as a 'Switchboard' menu. The buttons have
Regids such as button1, button2 etc. nb All these forms are in code rather than
cdxml files.
2/ All the buttons bar one currently simply call a routine (within the same
class) which displays a message box "Not Currently Implemented" (nb this is the
only place this code exists).
3/ One button does call another form (and makes the first form invisible) which
is a simple CRUD form which has navigation buttons. These also have Regids of
button1, button2 etc and call self.prior() etc etc.
4/ Both the first and second form have routines called 'onHit_button1' etc
5/ When I run the application and click on the button to load the second form
from the first all works OK the first form becomes invisible and the second
appears - if I then navigate between records on the second form the navigation
works correctly and then the message box 'Not Currently Implemented' gets
displayed ie the code on the first form for the first forms button 1 gets
executed after the code on the second form for its button 1.
6/ I have assumed that Regids just had to be unique per form and that code
invoked via a Regid would be the code within the current form (object) - is
this not correct?
7/ I have worked around it by giving all my buttons meaningful (and application
unique) Regids (and therefore can't give you the code sample now) - but I would
have thought that this was incorrect behaviour.
Perhaps I have a conceptual problem here - any thoughts?
Rodgy
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/68ba992fdc8947d59a2867baadf95...@roger