Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[BCB5 E] Form->WindowMenu not working

21 views
Skip to first unread message

Remy Lebeau (TeamB)

unread,
Oct 25, 2003, 4:40:13 PM10/25/03
to

"Milo" <n...@spam.4.me.com> wrote in message
news:3f9a...@newsgroups.borland.com...

> But when I run the program, 3 MDI children popup as expected
> (to test), BUT when I go to the menu and click on "&Windows"
> it doesn't expand or anything; empty menu.

What you describe works just fine for me when I use it in my own apps.


Gambit

P.S. please do not cross-post. It is against Borland's newsgroup guidelines
(http://info.borland.com/newsgroups). Only post to the single most
appropriate group.


Milo

unread,
Oct 25, 2003, 4:23:51 PM10/25/03
to
I have an MDI Form (parent) and an MDI Child. I have a TMainMenu (in the
parent) where I added the standard "&File" menu, and also a "&Windows" menu,
and I set the (parent) form's WindowMenu to my WinMenu ("&Windows") But when

I run the program, 3 MDI children popup as expected (to test), BUT when I go
to the menu and click on "&Windows" it doesn't expand or anything; empty
menu.

I even tried in code to set <code>WindowMenu = WinView;</code> in the
constructor, OnCreate, OnShow, OnActivate (all in parent form.)

I also tried searching google groups but to no avail.

Thank you for any help.

--
Stan


Milo

unread,
Oct 25, 2003, 4:50:05 PM10/25/03
to

Any clue as to why it refuses to work for me? Possibly something mising from
my install?I also notice that when I open the menu maker for MainMenu and
right click, "Insert from Template" is grayed out. I'm wondering if this
could have anything to do with it?

If I have to reinstall, is it possibel just to install the missing file by
copying it from the cd or will the installer let me select it, what *it* is.
I ask because everytime I run install it resets the component tabs.

--
Stan


zhan wei ming

unread,
Oct 26, 2003, 1:13:14 AM10/26/03
to
I have the similiar problem on windowmenu: I add some sub-menu items (like
Tile, Close,Minimize All) into "Windows" menu and set windowmenu to
"Windows", it works. but later when I add some more sub-menu items into
"Windows" menu, the windowmenu doesn't work( doesn't show the childwindows).
the only difference between the sub-menus is that the previous menu item has
"action" and the latter has no "action". does this make difference?

zhan wei ming


"Milo" <n...@spam.4.me.com> wrote in message

news:3f9ae183$1...@newsgroups.borland.com...

Milo

unread,
Oct 26, 2003, 11:36:01 AM10/26/03
to
I found an article while searching google groups some more last night. Had
to copy BCB.DMT from my CD (E:\Runimage\Cbuilder5\Bin) to my local
CBuilder5\Bin and now templates work.

I was then able to Insert a Windows Menu Template. BUT, (after figuring this
out on my own with some trial and error), you need to either get rid of Show
and Hide Windows at the bottom, or add an item with just "-" for a caption
(separator) at the bottom. One way or another the last item must be a
seperator. It even works if the whole menu is just one seperator item. Child
windows are then automatically added (nicely numbered even) below that
bottom separator item.

"zhan wei ming" <zhanw...@hotmail.com> wrote in message
news:3f9b57f6$1...@newsgroups.borland.com...

Todd Brylski

unread,
Oct 26, 2003, 1:20:57 PM10/26/03
to
"zhan wei ming" <zhanw...@hotmail.com> wrote in message news:3f9b57f6$1...@newsgroups.borland.com...

Set AutoLineReduction to maManual for the window menu.

Todd


0 new messages