custom-component

Creating Custom ImageView

I create a custom image view by extending ImageView that just draws some text on the screen, however I don't see anything painted in the Emulator Screen, but the log messages and the printlns get printed in the log console. Am I not doing something? This is my activity public class HelloAndroidActivity extends Activity { /** Called...

How to write events for a custom component in flex?

I have written a custom component for drawing a circle in Flex. But When I try to write a click event or mouseDown event for that component, it doesn't work. I have the circle component inside a VBox. <mx:VBox label="Currents Quote" width="100%" backgroundColor="#DDDDDD"> <comp:MyCircle id="circlle" x1="175" y1="150" ...

Flex: How to create a floating notification message of sorts for a custom component?

I have a custom TextInput-based component for date and time with certain restrictions on what's considered "within range". But it's still fine to insert dates that are outside the range. When a user types in a date, on valueCommit, I'd like to be able to display a hovering notification to the user, to inform/warn them that the date is o...

GetProperty - Reading a property via reflection + SSIS Custom Component

Am in process of building my custom component. Am trying to read values of PipleBuffer by GetProperty("propertyname").GetValue() as below: public override void ProcessInput(int inputID, PipelineBuffer buffer) { while (buffer.NextRow()) { string nk = buffer[1].ToString(); string nk1 = buf...

flex 4 title window + custom component + skin problem!

I'm trying to put my components in a window container that can be closed by "x" moved on the stage, resized and so on. And I wonder which is the best way to do it. I want to use a skin class and the component class. The "solution" that is not working looks like this: take a look at this and if you have a better idea on how to implement ...