uicomponents

Flex 3 UIComponent width property not working

I have a flex 3 application in which I draw my own UI. It is a player-style app, so it has a bar that fills as the media plays. I do this with this code: bgRect=new UIComponent(); bgRect.graphics.lineStyle(0); bgRect.graphics.beginFill(0xFFFFFF,1); bgRect.graphics.drawRect(0,0,399,20); bgRect.graphics.endFill(); bgRect.addEventListener(...

Flex Tree/Branch Diagramming/Graphics

Hi, I was wondering if anyone had access to source code that would allow me to draw lines between objects. I have examples of the standard one line between 2 objects. What I'm looking for is an example of how to draw a branching line. I.e. Starts as a line coming from an object and then branches out to other objects. I don't want to dr...

Adding UIComponent to both Canvas and Tree in Flex 3

I currently am trying to add a custom class which subclasses UIComponent to both a tree and a canvas, but when I try to re-order the tree by dragging I get this error: TypeError: Error #1010: A term is undefined and has no properties. at mx.controls::Tree/get firstVisibleItem()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\co...

Flex: How to resize DisplayObject to fit panel in Flex application

I am trying to attach some of my actionscript class, inherited from Sprite, to my Flex application by attaching it to a UIComponent, then add UIComponent to a panel. However, the size of my Sprite class appears to be larger than the panel. So, I try to resize it using DisplayObject.scale property, but I need to know the size of my contai...

.NET user interface components recommendations

I'm looking for advice on what .NET user interface components are out there on the market. I have been developing asp.net websites and have mainly been using the Visual studio toolbox build in controls supported by the AjaxcontrolToolkit and the applications have been mainly used inhouse running on our company intranet. But now a new ...

Flex AdvancedDatagrid inline commentary functionality required

I'm using Flex's Advanced Datagrid for a project and need inline comments, in a similar style to Excel spreadsheet comments. A little visual indicator should indicate if a field is associated with a comment, and on clicking on the element should open or trigger an action for displaying that particular comment. Any suggestions on how I ...

MFC component defocus event handler

Hello, Is there a standard way to handle MFC Edit box defocus event? I mean if I click on the box enter something and then move on on the other component handling event gets fired? Thank you for any help! ...

Setting the Panel Owner

Hi, I've got an application that allows a panel to popup to allow the user to edit some properties. How do I set the panel owner so that it is on top of all the other components on the page without actually disabling them like you do with an alert box? ...

Help needed Using The UIscrollbar in flash cs4 pro with AS3.0

hi there every one... i'm using the UIscrollbar component in a project i'm doing in flash cs4 pro using as3.0 i finally get it to work with my text area without using any AS codes, but the problem is no matter what the size of my text area is it only scrolls a specific amount. and there's no where where i can find any AS written in the c...

Java Framework Choice Question.

We do have many frameworks available in Java. Struts, Swing, JSF 2.0, Spring etc are used as per their priority. Actually, I don't know how many they are as well! But, as I am fresher to Java, even learning after their architecture, I cannot decide which framework can be used with what type of Projects ! Also, I am confused with mixed ...

jsf 2.0 <f:ajax> for case rendering ui components.

Hi all. Have a quit strange behaviour of f:ajax. Scenario: registration form with 2 step registration 1. user fill base info (name, email, phone) and send it - email sending to user - user confirm his email - by clicking on link he comes to the same page but now he have many fields to fill 2. user fill all fields, but f:ajax not ...

Mindtouch dream framework UI composition

Hi all, Has anyone use Mindtouch's dream framework in conjunction with a asp.net frontend? It seems like all component on the page needs to be client side composited where each component is making a call back to the dream server for rendering another tiny snippet of html. Wouldn't that be bad in term of client performance? Is there a...

How do I fix this potential bug with the Button Component in Flash ?

I need to use the Button component from the UI Components Panel in the Flash IDE, with the toggle property set to true. If I use it with a timeline script it works great. If I use within a class(a Document Class), the selected property is reversed (I get true when it's not toggled and vice versa). Also if I set toggle to false in the...

How do I fix this potential bug with the ComboBox Component in Flash ?

When I add a ComboBox component into a Sprite, the height of the container is larger than it should. Here's what I mean: import fl.controls.ComboBox; //add combo box inside a container sprite var combo:ComboBox = new ComboBox(); var container:Sprite = new Sprite(); addChild(container); container.addChild(combo); //draw the outline of t...

Changing the appearance of a single thumbnail in TileList Component

I'm trying to create a listing of thumbnails using the TileList component, and so far it's working great. Is there a way to change the appearance of a single ImageCell within the component. I'm bringing in the thumbnail data as XML, and I have an attribute for whether it's a "new" image or not. I would like it to display a small badge ...

Grid Renderers updating without updateDisplayList being called

I have an item renderer for a grid that has a fairly basic updateDisplayList function: override protected function updateDisplayList( w : Number, h : Number ) : void { super.updateDisplayList( w, h ); var labelWidth : Number = Math.min( _labelDisplay.measuredWidth, w ); var labelHeight : Number = Math.min( _labelDisplay.mea...

What are some 3rd party UI components for .NET MVC 2?

Hi. I'm looking for a 3rd party UI component library to be used in .NET 4.0 C# MVC2 web application. When I google it, Telerik comes up all over the first google page. To be honest, I actually do like it a lot. So, I'm just wondering what are other alternatives out there? What are some drawbacks/problems that people have experienced...