473,396 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

MsFlexgrid.. Color in a cell

34
Hi all..
I would like to ask.. how can i pick a cell in a flexgrid and put a color on it.. not the whole row.. a cell in a row...

If putting text..we use textmatrix... what about color...?

Need some light.. thanks..
Dec 4 '07 #1
3 11260
9815402440
180 100+
hi

to change color of a cell in grid use following color
Expand|Select|Wrap|Line Numbers
  1. with flexgrid
  2. .row = 1
  3. .col =2
  4.  
  5. .cellbackcolor = vbred
  6. 'to change color of multiple cells 
  7. .fillstyle  = flexfillrepeat
  8. .col=1
  9. .row = 1
  10. .colsel = 3
  11. .rowsel = 4
  12. .cellbackcolor = vbred
  13. end wtih
  14. useing textmatrix wont effect colors
  15. to pick a cell's color use following code
  16. .row = 1
  17. .col = 2
  18. msgbox .cellbackcolor
  19.  
regards
manpreet singh dhillon hoshiarpur
Dec 6 '07 #2
hi
pls help me to change the color of a particular letter in the row. not the entire text color..
Mar 25 '08 #3
QVeen72
1,445 Expert 1GB
pls help me to change the color of a particular letter in the row. not the entire text color..
Not possible with MSFlexGrid...

For that use "RichTextBox" control..

Regards
Veena
Mar 25 '08 #4

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

Similar topics

3
by: mefloyd | last post by:
Hello, I'd like to outline the current cell in an MSFlexGrid control with a certain color and line thickness. I thought of putting a shape control on the form and positioning it over the cell,...
5
by: MouseHart | last post by:
I've written a simple program in VB 6.0 to list all my MP3 files. To show them on the screen I used an MSFlexGrid named TextGrid (which is not associated with any table or text file) in the...
1
by: Julia Sats | last post by:
Hi, This question about MSFlexGrid from VB6 but maybe anybody here can help me: I need to select cell from grid. If I select any cell from not headers part - everything fine. But if I select...
1
by: Mad Scientist Jr | last post by:
can someone explain how to simply populate a grid in .net ? the way i understand it, there is no more msflexgrid, and instead is this new control that has to be tied to a dataset, and it is a real...
1
by: schapopa | last post by:
Hi, I have a MSFlexGrid control on the SSTab and now I am trying to make it editable. I got some example on the net that explains how to achive that. So I have a text box that appears over the...
0
by: Steven | last post by:
Hi All, Is there any method to copy the MSFlexGrid data (including the text color, cell background color etc) to the microsoft excel work sheet? By using the clipboard function, I can read the...
3
by: Rajendra Nath Jana | last post by:
I generally using one TextBox control moving from Cell to Cell into the MSFlexGrid Control to access different data type values from user. How can I use DTPicker Control, ComboBox Control,...
1
by: MiziaQ | last post by:
Hey, how can I change the background color of a cell in MSFlexGrid ? Thanks in advance, MiziaQ
2
by: MiziaQ | last post by:
Hey, how can I allow the user to edit ANY cell from any row and column in an msflexgrid ? I found the following code, but it only allows input for the first column. Thank you in advance. Private...
0
nirmalsingh
by: nirmalsingh | last post by:
hai all, what is the maximum no of characters can be placed in msflexgrid cell? is there any constraint? thanx in advance with love Nirmal
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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
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,...

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.