![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 10 of 10 total |
![]() |
Tue, Dec 5 2017 9:30 AM | Permanent Link |
Bill | Hi all,
I need to have a TMenu object where some items have a background color and one or many other items have a different background color. Is there an easy way to do it? Many thanks in advance. |
Wed, Dec 6 2017 10:04 PM | Permanent Link |
Richard Harding Wise Nutrition Coaching | <<I need to have a TMenu object where some items have a background color and one or many other items have a different background color.
Is there an easy way to do it?>> Hi Bill I think you will that the short answer is no. What are you trying to achieve? If you are replacing an existing application and the customer really insists on everything being the same, you could deeply sympathise and explain that the standards (W3C HTML, CSS or the JavaScript standards or anything else you like to add) just does not allow that to happen. Yes, change does not always mean progress and yes, it is really bad. BUT, you could explain to the customer that you could change the text colors and any other font properties for individual items or even add some icons. Erick placed some great code which allows you change the background colors of TButton which you could change to TMenuItem. The existing menu items background does not always show a great contrast between many text colors. https://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_general&page=1&msg=13840#13840 It really depends on what you wish to achieve. Richard |
Thu, Dec 7 2017 4:16 AM | Permanent Link |
Matthew Jones | Richard Harding wrote:
> you could deeply sympathise and explain that the standards (W3C HTML, CSS or the JavaScript standards or anything else you like to add) just does not allow that to happen. Yes, change does not always mean progress and yes, it is really bad. I hesistate to say that some clients won't accept that. If they won't then it means a lot more work, but you could do menus the "old" way where you make them yourself from panels. There were some very nice menu examples posted here if someone wants to do custom completely. Just be sure you are getting paid by the hour for it. -- Matthew Jones |
Thu, Dec 7 2017 4:29 AM | Permanent Link |
Uli Becker | Bill,
> Is there an easy way to do it? As already stated: that's not possible with the standard control. You'd have to create your own menu system. Here a sample with code: https://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_demos&page=1&msg=227#227 Uli |
Thu, Dec 7 2017 5:38 AM | Permanent Link |
Michael Dreher | Uli,
// Here a sample with code: There's an FTP account in the source code you attached and I just tried an logged in successfully. This note just in case it's not public. Michael Dreher |
Thu, Dec 7 2017 12:53 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Bill,
<< I need to have a TMenu object where some items have a background color and one or many other items have a different background color. >> That's going to be problematic with the current releases of EWB. The TMenuItem control interfaces apply different backgrounds to each item, depending upon their selection/disabled/etc. state. So, by default, EWB doesn't allow you to modify the backgrounds at all. Some of this will change in a future release when I finally get the UI layer re-worked to allow any developer modifications to the appearance of controls to be saved and unaffected by transitions back to their "normal" state. I originally avoided doing this for fear of blowing up the memory consumption of EWB applications because it involves each UI element having to carry around two different representations of the control appearance - the "current" state and the "normal" state, as defined by the developer. Tim Young Elevate Software www.elevatesoft.com |
Thu, Dec 7 2017 1:21 PM | Permanent Link |
Uli Becker | Michael,
> There's an FTP account in the source code you attached and I just tried an logged in successfully. This note just in case it's not public. Ups, thanks a lot for this hint. Forgot to take it out. Uli |
Fri, Dec 8 2017 4:32 AM | Permanent Link |
Matthew Jones | Uli Becker wrote:
> > There's an FTP account in the source code you attached > > Ups, thanks a lot for this hint. Forgot to take it out. Perhaps this should lead to a request for an improvement, which would be generally good anyway. The IDE should have a list of FTP connections and details, and the project should specify which of the FTP server details it should use. So no project has the FTP details directly, and I can have a set of FTP details for my system that will work on the project we share, but your system uploads to your FTP site instead. -- Matthew Jones |
Fri, Dec 8 2017 7:42 AM | Permanent Link |
Uli Becker | Matthew,
> Perhaps this should lead to a request for an improvement, which would be generally good anyway. The IDE should have a list of FTP connections and details, and the project should specify which of the FTP server details it should use. So no project has the FTP details directly, and I can have a set of FTP details for my system that will work on the project we share, but your system uploads to your FTP site instead. Good idea! +1 Uli |
Fri, Dec 8 2017 2:45 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Matthew,
<< Perhaps this should lead to a request for an improvement, which would be generally good anyway. The IDE should have a list of FTP connections and details, and the project should specify which of the FTP server details it should use. So no project has the FTP details directly, and I can have a set of FTP details for my system that will work on the project we share, but your system uploads to your FTP site instead. >> Noted. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, March 29, 2023 at 12:35 AM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |