Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Downloads
Search: 

Grid Highlighter v. 3.8.2
Nick Neklioudov, Cgi Group Inc.
You said you wanted highlighted row in the grid? Forget adding properties and code in different places. Forget creating a special grid class with built-in highlight row functionality. You don't need to do it anymore.
Created on
23 years ago
Downloads
12074
File type
Freeware
Rating
4.77/5.00
General information
Rating:
4.77/5.00 (13 rates) Rate this item
Description
All you need: 1. Drop the instance of GridHighlighter class beside your grid (at the same level that is) 2. Set GridHighlighter1.cHostname property the same as your Grid.Name (i.e. "Grid1", "grdCustomers", etc.) 3. Add one line of code to your Grid.AfterRowColChange() event: this.parent.GridHighlighter1.Highlight_Row() 4. Voila! There you go. :) 5.(Optional) Set the corresponding GridHighlighter properties if you don't like the default
highlight color,
or if you want to choose
highlight,
or boldface
(default setting is both).
You may set the distinct ForeColor for the entire highlighted row. You may add a custom expression to conditionally highlight a group of records with the desired color. You can also have
active column header highlighted, including distinct ForeColor and FontBold.
GridHighlighter works in VFP 3, 5, 6 and 7. 10/04/2000 - Version 2.0. Completely redesigned. 10/18/2000 Sample forms and README.TXT updated. 12/22/2000 Version 3.2. A major rewrite. Changes in version 3.2. : Grid Highlighter 3.2 respects the grid and/or individual column ForeColor and BackColor settings. Therefore, .cNormalColor property does not exist anymore. Note that highlighting works properly even if you have Column.Sparse property set to .F. for any column(s). New ability to set the distinct ForeColor for the entire highlighted active row (with .lSetForeColor and .cHighForeColor properties) New ability to conditionally highlight a group of records meeting the criteria (a valid expression) in .cCustomCondition property. Note that in order to be able to use this option you have to specify the condition and set .lCustomCondition = .t. 01/14/2001 Version 3.5.1 01/15/2001 Version 3.5.2 Code update. Changes in version 3.5: Grid Highlighter 3.5 respects the individual column header BackColor setting. Therefore, .cNormalHeaderColor property does not exist anymore. You can now set the distinct active header ForeColor, and make it's font bold Starting in version 3.5 you don't need to call GridHighlighter.Init() if your Grid.Recordsource changes on the fly. All you need to do - make sure that after changing the RecordSource your grid receives the focus (or Grid.AfterRowColChange() is called) so the flashing is minimal. 01/22/2001 Version 3.6.1 In version 3.6 you can set the .cActiveHeaderColor and .cActiveHeaderForeColor to be empty - (None) This allows you to use any combinations of active header Highlight/Distinct ForeColor/Bold effects. I.e., if the .cActiveHeaderColor property is empty you may have the distinct ForeColor and FontBold for the active header. 02/26/2001 Version 3.7.1 This version allows you to instantiate Grid Highlighter at the runtime like this:
Thisform.AddObject("Gridhighlighter1", "Gridhighlighter", "myGrid1")
New hook method added: OnPostSetDynamicColor() It is useful, for example, in cases when by some reason you want to disable the highlighting for one or more columns in the grid. onBeforeHighlight_row method renamed to onPreHighlight_row. 03/22/2001 Version 3.7.2 Minor bug fix. 05/28/2001 Version 3.7.3 Minor bug fix. 06/14/2001 Version 3.7.5 Increased reliability in some situations. 07/09/2001 Version 3.8.1 New feature: Highlight the active cell with distinct Fore/Back color. 03/27/2002 Slight update to Destroy() method. See details in README.DOC
Created by
Nick Neklioudov, Cgi Group Inc.
Nick Neklioudov, M.Sc., CNA, works as Senior Analyst with CGI Group Inc. in Halifax, Nova Scotia, Canada. Programming in all versions of FoxPro/VFP since 1987, in .Net since 2003, not counting some other developer tools and environments. Nick received Microsoft Most Valuable Professional award three times. Nick Neklioudov has over 20 years experience with computers and information technologies, especially in database-oriented programming, object-oriented programming and information systems devel...

Comments
Nick, the tool is great except I don't like the cyan column header highlight. I didn't want to change this in all my forms so I get .lSetColorHeader to .F. in my version of the class. Thereafter it wouldn't work to highlight the rows. Set the property back as it was and still no work. I tried changing a few of the similat logical fields, re: the header (thinking maybe I'd set/unset te wrong one) and the class no loinger functions, in the same way as above, and can't be reset to working. Terry McDonnell, May 6, 2005

The class version 3.8.2 has source code included, starting June 27, 2005 Nick Neklioudov, May 7, 2005

When the property theme is true, the color header is unchageable... D'Amico Stefano, August 4, 2007

Nick, I use this great tools for years, without any pb, although using it with a grid having a cursor name generated with a SYS(2015), result into a trouble with the dynamicforecolor,..backcolor,..bold for the column. The same, using Highlight Color(VFP9) is working correctly. Is that a way to avoid this? Thanks Guy Bonemme, September 18, 2007

I'm missing how to use the cCustomCondition to look at a value in the grid to determine whether the group highlight should be turned on. Scott Pascoe, September 17, 2009

Add a comment
More downloads created from this member
Nick Neklioudov, Cgi Group Inc.
You want to drag and drop cell values within the grid, between the grids or to outside controls? Forget to think of it as a very complicated task that requires adding properties and code in many different methods/controls. Nothing is easier if you have GridDragDropper. You just need to drop GridDrag...
Created on
23 years ago
Downloads
3112
File type
Freeware
Nick Neklioudov, Cgi Group Inc.
FoxSpeaker is an applicaton that allows you to add speech capabilities to your VFP forms and add comments to all your controls. Any form can be turned into an interactive demo or tutorial easily. FoxSpeaker does not require any changes to your forms except adding one button to switch FoxSpeaker on/...
Created on
23 years ago
Downloads
3233
File type
Nick Neklioudov, Cgi Group Inc.
The purpose of this container class is to provide the ability to work with the delimited text files as a source for the combobox/listbox. Think of it as equivalent of adding the RowSourceType 10 - TextFile to the combo/listboxes with the text data type. It allows you: - fill your combo/l...
Created on
24 years ago
Downloads
1754
File type
Nick Neklioudov, Cgi Group Inc.
Allows to automatically replace the application EXE (and other files) with the newest version from the location on the server. The list of files to update is in LAUNCHER.INI text file. All you need to do - to point your shortcut on the workstation to Launcher.exe and pass it the parameter (your loca...
Created on
24 years ago
Downloads
1659
File type
Rating
4.00/5.00
Nick Neklioudov, Cgi Group Inc.
This little program allows to create a new class library with all classes subclassed from another class library. Usage: DO SUBCLASS_IT WITH 'c', 'MyNewLibrary'. The first parameter is new subclass prefix (allowed to be empty). Second parameter is a new class library name. Do not forget to ma...
Created on
24 years ago
Downloads
920
File type
Nick Neklioudov, Cgi Group Inc.
Pick-A-Project is the simple VFP form which runs in your development environment. It can help you easily organize your numerous VFP projects and switch between them.
Created on
25 years ago
Downloads
1352
File type
Rating
5.00/5.00
Nick Neklioudov, Cgi Group Inc.
Being dropped on any Pageframe page changes Page Caption appearance when the page is Active/Inactive. You may manipulate the ForeColor, FontName and FontSize of the Page tab Caption. Automatically refreshes the Page when it is activated (if the property is set to .T. to do so). Does not require a...
Created on
27 years ago
Downloads
2513
File type