Hi,
Could someone explain to me what happens, did I do something wrong
or this is ClassDesigner issue.
I try to explore twitterClient application with ClassDesigner:
1) change directory to twitterClient\ui
2) start ClassDesigner
3) open tweezerForm.cdxml definition at start (class, properties and
method forms
are shown) - everything is ok so far
4) from CD File menu I open another class file - tweet.cdxml, but new
class form didn't shows
and method form shows tweetPanel code instead
5) now I close all three forms, but ClassDesigner remains active in
background,
what wouldn't happen if I omit step 4.
Why in such situation CD remains active in background and is this
feature or bug?
--
Regards
Jacek Kaóucki
On Jul 6, 2009, at 7:52 AM, Jacek Ka=B3ucki wrote:
> I try to explore twitterClient application with ClassDesigner:
> 1) change directory to twitterClient\ui
While I try to handle this as well as possible, it's almost =
always =20
better to start from the project's home directory.
> 2) start ClassDesigner
> 3) open tweezerForm.cdxml definition at start (class, properties and
> method forms
> are shown) - everything is ok so far
> 4) from CD File menu I open another class file - tweet.cdxml, but new
> class form didn't shows
> and method form shows tweetPanel code instead
Maybe the window is off-screen or otherwise hidden? Does its =
name =20
appear in the Window menu?
> 5) now I close all three forms, but ClassDesigner remains active in
> background,
> what wouldn't happen if I omit step 4.
That tells me that the window is open; you just can't see it for =
some =20
reason.
> Why in such situation CD remains active in background and is this
> feature or bug?
One thing you might try is to go all the way through Step 5, and =
then =20
select 'Command Window' from the File menu. That should open up an =20
interactive session window, and in that window 'self' refers to the =20
window that was active when the menu option was selected. In the =20
Command Window, run the command: self.Position =3D (50, 50)
... and see if the design surface pops into view.
-- Ed Leafe
Uÿytkownik Ed Leafe napisaó:
>
> Maybe the window is off-screen or otherwise hidden? Does its name
> appear in the Window menu?
>
>
It is definitely hidden. Winspector detect "tweet" form in screen
boundaries but it remains invisible.
And I don't have the Window menu.
> One thing you might try is to go all the way through Step 5, and then
> select 'Command Window' from the File menu. That should open up an
> interactive session window, and in that window 'self' refers to the
> window that was active when the menu option was selected. In the
> Command Window, run the command: self.Position = (50, 50)
>
> ... and see if the design surface pops into view.
>
>
I tried self.Show() but without success. Any ideas?
--
Regards
Jacek Kaóucki
And when I try to open tweet.cdxml definition at startup,
CD didn't start at all.
--
Regards
Jacek Kaóucki
On Jul 6, 2009, at 12:30 PM, Jacek Ka=B3ucki wrote:
> It is definitely hidden. Winspector detect "tweet" form in screen
> boundaries but it remains invisible.
> And I don't have the Window menu.
When you run the Class Designer, you don't have a Window menu? =20=
Something is very wrong then.
>> One thing you might try is to go all the way through Step 5, and =
=20
>> then
>> select 'Command Window' from the File menu. That should open up an
>> interactive session window, and in that window 'self' refers to the
>> window that was active when the menu option was selected. In the
>> Command Window, run the command: self.Position =3D (50, 50)
>>
>> ... and see if the design surface pops into view.
>
> I tried self.Show() but without success. Any ideas?
First, Show() (with a capital 'S') is the wx-layer call; the =
Dabo =20
method is show() with a lower-case 's'.
Second, I don't believe that it's invisible; I think that it's =
off-=20
screen. Did you try using the Position setting?
> And when I try to open tweet.cdxml definition at startup,
> CD didn't start at all.
OK, I think I see the problem. I'm getting an error when I try =
to do =20
that, too. There might be something wrong with the class itself.
=09
I don't have time to work on this now, but I'll look into it =
more =20
tonight and let you know what I find.
-- Ed Leafe
Uÿytkownik Ed Leafe napisaó:
> When you run the Class Designer, you don't have a Window menu?
> Something is very wrong then.
>
Main class form has File, Edit, View, Help and Controls menu.
> First, Show() (with a capital 'S') is the wx-layer call; the Dabo
> method is show() with a lower-case 's'.
>
OK. I tried both without success.
> Second, I don't believe that it's invisible; I think that it's off-
> screen. Did you try using the Position setting?
>
>
I'm sure it's hidden. Winspector has "Highlight" feature that shows
position in left upper quarter of screen.
> OK, I think I see the problem. I'm getting an error when I try to do
> that, too. There might be something wrong with the class itself.
>
> I don't have time to work on this now, but I'll look into it more
> tonight and let you know what I find.
>
>
Thanks.
--
Regards
Jacek Kaóucki
On Jul 6, 2009, at 12:54 PM, Ed Leafe wrote:
>> And when I try to open tweet.cdxml definition at startup,
>> CD didn't start at all.
>
> OK, I think I see the problem. I'm getting an error when I try to do
> that, too. There might be something wrong with the class itself.
Well, I was close: there was something in the class that triggered a
bug in the Class Designer. This is now fixed in the latest Subversion
commit.
-- Ed Leafe
UÃâŠÃÂŒytkownik Ed Leafe napisaÃâŠÃ¢â¬Å¡:
>
> Well, I was close: there was something in the class that triggered a
> bug in the Class Designer. This is now fixed in the latest Subversion
> commit.
>
Thank you Ed.
--
Regards
Jacek KaÃâŠÃ¢â¬Å¡ucki