visible

Is there a way to know when a view is viewable to user?

Hi Is there a way to know when a view is viewable to user? For example: if I have 2 views, and one of them is "hiding" the other- how can I tell that the "hidden" view is currently not visible on screen, and how can I check to see when it becomes visible again? Thanks. ...

Controlling Too Many listboxes ( C#)

I have almost 200 listboxes. I'm changing their visibility according to my variables from database. So I thought that, I prepared a arraylist. like this ListBox[] lbs = this.Controls.OfType<ListBox>().ToArray(); And used like this. for (int idx = 0; idx < Convert.ToInt32(ds.Tables[j].Rows[i][2])*12; idx++) lbs[idx].Visible = tr...

Flash "visible" issue

I'm writing a tool in Flex that lets me design composite sprites using layered bitmaps and then "bake" them into a low overhead single bitmapData. I've discovered a strange behavior I can't explain: toggling the "visible" property of my layers works twice for each layer (i.e., I can turn it off, then on again) and then never again for th...

Custom HTMLControl derived from HtmlImage control not visible in VS2008 toolbox

I have a custom control deriving from HtmlImage control which I cant get to show up on toolbox, it says "There are no components in '...\bin\Debug\ImageCustomControl.dll' that can be placed on the toolbox.". Here is the code for the control: namespace ImageCustomControl { public class ImageHtmlControl : HtmlImage { p...

setting something disposed or invisible java

changed the project since its working now. kinda. the image still isnt changing. package icnon; import javax.imageio.*; import javax.swing.*; import java.awt.*; import java.awt.event.*; public class FrameIconExample extends JFrame implements ActionListener { JLabel j; JPanel p, l, k; JButton picOne, picTwo; Container...

Trying to Make mini Jeopardy flash game button help pls

Hey im a noob in flash cs3 and i want to create a jeopardy game where when a button is pressed we go in to the main question scene and when we come back the button the we pressed is now disabled via 'button._visible=flase'...pls any help...any suggestions or links to tutorials or tutorials from you guys or girls will grateful thanx... ...

Function Triggered before fadeOut(); is finished

Hi I'm new to javascript/jQuery this really has me stumped. What I'm trying to achieve here is On toggling a#sameDayTab jquery will look for .changeAlert and fadeOut it's container div, when toggled again the div will fade in (this works well.) Each toggle will also call a function that tells me how many .changeAlert's are present o...

How to prevent my C# winforms application from stealing focus when I set the visible properly to true?

I've got a C# winforms application that runs in the background, listening for hotkeys to be pressed. When a hotkey is pressed, my form makes a brief appearance. The form is always running, but set to hidden until I receive a hotkey event, at which time I set the visible property to true. The code looks like this: void hook_volumeDown...

Suitable GUI for sorting rows at database level and/or WYSIWYG level?

Consider an Explorer-like list view with a number of columns. The data is fetched from a database, and the rows can be sorted by clicking the column headers. When you click column A, you expect the fetched data to be sorted by A - at the database level ("ORDER BY" at the selected column). However, sometimes it is desirable to sort the d...

check if formgroup is visible

I have a coldfusion flash form. (Unfortunately don't have time to change to html/javascript) In the form I have a formgroup. I would like to be able to use actionscript to detect if the formgroup is visible. I've used the code: if(formgroupid.visible == "true"){ do this } However, this does not work. Any ideas to alter the if s...

this.Width=30; NOT WORKING!

Hi All, I've been doing this for years. But now it's just not working. private void Form1_Deactivate(object sender, EventArgs e) { this.Size = new Size(30, 29); txt.Visible = false; lbl.Visible = false; } The form just does not change Width. But, as above, the 3 controls DO become i...

COM Interop & Outlook - Make Outlook Visible?

I'm automating Outlook from a VB.NET program, transferring items into the calendar and contacts at the user's request. It's all working, that isn't the problem; the problem is that automating Outlook like this when it wasn't already open creates a hidden instance. I can perhaps understand how this could be useful, to stop the user closin...

Resizing a container when child's visibility is changed?

When I set the visible property to false for a child in a container, how can I get the container to resize? In the example bellow, when clicking on "Toggle", "containerB" is hidden, but the main container's scrollable area is not resized. (I do not want to scroll through a lot of empty space.) <mx:Application xmlns:mx="http://www.adobe....

Way to determine the visible size of the web page

Is there a way for knowing what size was the visible portion of a page? Are there any services that provide this? I mean, not just screen resolution, but available browser area. When a user has a lot of browser toolbars the area left for the webpage gets reduced. On the other hand, using Chrome may maximize the available space. Thanks ...

Nested Linear layout only shows first view after being set from gone to visible in Android

Hi guys, I am developing an Android app but I'm still pretty new. I want to have a button, and when you push that button, a few TextViews and Buttons will appear. So I have a main linear layout, and then another linear layout nested inside containing the things I want hidden. I have the nested linear layout set to android:visibility="go...

Components are not longer resizable after moving

Hi guys My question relates to swing programming. I want to enlarge a component (component x) by removing it from its parent panel (component a) and adding it in one of component a's parent (component b). Before that, I call setVisible(false) on all components in b. After that I want to make this back by removing it from b and adding on...

WPF DataGridComboBoxColumn`s ComboBox is only visible when DataGrid has IsReadOnly=FALSE

Hello, Why is the ComboBox in that column only visible via double-click in the empty cell when the DataGrid is set to IsReadOnly = FALSE ??? <DataGridComboBoxColumn Width="*" IsReadOnly="False" Header="test" /> using a DataTemplateColumn works as always... whats wrong with that DataGridComboBoxColumn? works: <DataGridTemplateColum...

How to add a WindowListener to an external event.

This is my code I have developed. This is the main program which holds and executes each external JFrame for my Game. chooseGender is an external program which is nothing but a JFrame and its components. My goal for this is when chooseGender executes, it has 2 buttons for options (male, female) when the user picks one, an actionListene...

Simple SVG question - Detecting "inline" or "visible" elements

I've spent about a week looking for a solution to a problem I'm not even sure is addressable. I'll describe it: I'm working on an application for a mobile device that uses SVG and I'm stuck on a particular problem. When a user rolls over ("focusin") on a particular element (calendar icon) the device automatically displays their upcomin...

How to tell if notification shade is pulled down in android

I have a program that creates a notification if the application is not running. To do this, I have used the following code: public void onWindowFocusChanged(boolean focus) { inFocus = focus; if (inFocus) {//If this activity is in focus, fills data and clears notifications fillData(); Notify.clear(); } ...