Hi Pritpal, thanks, it run fine for me !!!!! but...... (always have a but ;-)) how create an object from pointer to object ???
Sample: Local oDesktop , pRect , oRect oDesktop := QDesktopWidget():new() pRect := oDesktop:screenGeometry( -1 ) ???? pRect ---> oRect Thanks and regards CdQ On Wed, Jun 3, 2009 at 12:30 AM, Pritpal Bedi <bediprit...@hotmail.com>wrote: > > Hi > > > CarozoDeQuilmes wrote: > > > > The screenGeometry() method of class QDesktopWidget return a pointer > value > > to an QRect object > > > > Question: how I call the method width() from QRect object (I have only a > > pointer to QRect object, I'm not have an QRect object!) > > > > Sample: > > > > Local oDesktop , pRect , nWidth > > oDesktop := QDesktopWidget():new() > > pRect := oDesktop:screenGeometry( -1 ) > > nWidth := ???pRect??? width() > > > > You need to create an object from pointer. > But this is not required in current scenario. > > oDesktop := QDesktopWidget():new() > nWidth := oDesktop:width() > > will do. > > Regards > Pritpal Bedi > > > -- > View this message in context: > http://www.nabble.com/Basic-question-tp23844558p23844768.html > Sent from the Harbour - Dev mailing list archive at Nabble.com. > > _______________________________________________ > Harbour mailing list > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > -- QAC (I want something comfortable !!!) - Incremental Compilation with all MiniGUIs versions QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las versiones de MiniGUI Download: www.CarozoDeQuilmes.com.ar
_______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour