Keyboard accelarator CTRL+F

Discussion forum about all things Gupta, OpenText and the community.
jdurban
Germany
Posts: 29
Joined: 09 Oct 2018, 09:30
Location: Karlsruhe, Germany

Keyboard accelarator CTRL+F

Post by jdurban » 11 Dec 2019, 18:16

Hi,
does anybody know how I can use and set a keyboard accelarator to a pushbutton? I will open a search with Ctrl+F. I mean in former times there was the option to choose it in the Attribute inspector....
regars
Jürgen

User avatar
H3PO4
Germany
Posts: 264
Joined: 10 Mar 2017, 07:53
Location: Rohlstorf, Germany

Re: keyboard accelarator CTRl+F

Post by H3PO4 » 12 Dec 2019, 06:45

Hi Jürgen,

VisWinLoadAccelerator does the job. The attribute settings only allow special keys.

Henning
Sample_VisWinLoadAccelerator.zip
You do not have the required permissions to view the files attached to this post.

jdurban
Germany
Posts: 29
Joined: 09 Oct 2018, 09:30
Location: Karlsruhe, Germany

Re: Keyboard accelarator CTRL+F

Post by jdurban » 12 Dec 2019, 10:45

ja wie geil ist denn das??? Oups, I want to say, very nice!
I copied the one-line statement from the sample in the SAM_Create section of my app and it work's at once (VIS libs are already included).
Absolutly great!
Henning, thank you very much!

User avatar
H3PO4
Germany
Posts: 264
Joined: 10 Mar 2017, 07:53
Location: Rohlstorf, Germany

Re: Keyboard accelarator CTRL+F

Post by H3PO4 » 12 Dec 2019, 11:07

:D

You are welcome!

Henning

P.S.: Don't forget to free the Accelerator before closing the window with VisWinFreeAccelerator.

jdurban
Germany
Posts: 29
Joined: 09 Oct 2018, 09:30
Location: Karlsruhe, Germany

Re: Keyboard accelarator CTRL+F

Post by jdurban » 13 Dec 2019, 18:31

Hi Henning,
ok, I had forgot it - but why releasing? Yes, it's gernerally better and good programmer do so.
But if window is closed than everthing would be released, too. Or not? Until now it works wihtout it (only testing, it's not released)
cheers Jürgen

User avatar
H3PO4
Germany
Posts: 264
Joined: 10 Mar 2017, 07:53
Location: Rohlstorf, Germany

Re: Keyboard accelarator CTRL+F

Post by H3PO4 » 16 Dec 2019, 07:46

Hi Jürgen,

in German 'ich habe schon Pferde vor der Apotheke kotzen sehen...' - the meaning is: I am always releasing ressources in TD because things that cannot really happen - happen ;) .

Henning

User avatar
Charlie
Canada
Posts: 637
Joined: 07 Mar 2017, 18:52
Location: Fredericton, New Brunswick, Canada

Re: Keyboard accelarator CTRL+F

Post by Charlie » 16 Dec 2019, 14:08

Oooooh, I like that, Henning.

That reminds me of a favourite philosophical chew: "Life has a way of confounding expectations." In the same vein: "Technology has a way of confounding expectations."

Happy Monday philosophizing !

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 0 guests