Solved

VB5 Flexgrid: Dblclk:Rowhighlighting Off

Posted on 1998-08-13
4
293 Views
Last Modified: 2010-04-30
I am using msFlexgrid(VB5) and rowhighligh selection mode is selected. When I single click its of. When I use doubleclick and run some code, the row becomes unhighlighted. I want it to remain highlighted even when the set focus is on some other field.
Any suggestion.
0
Comment
Question by:devesh032698
4 Comments
 
LVL 6

Expert Comment

by:clifABB
ID: 1468807
By 'some other field' I assume you mean another control.
Maker sure the Highlight property of the MSFlexGrid is set to 1 - Always

0
 

Author Comment

by:devesh032698
ID: 1468808
I am afraid, The Rowhighlight property is already set to 1-Always. It does not solve the problem.
Any further suggestion please
Thanks.
0
 
LVL 1

Expert Comment

by:jonder
ID: 1468809
Set the    FocusRect: 0 - flexFocusNone


0
 
LVL 2

Accepted Solution

by:
Bhargava earned 50 total points
ID: 1468810
check if it helps by setting the MergeCells property of the grid to 0-Never
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now