Will do in the next day or so!
Rodgy
----- Original Message -----
From: "Paul McNett" <[email protected]>
To: "Dabo Users list" <[email protected]>
Sent: Tuesday, January 20, 2009 6:26 AM
Subject: Re: [dabo-users] Is this a bug?
> Roger Lovelock wrote:
>> 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?
>
> RegID's need to be unique per form, not per app. If you could give us a
> small
> runnable sample that shows this behavior, we could fix it. I haven't ever
> seen this
> problem, by the way.
>
> Paul
>
[excessive quoting removed by server]
_______________________________________________
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/72f94f50c8304e24a807f57886880...@roger