Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

TwebMainMenu

 Post Reply Post Reply
Author
Weetch Russell View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 Dec 2012
Posts: 199
Post Options Post Options   Quote Weetch Russell Quote  Post ReplyReply Direct Link To This Post Topic: TwebMainMenu
    Posted: 26 Mar 2020 at 1:54am
I'm having a few issues with this (look and feel wise).

If I use it in a template (referenced by the TWebPanel container id) it always sits at the very top of the page even if I have divs above it.

Also the colors don't get reflected at run time.

In the demo for this the actual menu doesn't display on the top of the form, but in mine it does (just like a Delphi main menu). I'm not sure if this is a symptom of the issue.
Back to Top
Bart Holvoet View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2313
Post Options Post Options   Quote Bart Holvoet Quote  Post ReplyReply Direct Link To This Post Posted: 26 Mar 2020 at 8:24am
Originally posted by Weetch Russell

If I use it in a template (referenced by the TWebPanel container id) it always sits at the very top of the page even if I have divs above it.

We are not aware of any issues with using the TWebMainMenu in combination with a template.
Can you please provide the following information so I can further investigate this?
- The name and version of the browser you are using
- A ready to run sample project that demonstrates the issue

Originally posted by Weetch Russell

Also the colors don't get reflected at run time.

Can you please indicate exactly which colors you are referring to?

Originally posted by Weetch Russell

In the demo for this the actual menu doesn't display on the top of the form, but in mine it does (just like a Delphi main menu). I'm not sure if this is a symptom of the issue.

Unfortunately this is a design-time limitation.
We'll have to investigate if this behaviour can be improved in a future version.
Back to Top
Weetch Russell View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 Dec 2012
Posts: 199
Post Options Post Options   Quote Weetch Russell Quote  Post ReplyReply Direct Link To This Post Posted: 27 Mar 2020 at 10:23am
I have started again from scratch and the colours (highlight, background etc) are fine. I am leaving the templating until later as I need to get the app out anyway. I'll raise another topic if it causes any problems when I get to it.

I still have the menu appearing at the top of the form in design time, while it doesn't on the demo - it's not an issue, but inconsistencies are a concern if you can't find a reason for them.
Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 9194
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 27 Mar 2020 at 10:24am
If you do not want to see the menu at design time, remove the menu from the Form.Menu property
Back to Top
Weetch Russell View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 Dec 2012
Posts: 199
Post Options Post Options   Quote Weetch Russell Quote  Post ReplyReply Direct Link To This Post Posted: 27 Mar 2020 at 10:32am
thanks Bruno. Sometimes I can't see the wood for the trees.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down