AW: how to disable buttons

"Kurz Erik" <[email protected]> Wed, 22 Mar 2006 12:45:51 +0100
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <[email protected]>
i'm sorry but the text of the buttons is not cleared !?!?!
 
what about the entry in my FGLPROFILE ?
 InputArray.defKeys   = "accept,interrupt,insert,delete"
 
do you also have the same entry ?
 
Erik
 
 

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]]Im Auftrag von Nuno Godinho
Gesendet: Mittwoch, 22. März 2006 12:21
An: [email protected]
Betreff: RE: [fourjs-users] how to disable buttons


Call fgl_setkeylabel("f39", "") to clear the text.
Check your FGLPROFILE and make sure you have
gui.empty.button.visible    = false
 
That should do it
 

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


Hi,
 
the result: 
    the f-keys are redirected, but 
    there are already the buttons with their function !
 
 
any more hints ?
 
Erik
 
 
 
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]]Im Auftrag von Nuno Godinho
Gesendet: Mittwoch, 22. März 2006 11:38
An: [email protected]
Betreff: RE: [fourjs-users] how to disable buttons



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