Re: [ROOT] Moving TDialogCanvas

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Aug 08 2001 - 17:22:24 MEST


Hi Chris,

I have added (now in cvs) a new TDialogCanvas constructor where you can specify
the top position as for a TCanvas.

With your version, you can get teh same result if after the creation of your
object (I assumed derived from TDialogCanvas), you do:
  myDialog->SetWindowPosition(topx,topy);

Rene Brun

Chris Milne wrote:
> 
> Hi guys,
> 
> simple question, is there any way of defining WHERE on the screen a
> TDialogCanvas is placed. The code I have produces a DialogCanvas, but not always
> in the same place, and never where I want it!
> 
> Cheers
> Chris Milne
> --------------------
> Heriot-Watt University
> c.milne@hw.ac.uk



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:56 MET