RE: disable delete key, insert key

"Danny De Koster" <[email protected]> Wed, 7 Jun 2006 11:53:22 +0200
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <4966F6D7DB59914DAE4AAFC43461750CEBE3@sbsfid2003.Fidelity-Soft.local>
It helps Erik !!!!

 

thanks

 

Met vriendelijke groeten / Sincères salutations / Kind regards,

 

Danny De Koster <mailto:[email protected]> 

 

<http://www.fidelity-soft.be>   <http://www.fidelity-soft.be/>  <http://www.fidelity-soft.be>   <http://www.fidelity-soft.be> 

 

 

________________________________

Van: [email protected] [mailto:[email protected]] Namens Kurz Erik
Verzonden: woensdag 7 juni 2006 11:45
Aan: [email protected]
Onderwerp: AW: [fourjs-users] disable delete key, insert key

 

hi danny,

 

try the following:

 

# save the orig. text of your buttons

CALL fgl_getkeylabel("insert") RETURNING insert_text    

CALL fgl_getkeylabel("delete") RETURNING delete_text   

    OPTIONS DELETE KEY F63
    OPTIONS INSERT KEY F64

 

# now set the label of these buttons to nothing
    CALL fgl_setkeylabel("insert", " ")     

    CALL fgl_setkeylabel("delete", " ")     

 

after that you have empty buttons, but without any function.

 

to make empty buttons unvisible, you have to change 

fglprofile:

gui.empty.button.visible    = false

 

 

hope it helps,

 

erik

 

 

	-----Ursprüngliche Nachricht-----
	Von: [email protected] [mailto:[email protected]]Im Auftrag von Danny De Koster
	Gesendet: Mittwoch, 07. Juni 2006 11:28
	An: [email protected]
	Betreff: [fourjs-users] disable delete key, insert key

	Hi all,

	 

	How can I disable the delete key, insert key in a input array.

	 

	I've set options delete key f63, insert key f64, but on the right side of the screen I still have 2 buttoms that I can push.

	 

	Any workarounds?

	 

	 

	 

	Met vriendelijke groeten / Sincères salutations / Kind regards,

 

Danny De Koster <mailto:[email protected]> 

 

<http://www.fidelity-soft.be>  <http://www.fidelity-soft.be/>  <http://www.fidelity-soft.be/>  <http://www.fidelity-soft.be>   <http://www.fidelity-soft.be>
image001.gif (image/gif, 1.5 KB) - not displayed
image002.jpg (image/jpeg, 2.8 KB) - not displayed
image003.jpg (image/jpeg, 2.8 KB) - not displayed