How to hide components when clicking outside your area - delphi

I have a form with green edit, when the user clicks the search button, the components in red are displayed on the screen. But I want that when the user clicks out of the component area, they disappear. I have no idea how to do this. I saw some people using a layout to cover the whole screen, but wanted to know if there was another way.

Or use the
OnFormclick event with object.visible:=false;

Related

Home button in PowerPoint to show on mouseover using VBA

I use a home button on most of my slides with a link back to the agenda for quick jumps during my presentation. That way I avoid flipping through the individual slides and get straight back to the overview.
However, I don't want the home button in my lower right corner to show on each page as it spoils the clean look. I tried to use the mouseover event in combination with a macro but can't get it to run. I thought about making the home button completely transparent and on mouseover I would set the transparency to zero so the button shows up. When I click on it, it would follow the link.
Any help to get me there is highly appreciated.
You do know that you can simply press 1 then Enter to return to the first slide in the show, right?
But to follow up on your "I thought about .." idea, why not add a shape on the slide master in a place that won't get covered up by content in any of the slides, then assign it a Go To Slide 1 action setting. After testing to make sure it does what you want, give it any color you like then make it 99% transparent.
As long as you don't forget where to click, you're good to go.

How to hide a view with center open - like a photoframe

In an application, in settings menu i have few 'controls' with slider bars, with each item having a small help button.
if user clicks the 'help' button, only the selected 'control' should be visible, and the remaining area should be covered with a new image (this would contain control related information), like a 'photo frame'.
Can somebody suggest, how to implement this 'photo-frame' masking in iOS?

Popup with overlay, popup fill window?

Would like to use a popup(jquery mobile) with content and make it fill the screen. Also with overlay.
Like this, scroll down to bottom, Overlay set to A button.
http://jquerymobile.com/branches/popup-widget/docs/pages/popup/index.html
But I want the popup to fill almost the entire screen. This should act as a new page but be filled with ajax content, I will fix this later...
How can I do this?
jQuery Mobile will not size a popup or dialog larger than needed to contain the rendered content. If you really want to fill the page, go with a new page. Consider transitioning to a new page with a pop transition instead.
http://jquerymobile.com/demos/1.2.0/docs/pages/page-transitions.html
You might also consider a dialog as it obscures the underlying page content
http://jquerymobile.com/demos/1.2.0/docs/pages/dialog/index.html

Animate only a part of an element

how can I animate only a part of an element?
I show/hide a div using jquery-ui's show method but I'd like to start/end the animation from/to a given height of the element.
My dev website can be seen here (link removed). When clicking on the 'Contact' button the contact page shows up or hides if it's already open. Since I couldn't find how to starts my animation from a given height I added a fixed button when it's closed, but when the contact button of the contact page overlaps the fixed button when it's closing...
Any help welcome!
looking for something like this??
http://jsfiddle.net/rlemon/F6Efp/8/
You can also add any fade or whatever effects. This is using a single button to animate both open and close. You could also attach a attribute to the button tag to define it's current state.

Blackberry TabScroll and Focus problem

I'm a newbe for Blackberry and finding it quite difficult, I'm working on the TabControl example. I have changed the tabs to scroll. Now when i scroll through tabs the focus changes and as soon as the focus shifts to the other tab, the data for that tab appears.
I want to make these tabs clickable only, though they shall scroll but should change only on click.
And also when i use UIApplication.getApplication.pushScreen(someScreen) in the tabs, this someScreen appears out of the tabs, whereas i want to show this screen below the tabs only.
please help
You have to override onFocus(int) to not do anything when focus is moved. (You may or may not have to override touchEvent to handle an actual CLICK event).
You can push a screen into tabs that is not part of the tabs already. If you want something new to appear, try switching managers within the screen instead.

Resources