arrow

Need refactoring ideas for Arrow Anti-Pattern

I have inherited a monster. It is masquerading as a .NET 1.1 application processes text files that conform to Healthcare Claim Payment (ANSI 835) standards, but it's a monster. The information being processed relates to healthcare claims, EOBs, and reimbursements. These files consist of records that have an identifier in the first few...

silverlight keydown event doesn't fire for arrow keys

I have a canvas inside a scrollview. I attached a keydown event handler to the scrollview. For most keys, the handler gets called. However, for the arrow keys, the handler does not get called. Instead, the scrollview gets scrolled in the appropriate direction. I also attached a keyup handler to the scrollview and the keyup does get ca...

Access Div Contents using Up and Down Arrow Keys using javascript

I have a Div Tag which contains 4 child Div Tags <Div id="Parent"> <div id="childOne">ChildOne div id="childOne">ChildTwo div id="childOne">ChildThree ...

Arrow keys and changing control's focus hang the application

I have a usercontrol that contains a FlowLayoutPanel (topdown flow) with a bunch of radiobuttons. The control exposes a CheckedChanged event that fires whenever one of the radiobuttons's check changed. My form contains the usercontrol and a textbox. I subscribe the usercontrol's CheckedChanged event and depending on which radiobutton ...

Drawing an arrow on a line object in VB6

Using VB6, i have a line object that can be dragged around at its end points by the user, and i'd simply like an arrow in the middle of it to show the direction of the line. Is there a simple way to do this? ...

How to Remove Visual C++ "Expand Menu" Arrow?

When creating menus with submenus in Visual C++, I find that submenus begin as arrows that I must click to expand to see their contents. Is there a way (programmatically) to have the submenus pop-out already expanded (with no arrow to click)? Here is an image of what I am talking about, before and after clicking aforementioned arrow: ...

Java 3D Arrow problem

I have the following Java class that draws a 3D arrow in space, but there are two problems,I don't quite know how to fix them. import javax.swing.*; import java.awt.Frame; import com.sun.j3d.utils.applet.MainFrame; import com.sun.j3d.utils.universe.*; import com.sun.j3d.utils.geometry.*; import javax.media.j3d.*; import javax.vecmath.*;...

Expression blend 3 Sliding content?

Hi I'm trying to create an effect whereby when I click an arrow my content slides to the left and dissapears thus leaving an new set of content in its place. Much like the way wp-coda works http://wordpress.bustatheme.com/coda/, but i wan to do this in expression blend which uses silverlight. Thanks Judi ...

Edge direction in network diagrams

When I draw a network diagram with, say, browser A communicates with http-server B which talks to a database C, I draw the nodes for A, B and C and edges between A and B and between B and C. Then I want to materialize the flow direction by adding arrows. On which side should I place the arrowheads? Variant 2 is the intuitive one, but ...

How to draw an arrow in Silverlight.

I need to draw an arrow between controls in a canvas. Currently I'm using the Line object but it doesn't have a way to draw a triangle at the end of the line. This is roughly what I need: [TextBox] <----- [Button] I was trying to subclass Line and add a couple of lines at the end but the class is sealed. How would you build a custom...

Diagramming server connections in Visio - what direction should arrows point?

Suppose I would like to depict data flow between two servers in Visio. I have boxes to represent servers and arrows to represent communication / data flow. In this situation: Server A always initiates connections to Server B. Server A reads from server B, but does not write. How would this be depicted? Which way would the arrows po...

How to draw a directed arrow line in Java?

I want to draw a directed arrow line through Java. At present, I am using java.awt.Line2D.Double class to draw a line g2.setStroke(new BasicStroke(2.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_BEVEL)); // g2 is an instance of Graphics2D g2.draw(new Line2D.Double(x1,y1,x2,y2)); But only the line appears and no directed arrow appears. U...

change anythingslider arrow align distance

Hai I have a problem in anything slider installation forward and backward Arrows alignment are not correctly placing ,Is i have change this alignment? please give me a answer for this my site link http://www.keralafriends-uae.com/ Regards ...

Flex HDividedBox custom divider

Before I go ahead and begin coding one, I was wondering if there are any existing components that allow me to do the following in an HDividedBox: Have an embedded arrow that, which clicked, will collapse a child of the HDividedBox and when clicked again, restores the child. It is something like a vertical accordion with the way the co...

Use Left and Right Arrow Keys on keyboard to move onto next html page/last html page... NEED HELP!

I've been search the WWW for a while and can't seem to see what I'm looking for... I need a piece of code that will allow my page to move on when someone uses the arrow keys to move forward or back. PLEASE HELP! THANKS... :) ...

Resources for learning Monads, Functors, Monoids, Arrows etc

Can you people please suggest some good books / weblinks from where I can get to learn about above mentioned concepts? (Please note that I am a Java programmer and have NO prior experience with functional programming. I have been studying Scala since last one month and would appreciate the resources that try to teach the above mentione...

Php plugin to replace '->' with '.' as the member access operator ? Or even better: alternative syntax ? (<php+ $obj.i = 5 ?>)

Present day usable solution: Note that if you use an ide or an advanced editor, you could make a code template, or record a macro that inserts '->' when you press Ctrl and '.' or something. Netbeans has macros, and I have recorded a macro for this, and I like it a lot :) (just click the red circle toolbar button (start record macro),t...

flex combobox hide and show down arrow

I am looking to implement a search text box as follows: When user starts typing in and there are non-zero results, the text box will open up and display the results below it. When the user selects a result, the text box closed, but this time with a down-arrow (like a combobox) so that the user can re-open the list. I suspect what I re...

Arrow operator (->) usage in C

I am currently learning C by reading a good beginner's book called "Teach Yourself C in 21 Days" (I have already learned Java and C# so I am moving at a much faster pace). I was reading the chapter on pointers and the -> (arrow) operator came up without explanation. I think that it is used to call members and functions (like the equivale...

jQuery - Moving background arrow in menu

I would expect something like this to be pretty popular in demand but I had much trouble finding a suiting script. I've got a basic menu build like this: <div id="menu"> <ul> <li><a href="#"><img src="images/btn1.png"></a></li> <li><a href="#"><img src="images/btn2.png"></a></li> <li><a href="#"><img src="im...