473,396 Members | 1,879 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.

Resize problem in VSFlexGrid

123 100+
Hi,

I have kept combobox in VSFlexGrid. Now I want to make height and width of combo box to same height and width of that cell. How to do that?

kindly help me soon if you know the asnwer.
Apr 2 '07 #1
3 2463
hariharanmca
1,977 1GB
Hi,

I have kept combobox in VSFlexGrid. Now I want to make height and width of combo box to same height and width of that cell. How to do that?

kindly help me soon if you know the asnwer.

Go to that EnterCell event

and use

Expand|Select|Wrap|Line Numbers
  1. cmbName.Top = grdName.CellTop
  2. cmbName.Width = grdName.CellWidth
  3. cmbName.Height = grdName.CellHeight
Apr 2 '07 #2
vijaydiwakar
579 512MB
Hi,

I have kept combobox in VSFlexGrid. Now I want to make height and width of combo box to same height and width of that cell. How to do that?

kindly help me soon if you know the asnwer.
vsflexhave col as inbuilt intity
just use it
Apr 2 '07 #3
Shailja
123 100+
Go to tat EnterCell event

and use

Expand|Select|Wrap|Line Numbers
  1. cmbName.Top = grdName.CellTop
  2. cmbName.Width = grdName.CellWidth
  3. cmbName.Height = grdName.CellHeight
After executig above code, I am getting an error Message "Height property is read only". I can not change the height of combobox.

Plz suggest me.
Apr 2 '07 #4

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

Similar topics

0
by: Roberto Herrera | last post by:
Hello all, I am also having problems with the vsflexGrid. I can't make work the comboliste that I loaded into the vsFlexGrid Apparently the combolist is loaded, but when I make a click in the...
11
by: Shailja | last post by:
Hi, Can anyone tell me how to enter data into VSFlexGrid at runtime? Kindly send me coding of that.
1
by: Shailja | last post by:
Hi, Can anyone tell me how to add new row dynamically at runtime in VSFlexGrid? I have only one row in my grid at runtime. Now after adding one row, i want second row to be dynamically add in...
1
by: Shailja | last post by:
Hi, Can anyone tell me how to set tab settings in VSFlexGrid? Control should move from one column to other. What property i need to set for that? Kindly let me know.
0
by: Shailja | last post by:
Hi, My form contains VSFlexGrid. There are 10 columns in it. I want to put combobox in each cell of column 2. I want to bind that combobox to database also. How to code that? Kindly help me. I...
4
by: Shailja | last post by:
Hi, How to lock perticular cell of VSFlexGrid. Suppose I want to lock cell of Row 1 and column 2. How to do that? Kindly let me know if u know.
1
by: Shailja | last post by:
Hi, Please go through the following code: i = VSFlexGrid.Rows i = i - 1 I am writting the statment VSFlexGrid.TextMatrix(i,0). Above statment generates an error "Type Mismatch".
3
by: Shailja | last post by:
Hello, I have serious problem with VSFlexGrid. I am explaining my problem : I have VSFlexGrid in my form. VSFlexGrid consists of data ie. It is filled with data. It has 9 columns. When I click...
1
by: Shailja | last post by:
I am using VB. I have one form in my project. I have following fields in that form 1) Bill No 2) Bill Date 3) Combobox of Customer 4) Address of Customer 5) Drug License No1 6) Drug License...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
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.