Hello Everybody

The following code which was working perfect till 15Mar2010 
got weired after 04Apr2010, I have two distros so cannot pinpoint 
exact dates.

CLASS Abc
   DATA  oActiveX

   ACCESS BackColor                 INLINE ::oActiveX:BackColor
   ASSIGN BackColor( nRGB )      INLINE ::oActiveX:BackColor    := nRgb

   ACCESS LabelWidth               INLINE ::oActiveX:Label:Width
   ASSIGN LabelWidth   ( nVal )  INLINE ::oActiveX:Label:Width   := nVal

   ENDCLASS

METHOD Abc:New()

   ::oActiveX := MyActiveX():new(...)

   RETURN Self

FUNCTION Main()
   Local oLbl

   oLbl := Abc():new()
   #if 0                                /*   ORIGINAL CODE   -   Now GPFs  
*/
   oLbl:BackColor := fwn_RGB( 255, 0, 192 )
   #else                               /* WORK OK */
   oLbl:oActiveX:BackColor := fwn_RGB( 255, 0, 192 )  
   #endif
Similarly
   #if 0
   oLbl:LabelWidth   := p_[ LB_LWIDTH   ]                        /* GPFs */
   #else
   oLbl:oActiveX:Label:Width  := p_[ LB_LWIDTH  ]           /* OK */
   #endif 

I have searched ChangeLog but could not find the any entry
which I could corelate with this issue.

Probably, Shum's report about asigning an instance variable of object from 
other  dll  is of this type.





   


-----
     enjoy hbIDEing...
        Pritpal Bedi 
http://hbide.vouch.info/
-- 
View this message in context: 
http://harbour-devel.1590103.n2.nabble.com/CLASSES-Instance-Variable-as-Object-Access-Assign-Elsewhere-tp4941404p4941404.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to