RE: how to disable buttons

"Nuno Godinho" <[email protected]> Wed, 22 Mar 2006 10:38:23 -0000
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <4EA9E2774F529143944B50BA22187F7E48A67C@201.86.30.213.rev.vodafone.pt>
Hi:
    In your input try this to "disable" the insert key:
 
    call fgl_setkeylabel("f39", "")
    input (...)
        before row
           if (condition) then
              options insert key f39
           else
              options insert key (normal key)
   (...)
 
    Actually your doing nothing but to redirect the insert key to an unmapped one, but maybe it could solve your problem.
Same thing to the delete key. It works for me...
 
HIH
Nuno
    

-----Mensagem original-----
De: Kurz Erik [mailto:[email protected]]
Enviada: quarta-feira, 22 de Março de 2006 10:08
Para: [email protected]
Assunto: [fourjs-users] how to disable buttons


Hello,
 
I have following problem:
 
in my fglprofile i defined   
    InputArray.defKeys   = "accept,interrupt,insert,delete"
 
but sometimes i need to hide/disable the insert-/delete-button
in the right frame of an dialog.
 
Perhaps someone as a hint for me how to solve this?
 
Regards,
Erik