473,508 Members | 2,329 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Set the Currently Selected Row(s) to Font.Bold in MSFlexGrid?

nicebasic
91 New Member
I'm trying to find a new feature for MSFlexGrid.

As you know, we can change the BackColor of the Currently Selected Row(s) in MSFlexGrid at design time or at runtime. To change its BackColor at runtime, we can use the following code:

Expand|Select|Wrap|Line Numbers
  1. BackColorSel = vbRed
But I'm trying to find another feature. Let's assume that we have an MSFlexGrid on our form. Let's name it "Flex".

Now, is it possible to use "RowColChange" or "Scroll" events of "Flex" to cause the Currently Selected Row(s) be displayed with Bold Font? And when the Selected Row(s) change, the Unselected Row(s) change to Normal Font?

I think it's a rather difficult problem.

I have thought over it. Maybe we can read all the rows and change the Font Style of the Selected Rows. But, maybe there's a better way someone can suggest here.

Thank you for your help.
Jan 11 '11 #1
0 1541

Sign in to post your reply or Sign up for a free account.

Similar topics

10
30601
by: Darrell Wesley | last post by:
Where xlWs is an Excel.Worksheet and xlRG is an Excel.Range xlRG = xlWS.Cells(row, 7) xlRG.Font.Bold = True xlRG.Font.Color = 255 In VB6 you could just simply say xlRG.Font.Color = vbRed...
6
1405
by: trevor.niemack | last post by:
I have just done an application that will allow you to insert XML into a text box then do an xpath query to return the values against the node. I am just a beginner so for me this is really cool...
4
19535
by: Amy | last post by:
I need some help. I have this table with alternate row colors. Class gray and class white. I have javascript that do highlight when mouseover row ... and onclick to select row and highlight it...
2
1793
by: (PeteCresswell) | last post by:
Got a continuous form with name, address, and so-forth. I'd like the name to become bold for the currently-selected row. The Format|Conditional Formatting menu seems limited to the control's...
2
12388
by: David C | last post by:
I have a need to make a GridView row a different color (red) if a date exists on the row. I assume I would do this in the OnDataBound event. I know how to make a Cell(x) a different color but not...
3
2138
by: ajitkumar071 | last post by:
hi all .....please help me ... my problem is i m having a row by default.And validation works fine for this, But if i add an extra row to it.....even if i enter the values for the new added row i...
1
4327
by: MiziaQ | last post by:
Hey, how can I delete an entire row from an MSFlexGrid table, and how can I allow the user to only select one row (i.e. not allow multiselection of rows ?) Thanks in advance, MiziaQ
3
2582
by: MiziaQ | last post by:
Hey, I would like to delete a row of data from my data file, though using an MSFlexGrid. I can currently delete any selected row, though it only deletes a row from the Grid, and not the entry itself....
1
1396
by: yaksandcows | last post by:
I've just begun developing my first ASP .NET website using VWD2008 with VB. I am querying an SQL database to fill a gridview. If the text displayed in a gridview cell = a certain value contained...
0
7495
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5627
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5052
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3193
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3181
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1556
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.