Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 6 of 6 total |
Grid Headers |
Wed, Aug 19 2015 12:41 AM | Permanent Link |
Jim Gallagher | Beginner's question about interfaces. I open the tgridheader interface file and change the Base background color to clGreen. I build the library and run my program. The grid headers are in fact green. Then I go into the tgridheader interface file again, and change the Caption font color to clBlack (for all states). I save and build the library again. When I run the program now, the font is still showing up as clWhite in the grid headers in all states.
I'm obviously missing a step - any help appreciated. -Jim |
Wed, Aug 19 2015 11:48 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Jim,
<< Beginner's question about interfaces. I open the tgridheader interface file and change the Base background color to clGreen. I build the library and run my program. The grid headers are in fact green. Then I go into the tgridheader interface file again, and change the Caption font color to clBlack (for all states). I save and build the library again. When I run the program now, the font is still showing up as clWhite in the grid headers in all states. >> That's because the TGridColumn has a Header.Font property that overrides it. You'll notice if you drop a *new* TGrid on a form, that it will have black captions. However, there's an easy fix for this with your existing TGrid instance. Just select the TGrid instance in the form designer (the whole thing, not just one column), and click on the far-right button on the layout toolbar at the top. The button has the image of a control interface with a magic wand overlaid on top of it. Click on that button and all of your grid header captions will change to your (new) default color. Tim Young Elevate Software www.elevatesoft.com |
Wed, Aug 19 2015 12:04 PM | Permanent Link |
Jim Gallagher | Tim Young [Elevate Software] wrote:
>However, there's an easy fix for this with your existing TGrid instance. Just select the TGrid instance in the form >designer (the whole thing, not just one column), and click on the far-right button on the layout toolbar at the top. >The button has the image of a control interface with a magic wand overlaid on top of it. I understand now. I didn't see the column font property, sorry. I should have known you would have included a magic wand for my every need Brilliant, thanks. -Jim |
Wed, Aug 19 2015 12:51 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Jim,
<< I understand now. I didn't see the column font property, sorry. I should have known you would have included a magic wand for my every need >> No need for sorry - it's an easy thing to miss. There are a lot of "moving parts" with the control interfaces, especially how they interact with various control properties. Tim Young Elevate Software www.elevatesoft.com |
Wed, Aug 19 2015 1:17 PM | Permanent Link |
Jim Gallagher | Tim Young [Elevate Software] wrote:
<<No need for sorry - it's an easy thing to miss. There are a lot of "moving parts" with the control interfaces, especially how they interact with various control properties.>> I understand that we can save off different interfaces, presumably to create a different "look and feel", and point to the appropriate one for each project. If I go that route, what is the process when new releases come out, presumably with many changes to interface files. Do I need to do a compare/diff to each of my modified interface files? -Jim |
Thu, Aug 20 2015 12:02 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Jim,
<< I understand that we can save off different interfaces, presumably to create a different "look and feel", and point to the appropriate one for each project. If I go that route, what is the process when new releases come out, presumably with many changes to interface files. Do I need to do a compare/diff to each of my modified interface files? >> As a general rule, yes, I would recommend it. As things progress, I'll be modifying existing control interfaces less and less, but there may still be an occasional tweak here and there. For example, the TButton control in 2.01 will have a new Icon element in it, that you'll want to add to your control interfaces also. However, there's no real problem with *not* adding it to your interfaces. If you don't, then the Icon element simply won't get "styled" and will essentially be ignored in terms of UI updates. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Friday, April 19, 2024 at 07:09 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |