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

Reply via email to