I am writing a ContentView with an Entry in it. When on IOS or Android I want to open the respective "TimePickerdialog" of the Platform when the user taps the Entry.
On Desktop or when configured in the IOS/Android App, the user should be able to use the Entry to type in the Time by Keyboard.
Is there a way to open it programmatically? I looked at some GitHub repositories where people wrote their TimePickers but it seems, that nobody triggers it programmatically but uses the TimePicker control as the base and not an Entry.
When on IOS or Android I want to open the respective "TimePickerdialog" of the Platform when the user taps the Entry
At first, this design has conflict when the user taps the entry. Usually, the soft keyboard will show when the user taps the entry and trigger the entry's focused event. But you want to open the respective "TimePickerdialog" when user taps it and also want user can input the time by the keyboard.
A touch has two different behaviors, if so, you need to use the custom control and custom render for the each platform to deal with the conflict.
In addition, I think user selecting time is equivalent to user typing time with the keyboard. So you don't have to do a such design.
Related
I am developing a UWP App.
We link different behaviors for the different mouse buttons (left, right, middle) and I would like to link also some handlers for the extended buttons (e.g. when we detect a click with PointerUpdateKind.XButton2Pressed).
For the extended buttons, I would like to read the behavior specified by the user and apply the same (e.g. if the user set a default behavior for the extended button 1 via XMouseButtonControl (https://www.highrez.co.uk/downloads/XMouseButtonControl.htm), as the "Copy" action, like CTRL+C, I would like to copy the selected content on the app when the user click on Extended button 1 on our app).
How can I programmatically read such behavior specified by the user within an UWP app?
Is there an UWP API that I can use?
Because the function is provided by the application, so when the extended key is pressed, the specific what to do is by the application.
If you want the user to specify the function of the extended key, you can record the user's personalized settings in the ApplicationData.LocalSettings.
When the XButton is pressed, the corresponding function is enabled according to the current user settings.
Thanks.
I would like to know if it is possible to, while running a WPF window application in Visual Studio, wait for the user to click anywhere on the screen (not necessarily inside the window of my application - for the purpose of my application, the click would most likely occur inside a browser page) and then gather the information about the click (like inside the window of which application the user clicked, or the selector of the html element the user clicked)? I know this question might be very confunsing but this is basically my last resort since researching on the Internet hasn't helped me much. Just to provide a better idea of what I seek, it's like what the 'Extract Structured Data' Activity does in UiPath. Oh and I'm using C# by the way.
You can try and use this external library called GlobalMouseHook.
This library allows you to tap keyboard and mouse, detect and record their activity even when an application is inactive and runs in background.
Here is what you can do with this library:
Mouse coordinates
Mouse buttons clicked
Mouse drag actions
Mouse wheel scrolls
Key presses and releases
Special key states
Hope this helps.
I am working on an add-in for Enterprise Architect in C# that involves tabs. Tabs as in, what there is on the bottom of the screen just as in an excel sheet. For example, if you as a user would click on one of the tabs in excel the view will change to this newly clicked tab.
In the above picture, the tab "web interface" is currently selected. Now what happens in the code when the user clicks on one of the other tabs. Lets say the user clicks on "Program on user PC".
My question addresses anyone who has any Enterprise Architect Add-In developing experience. I would like to catch the mouseclick event that is fired as soon as the user clicks on one of the tabs such that I can respond properly on this event and prepare the view for the user.
I hope it is clear what I am trying to achieve. Thanks in advance!
EA does not make raw Windows input events (keyboard, mouse) available to Add-Ins, but the Context Item event EA_OnTabChanged() tells you when the user switches tabs. This sounds like what you're after.
The event includes the name of the tab being switched to, so you just need to match that to know if the event is for you.
Does anybody know if this control comes with the windows phone 8 SDK or if I must program it?
This screen appears when I go to people => click + icon. There are many very similar screens in windows phone but I don't know if they're ready controls or custom ones.
What I need is a screen that hides all background and just shows a list of options upon clicking a certain button, and I want to handle application overflow depending on the option the user chose.
Any ideas?
You can use the CustomMessageBox from toolkit http://phone.codeplex.com
it takes a Content that can be a listbox or user control.
and you can make it take the full screen.
check this: http://shawnoster.com/2012/10/welcome-custommessagebox-to-the-windows-phone-toolkit/
and this: https://stackoverflow.com/a/15944006/1423885
Hi I am currently building a WPF application that is supposed to run on a windows 7 OS. Users will interact with the system via a touch screen.
I need a virtual keyboard so users can enter information into the system, but want to prevent them from having access to controls such as ctr+alt+del.
I want something like this: http://www.eightforums.com/attachments/f1/f42/20237d1366083644-annoying-touch-keyboard-problem-microsoft-windows-8-touch-keyboard-mouse.jpg
How do I implement something like this so that the keyboard comes up when a textbox receives focus?
Are there any free / commercial solutions? or do I have to manually implement something like this?
This post shows a good way to use Windows p/invoke commands to automatically display the Touch Keyboard when the user clicks on an element: https://stackoverflow.com/a/22396330/865666.