Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlighting the selected row - mshFlexGrid...
Message
From
14/04/2002 21:38:14
 
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00644875
Message ID:
00644895
Views:
21
This message has been marked as the solution to the initial question of the thread.
If you have two rows (one fixed and one normal), fixed row is row 0 and normal row is row 1. But you not be able see that in MouseDown event, because MouseRow returns row, containing cell with focus rectangle, which is moved on Click event. Remove code for MouseDown event, restore your first code for Click event and put breakpoint on row with Call myGridHighLight(grdOtherAdd, intRow). When you click on fixed row, intRow is 0, and when you click on normal row, intRow is 1 (if you use your first code: intRow = grdOtherAdd.MouseRow()). This first code works by me fine and i wondered why this code does not work by you.

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform