0
голосов
3ответов
9883 просмотров

How to call a mxml component from another mxml component in flex-edited

I need to call a component named "defectTracker.mxml" by clicking a link in another mxml component called "reviewComponent.mxml". How do I achieve that? This is my reviewComponent.mxml code: <?xml version="1.0" encoding="utf-8"?> <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" ...

1
голосов
2ответов
2953 просмотров

flex 3 component using x y as center, not topleft

How can I extend components like buttons to use x and y value as the center of the component, not the top left?

2
голосов
2ответов
3666 просмотров

Free Windows Forms Components Similar to jQuery UI Draggables

EDIT: So, I ended up making my own basic solution to this problem, and it can be found in my own answer to the question below. Or, here's a link. Original Post I'm doing some UI programming for a small .NET application. The application has some collections of items that need to be displayed in...

3
голосов
3ответов
2940 просмотров

.Net Powerpoint Component

I am looking for a .Net component to allow reading and generation of powerpoint files. So far the only thing that I have been able to find is the component by Aspose. Can anyone recommend other possible tools to use for this?

1
голосов
2ответов
3153 просмотров

Convert COM object to .Net Object

public int Set(int newValue,Object obj) { //System.Windows.Forms.Control ctrl = (System.Windows.FormsControl)Object; } The Object here is COM object. Now I want to convert it to a .NET object and get hold of its properties. What is the easiest way to do it?

0
голосов
1ответов
91 просмотров

How can I protect and license a flash component

What is the easiest way I could license a flash component? I would like to be able to sell it, and use some sort of license key or similar. I don't nee demo functionality, but am interested in being able to track my component in terms of usage or install. I am also interested in being able to pl...

0
голосов
1ответов
261 просмотров

Why do components in Flash CS3 fail so hard when loaded with a Loader

The ComboBox shows up fine when I run a SWF by itself. The rowCount property set in the property inspector works just fine; the dataProvider property populates the box just fine; everything works fine. HOWEVER, when I load that SWF into a parent SWF with the Loader class, everything goes to hel...

0
голосов
6ответов
1199 просмотров

How can I write portable Windows applications?

Sometimes, I want to write an simple application which will works on any Windows machine, without installing any programs or components (ex. .NET Framework), in a C# or Java like programming language. How can I do this? Thanks. EDIT: Added the 'like', sorry...

1
голосов
3ответов
3135 просмотров

Using CakePHP's Email component

I try to send a simple Email via CakePHP's Email Component. I'm using following code from the cookbook documentation: $this->Email->from = 'Irgendjemand <[email protected]>'; $this->Email->to = 'Irgendjemand Anderes <[email protected]>'; $thi...

2
голосов
1ответов
703 просмотров

NHibernate: HasMany components and Where/Contains clause

I'm trying to work out how to create a query using Linq to NHibernate. I have two classes like this: public class Foo { private ISet<Bar> _bars = new HashedSet<Bar>(); public virtual ISet<Bar> Bars { get { return _bars; } set { _bars = value; } ...

0
голосов
2ответов
2382 просмотров

how to use UIComponent/Flash in Flex

I am new to Flash/Flex. I would like to use a Component I created in Flash extending fl.core.UIComponent. How do I use this in Flex? Do I just export it as a swc or do I have to use the Flash Flex 3 kit which will convert it to a UIMovieClip. That does not sound right. I would appreciate a f...

0
голосов
3ответов
2122 просмотров

how to access the datagrid in one mxml in another component?

I have a datagrid in my mxml file, say, samp.mxml. <mx:DataGrid id="taskDataGrid" dataProvider="{initDG}" variableRowHeight="true" editable="true" width="100%" paddingBottom="1" paddingTop="1" height="55" > <mx:columns> <mx:DataGridColumn dataField="Select" ...

1
голосов
4ответов
4809 просмотров

Cloning a TStringGrid Component

I am starting to learn Delphi. So I decided to write an application like MS Excel from scratch. In a new Form1, I did put a TPageControl component containing only 1 page. In that page, I did put a TAdvStringGrid and a TPanel with some buttons (button1, button2) and a Popup1 menu for defining some...

1
голосов
3ответов
180 просмотров

What's the most elegant way to swap out events when setting a property?

Doing component-based development, I find myself doing this fairly often: public class SomeClass { SomeOtherClass foo; public SomeOtherClass Foo { get { return foo; } set { if (value != foo) { if (value != null) { // su...

3
голосов
1ответов
810 просмотров

How can I make a component disappear in the form designer?

I'm creating a custom control that contains other controls, including two scroll bars, one horizontal, one vertical. There's a property to set one or both scroll bars invisible, which works fine at runtime, but at design-time it doesn't disappear from the form designer when I set the property. ...

1
голосов
3ответов
684 просмотров

Flex workflow and best practice

While reviewing the tutorials and example Flex projects, they seem to focus mainly on form elements and data grids, rather than delivering content in a more visual way. Which is what I will need for this upcoming project. As a result, I have a gap in my comfort level that I'm hoping that a season...

0
голосов
2ответов
1612 просмотров

Good open-source Swing/Java component for doing MSN-like popup notifications

I am looking for a good open-source Java component for implementing popup notifications in a Swing desktop application. The component should be able to function like the ones commonly seen in instant messaging applications such as MSN Messenger, so that just as someone sends you a message, a lit...

4
голосов
1ответов
6528 просмотров

how to get jsf clientid of a component in datatable?

i am trying to get the client id of a component in a datatable. the problem is that jsf puts row index before the component id automatically, i.e. <a id="mappedidentifier_table:1:mappedidentifier_Update" href="#">Update</a> for a link in the second row (index=1). i am using th...

2
голосов
3ответов
280 просмотров

owner drawn grid - .NET

I would like advice on whether or not I should program the following from scratch myself or use a 3rd party component. If there is a 3rd party component that fits the bill without too much baggage I'd appreciate recommendations. I would like to have a component that is a matrix of cells, like a ...

3
голосов
1ответов
501 просмотров

Reuse component in projection (NHibernate)

Is it possible to reuse a component mapping in a projection? Here is the mapping for the Vendor entity: <class name="Vendor" table="vendor"> ... <property name="Name" column="Name" /> <component name="Address" class="MyProject.Address, MyAssembly" > &l...

29
голосов
4ответов
16559 просмотров

Difference between components, modules, extensions and plugins in Joomla

What is the difference between Joomla components, modules, extensions and plugins?

3
голосов
4ответов
4918 просмотров

Auto login in CakePHP

I am using the registration form for different users? After a new user logs in, the registered users should redirect to an after-login page. We are using Auth component for the authentication. How do I do this?

2
голосов
2ответов
2467 просмотров

How can I make a function to select all in a Flex textbox?

I'm trying to create a simple "smart" textbox component in Flex, and I want a function inside it that I can use outside of the component to force itself to select all text inside of it. Inside my SmartTextbox.mxml: public function selectAll():void { this.setSelection(0, this.length); } I ...

2
голосов
1ответов
832 просмотров

How do I use the service locator implementation in System.ComponentModel for dependency injection in a WinForms application?

I'm trying to allow my business logic components to query for services when they are added to one of my form/control classes. For example, I might have a ClientManager class in my library, which encapsulates some business logic. It requires an ILoginManager instance to query for some data that it...

25
голосов
4ответов
20287 просмотров

When to add a Component Class vs User Control?

I have a general idea, and there are some obvious cases, but there are also some gray areas for me - when is it best to use to extend from a component and when is it best to create a user control? This pertains to a specific work problem I am trying to solve, but the specifics of that are not im...

1
голосов
3ответов
1348 просмотров

Estimating a Spring/Hibernate project

I am new to Spring framework. I was recently part of a Task where an estimation for a Spring/Hibernate based web application was being prepared. We had Functional & Business requirements and detailed Use Cases. I was asked to prepare a list of the inventory or Work Item types (Controllers, En...

1
голосов
1ответов
830 просмотров

Creating a ToolBox component with design-time support using a UserControl

I have a UserControl for Windows Forms. How can I convert it to a component? What I want to do is, to add it to the VS toolbox, add it to form with drag and drop at design-time and change its Location and Dock properties using the Properties window. What should I look for to do this? I've create...

5
голосов
7ответов
6418 просмотров

Recommendations for visualising a directed graph in a Web UI

I need to visualise a directed graph that represents the flow of data in a web application. Can anyone recommend any JavaScript or Flash solutions for this please. It must support hooking a node click event because I need to fire off an AJAX call when this happens. Can be free or commercial. The ...

0
голосов
1ответов
171 просмотров

Implement Object-Instance-Model to PropertyGrid

I am building a GUI application that will be the front-end for an XML configuration file. The XML structure defines a set of object instances. That is, type names, and property values that should be instantiated in the consuming application (windows service). So there are three layers: Configu...

-1
голосов
1ответов
863 просмотров

Preventing callback during validation in ComponentArt grid

I have to validate a couple of fields in the CA grid every time a record is updated/added. The grid is used in the callback mode. What i cannot figure out how to do is cancel the callback if a cell is invalid. I am trying to do this 'onBeforeUpdate' event of the grid. I can call set_cancel(true) ...