Problem with d-notes-display.z99

vdennis

Member
Added the following in several different sections:
on mouse-select-click of b-PushDate in frame TD-Dialog do:

Message
"Well, this part is working OK"
view-as alert-box.
&message "Inside the Choose Of Button inside local-initialize".


message
notes.primarykey skip
notes.notestype skip
notes.pageno
view-as alert-box.


end. /*End of on Choose */

but when the button is selected nothing happens. This 'form' of code works in other .z99's so we don't know were to start looking.
Thanks,
-Dennis-
 

breakdown

New Member
Have you tried using CHOOSE instead of MOUSE-SELECT-CLICK? Other than that, make sure the frame name is correct. Is this the first time you're doing this in a Dialog window? Because they behave slightly differently than Smart Windows do. Do you see your &message when compiling? If not, then you need to add an entry to the pv-hooks.i file.
 

vdennis

Member
Have you tried using CHOOSE instead of MOUSE-SELECT-CLICK? Other than that, make sure the frame name is correct. Is this the first time you're doing this in a Dialog window? Because they behave slightly differently than Smart Windows do. Do you see your &message when compiling? If not, then you need to add an entry to the pv-hooks.i file.


The problem turned out to be that the 'Calling Program' was a 'dialog' window. So in order to have the 'Called' program to work it also needed to be created as a dialog window. That took care of the problem.
-Dennis-
 
Top