display tooltip on button focus in blackberry - blackberry-simulator

Can anybody tell me how to display ToolTip on blackberry on button focus listener? I am using blackberry 6.0. I have tried Status.show() method. but it display huge tool tip between of the screen. Any other way to display tooltip which display nearby of the field.

well, the best way i would suggest is, create a custom labelfield with a arrow kind of a bg image , on button focus listner , show the labelfield with a timer running , and remove the labelfield after sometime, dont know if this is what u r asking for,, we try the same approach in our project.

Related

How to click on a specific button

I'm new to Hammerspoon, but interested in automating some macOS workflows with it.
I know how to send keystrokes, but how do I simulate a mouse click on a specific button in a window or dialog? (I'm currently trying to close a dialog window that way)
Thanks in advance for any help!
You can use hs.eventtap.leftClick(point[, delay]) , where point is the {x, y} coordinates of the place you want to click. Official documentation:
https://www.hammerspoon.org/docs/hs.eventtap.html#leftClick

Create button in C# winform like IDM buttons

Did you see the first page of IDM (Internet Download Manager)??
IDM first form
Now i'm trying to build some buttons like these buttons(above picture) but I don't know how I must start? Is there any software for it? These buttons change their mode when hover mouse on them.
Have nice day
Start with a ToolStrip control and add a Button to it using the DropDown control on it. Change the DisplayStyle to ImageAndText, and TextImageRelation to ImageAboveText. Now change the Image property to your Icon image, and ImageScaling to None.
On the ToolStrip itself, change GripStyle to Hidden.

WPF + PRISM - show modal popup window with controls in it?

I am following the 'Stock Trader RI' example by the Prism team,
but it does not address this exactly :
I have a Shell with a Main Region in it.
In this shell I have some filter fields and a grid.
When I press on a button - I would like to load a screen that allows me to change the filters,
and then press 'Save'. This would then call a service to update the fields, and close the pop-up.
Here is an illustration of the 'Shell' before pressing the button (left) and after (right) :
Problems are :
The 'Stock Trader RI' sample app only uses a modaless dialog popup. I need a MODAL pop-up (background will continue to refresh, but user will not have access to it as long as pop-up is active).
Need to have Silverlight-like effect when pop-up shows, meaning - 'Shell' needs to appear 'disabled' (like a gray mask over it).
Pop-up window should have no 'X' button and no 'minimize' or 'maximize' buttons. The pop-up window should be simply a rectangle with curved-corners.
I don't think I can use a 'Notification Window' or a 'Confirmation Window' because I cannot put inside them whatever I want. This is an example with 2 fields, but the pop-up might be much more complex with tabs, and a lot of information shown to the user.
So how do I show a modal pop-up from my "WPF+PRISM" Shell-View-Model once the 'Edit' button is pressed ? (Meaning, once the 'EditCommand' is executed...)
I have found a solution here.
Basically it uses InteractionRequest and it allows me to open a window (that I can style however I want, without the 'Maximize' 'Minimize buttons), and also - I can choose for it to be Modal.
Great thing about this solution is - that I can use custom pop-ups and not only Notification or Confirmation pop-ups.
Also - I can pass information back to the class the invoked the 'InteractionRequest'.
Only thing that it doesn't solve - is that I cannot make the calling view look disabled by adding a gray semi-transparent over it ... haven't figured out yet how to do that...

How to disable telerik tooltip using a checkbox?

I have an intranet (office) website in which I am using telerik tooltip to guide users about every link, buttons etc, it is a little help system that allows the new users to know what this link do and what that link do. I was thinking that while it will be helpful to new users it will be a hindrance for old users so it will be better if user can toggle the tooltip system so I placed a checkbox below with label "Enable Help System", but I can't seem to figure out the logic through which I can disable the tooltip to appear as user uncheck the box, the Enabled = false property is not working and tooltip still appearing even after postback.
Any ideas/advices ?
You could either set Visible=false (in which case, the tooltip control will not be rendered on the page at all), or as an alternative - you could set ShowEvent=FromCode (in case you are using some other event to show the tooltip - OnMouseOver etc.)

Google like SearchBox in Silverlight

I've created a Google like SearchBox control in Silverlight. That means, as I type in the box, a DropDownListBox appears just below the SearchBox, showing all the items that match with the text I've typed in searchbox so far (i.e AutoComplete feature), exactly like this:
Now, I want to add a functionality to it : I want to make the DropDownListBox to disappear, as soon as user clicks outside it, or anywhere on the screen. I cannot handle MouseLeftButtonDown (or any such event) in other controls, to accomplish this, because users can click anywhere, including non-silverlight region. Can anybody suggest me what should I do to achieve this?
So my question basically is:
How to know if user has just clicked and the click event occurred outside a particular control?
Please note that AutoCompleteBox doesn't serve my purpose. So I cannot use it.
I have a feeling that working with LostFocus event can solve your problem.
I guess this question is a bit old, but i just stumble upon trying to do the same and finding a solution. This is what i did
Created a Border with All Margins -500, this will cover the full screen essentially.
On Click Behaviour of this Border, the dropdown section of SearchBox
is collapsed.
Adjust z-Index of Border just below the SearchBox and DropDown
section, so clicking on SearchBox or DropDown wouldn't close it.
Set Border Visibility Collapsed, and make it visible when DropDown is Visible.
I hope it helps someone who is looking for the similar problem.

Resources