本文介绍了当我按Ctrl + F时,我想弹出窗口形式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的购买表单上,如果用户想要查找产品详细信息,用户必须在文本框中填写产品名称按Ctrl + F并在弹出窗体中查找产品详细信息



可以这样做吗?

On my purchase form user have to fill product name in textbox if user want to find product details press Ctrl+F and find details of products on pop up form

is it possible to do like that?

推荐答案


<Button IsEnabled="True" Name="SignatureOkButton" Margin="5,10,5,0" Height="25" Width="80" Click="Button_Click" HorizontalAlignment="Right">
                <StackPanel Orientation="Horizontal">
                    <Image Name="imgSign" Source="Images/ImgSingleSelect.bmp" Margin="0,0,5,0"/>
                    <TextBlock Name="txtSign">
                        <Underline>O</Underline>K
                    </TextBlock>
                    <AccessText Text="_O" Height="0" Width="0"/>
                </StackPanel>
</Button>





当我点击Alt + O时,那么事件是什么为此按钮编写,将使用Alt按钮从访问键升起。



试试这个。希望这有帮助



有任何疑问,请在这里发布,

谢谢

Ganesh



When I click on Alt+O, then the event what is written for this button , will raise from the access key with Alt button.

Try this. Hope this helps

any doubts, please post here,
Thanks
Ganesh


Quote:

不要尝试这样做。许多浏览器都保留Ctrl + F以在当前页面上进行搜索。此外,在大多数情况下,弹出窗口是邪恶的。



-SA

Don't try to do it. Ctrl+F is reserved by many browsers for search on a current page. Besides, pop-ups is evil, in most cases.

—SA





嗯,这是肯定的,但如果你想要使用它,请尝试MouseTrap:



[]



或jwerty:



[]



或短信:



[]



希望我帮助:)



Well this is sure , but if you do want to go with it , try MouseTrap:

https://github.com/ccampbell/mousetrap[^]

or jwerty:

http://keithcirkel.co.uk/jwerty/[^]

or shortkeys:

https://github.com/riklomas/shortkeys[^]

Hope i helped :)


这篇关于当我按Ctrl + F时,我想弹出窗口形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 10:19