Dear Max

I had try to make resources from file by right clicking on Resources
node on AOT then click Create from file then I browse the file.
Then I'd try to load the resource with this coding but nothong appear 

public void showResource()
{
    ResourceNode        resourceNode;
    Container           imageContainer;
    Image               image;
  ;

    resourceNode = SysResource::getResourceNode(resourceStr(MyResources));
    resourceNode.AOTload();

    imageContainer = SysResource::getResourceNodeData(resourceNode);
    image          = new Image(imageContainer);

    imageCtrl.widthValue(image.width());
    imageCtrl.heightValue(image.height());
    imageCtrl.image(image);
}

Is there something wrong with my step?

Regards

Rando




--- In [email protected], "Max Belugin"
<[EMAIL PROTECTED]> wrote:
>
> If you mean AOT resources you can just add a node to the resources
node of AOT
> 
> On 3/31/08, Rando <[EMAIL PROTECTED]> wrote:
> > Dear all
> >
> >  How can I use and create Resource on DAX 4, what is it actualy?
> >
> >  Regards
> >
> >  Rando
> >
> >
> >  ------------------------------------
> >
> >  Yahoo! Groups Links
> >
> >
> >
> >
> 
> 
> -- 
> Max Belugin, http://belugin.info , ICQ:9406811, MSN: [EMAIL PROTECTED]
>


Reply via email to