I have a simple "About" dialog in Exercise05 of the Guide. 
In its initDialog method are the following statements:    

   id = self~constDir[IDB_PROD_ICON] 
   image = resImage~getImage(id)

I also issue the following in a class method of a different class
(ProductView) in the same .rex file: 

   .application~useGlobalConstDir("O", "ProductView.h")

It all works.

So I assume that the About dialog's constDir attribute is in some way
connected to
the new globalConstDir. Is this correct? Maybe under the covers
globalConstDir just effectively replaces the dialog's constDir? Or if not
found in constDir then a lookup of globalConstDir is done?

Thanks,
Oliver

PS - I'm using ooDilaog 4.2 build 7037.



------------------------------------------------------------------------------
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
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to