In section 24.4.2 of the ooDialog Reference (7091), the first argument for
the "new" method
Is stated to be a filename.

However, in my code, I use a blank - which works:


    resImage = .ResourceImage~new( "", self)                      -- Create
an instance of a resource image
    image = resImage~getImage(IDB_PROD_ICON)                      -- Create
an image from the Product bitmap
    stImage = self~newStatic(IDC_PRODABT_ICON_PLACE)~setImage(image) --
Create a static text control and set the image in it 


Does the documentation need to be updated to allow for a null filename?
(Btw, the first param is required, so
     resImage = .ResourceImage~new( , self)
does not work.

Thx,
Oliver
 

 



------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to