Thanks,
 
I think i get the point, but, there is still something missing for me to 
understand:
 
1. I understand that (0,0) is now the "top left" of the graphic part, but, it 
is still not at the top most (Y coordinates) of the frame. i mean that the 
chart is not "attached" right below the toolbar, but 2 units below it (the unit 
displayed on the status bar).
 
2. When i stretch the frame (resize it), i would like the graphic to stretch 
with it as well...
 
3. I tried to change the distance between lines to 2 units (self.SpaceWidth = 1 
-> self.SpaceWidth = 2), in that case, it looks as if the whole graphic 
"shrinks". I want a bigger distance between two lines, but, keep the proportion.
 
before i countinue, i want to clarify exactly what my app should do (related to 
the chart example):
 
1. The list on the left (labels) can be very long (about 200 events), so, in  
my application now, there is a scroll bar, keeping always the same number of 
events in the frame.
 
2. The same applies to the number of "frames". there can be hundreds of them, 
and i need to have the ability to scroll horizontally between frames. In this 
case i have ZoomIn and ZoomOut buttons which changes the number of frames i can 
see without scrolling (in the chart example, i see two "frames" and i would 
like to scale the graphic area to view 4 "frames"...)
 
3. For future use, i wonder if it's possible to stand on one of the labels (i 
know that there is the clickable option and i saw in the examples that it's 
possible to delete polygons etc) and to delete this whole event (for example, 
remove the "Set RX Rf" event for the canvas). after the deletion there 
shouldn't be space or blank, i need the rows to "re-fit"
 
I hope i'm not asking too much, 
I would really want to do this with python (and Float Canvas),
 
So, again, thanks for any help.
 
Roy.> Date: Tue, 5 Aug 2008 11:22:14 -0700> From: [EMAIL PROTECTED]> To: 
[email protected]> Subject: Re: [fc] Need help and advice...> > ROY ZINN 
wrote:> > I read the Text.__init__ handler, the position relates to where the > 
> text will be in relation with xy coordinates. I'm looking for the xy > > 
coordinates to be on the top left of the control:> > > > 
_____________________________________> > |xy - this is what i want to get |> > 
| |> > | |> > | |> > | |> > _____________________________________ > > > > i 
would say i am looking for something like : GetTopLeftCoordinates().....> > You 
define the coordinates however you want. You'll probably figure it > out by 
looking at the code I sent, but in that code, I set up the top > left at 
(-TextWidth, 0) -- a bit strange, but it puts (0,0) at the top > of the line 
between the labels and the graphic part of the chart.> > You could make it 
(0,0) and add the TextWidth to the coords for the > graphic part.> > Note that 
I used the default y-up coordinate system, and put all the > chart below zero, 
in -y. You could also set a Projection Function to > make it y-down (see 
YDownDemo.py), but I think there may be some bugs > in text alignment if you 
use that.> > -Chris> > > > -- > Christopher Barker, Ph.D.> Oceanographer> > 
Emergency Response Division> NOAA/NOS/OR&R (206) 526-6959 voice> 7600 Sand 
Point Way NE (206) 526-6329 fax> Seattle, WA 98115 (206) 526-6317 main 
reception> > [EMAIL PROTECTED]> 
_______________________________________________> FloatCanvas mailing list> 
[email protected]> 
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to