Question about Computers & Internet

1 Answer

Flex Grid I m not able for finding flex grid control, so plz tell how can access it. How can i operation on flex grid,like click on cell,add ,delete or update. i want to open any pop up on cell click.

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 7 Answers

The most common multidimensional array, the two dimensional array table, is best presented to your users in row and column format. The grid control offers a convenient way for you to display table data to your users. The users can navigate the table's values using scrollbars. Therefore, the grid control does not have to be as large as the table, because the grid control automatically displays scrollbars.
To add the flex grid control to your toolbox, select project and components. Add the flex grid control:
Flex Grid - lesson97-1.jpg Once it is added, you will see the yellow flex grid control in your toolbox:
When you place the grid control on your form, you will have to resize it before the control takes on a tabular appearance. As you expand the size of the control, it does not look to much like a table. The problem is that the table's default number of rows and columns are two. To fix this problem, you must configure the rows and columns in the properties window:
lesson97-3.jpg lesson97-4.jpg lesson97-5.jpg The grid control supports fixed rows and columns. These refer to rows and columns in a grid control that do not scroll when the user clicks the scrollbars. The fixed rows and columns provides labels that describe the data. The fixed rows and columns are often called row and column headers.
lesson97-6.jpg When working with the grid control, much code is needed to provide the grid with functionality. Call statements are used to break the code required by the grid control into smaller, more manageable procedures. This is referred to as modular programming (which refers to the practice of placing code with a single purpose in a general subroutine procedure and then calling the code from a second procedure.)
Here is the code for the form load procedure (this example is based on the computer disk example used in the last lesson)

Private Sub Form_Load()
Call SizeCells
Call CenterCells

grdGrid.Row = 0
grdGrid.Col = 1
grdGrid.Text = "Single Sided; Low Density "
grdGrid.Col = 2
grdGrid.Text = "Double Sided; Low Density"
grdGrid.Col = 3
grdGrid.Text = "Singled Sided; High Density"
grdGrid.Col = 4
grdGrid.Text = "Double Sided; High Density"

grdGrid.Row = 1
grdGrid.Col = 0
grdGrid.Text = "3 1/2 inch"
grdGrid.Col = 1
grdGrid.Text = "$2.30"
grdGrid.Col = 2
grdGrid.Text = "$2.75"
grdGrid.Col = 3
grdGrid.Text = "$3.20"
grdGrid.Col = 4
grdGrid.Text = "$3.50"

grdGrid.Row = 2
grdGrid.Col = 0
grdGrid.Text = "5 1/4 inch"
grdGrid.Col = 1
grdGrid.Text = "$1.75"
grdGrid.Col = 2
grdGrid.Text = "$2.10"
grdGrid.Col = 3
grdGrid.Text = "$2.60"
grdGrid.Col = 4
grdGrid.Text = "$2.95"

End Sub
Notice how the form load procedure is used to populate the cells in the grid control. To control cell size and cell alignment, two smaller procedures are created and each procedure is called by the form load procedure.

Private Sub SizeCells()
Dim intColumn As Integer

grdGrid.ColWidth(0) = 1100

For intColumn = 1 To 4
grdGrid.ColWidth(intColumn) = 2200
Next intColumn

End Sub

Private Sub CenterCells()
Dim intColumn As Integer

For intColumn = 1 To 4
grdGrid.ColAlignment(intColumn) = flexAlignCenterCenter
Next intColumn

End Sub

Notice that the size and alignment procedures are only applied to columns 1 through 4. Column 0, which is a fixed column reserved for labels, is not formatted using either of the above two procedures.
Here is the final result:

Posted on Jun 17, 2008

1 Suggested Answer

  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%


Complete. Click "Add" to insert your video. Add



Related Questions:

1 Answer

Delete mystart incredibar

to delete open start go to control panel - programs- programs and features, now find the mystart incredibar and deleted all. when is done you need to deleted from your browser if you use Google at the left hand side of the page you have three options, history, extensions and settings, click extensions"' and delete incredibar... if is firefox go to tools add-ons click extensions

Oct 26, 2013 | Computers & Internet

1 Answer

What is the safe removal procedure for the Free Agent Go Flex external hard drive

Click on the icon with the green arrow in the notification area (next to the clock) a small notification about Safely Disconnect will appear listing all the connected devices - click on the entry corresponding to your GoFlex and wait for the message telling you that is safe to do it or, in some cases the icon will blink (that depends on how your pc is set up). Once that is done just take out the USB cable.

Jul 12, 2011 | Computers & Internet

1 Answer

I formatt the computer afterall only built sound not working but i lost mother board CD only problem sound not available please help my mechine M S 7336 version 1.0 HP

The software for your motherboard (assuming it is "MS 7336 version 1.0"), can be found at this link: And downloading the first file in the grid.
Or by clicking here
On that site you can also find other drivers that you might need to install to have your computer working completely.

May 30, 2011 | Computers & Internet

1 Answer

What is the uses of grid view in j2ee?

Don't have experience in that environment. I happen to have the WinForms Grid Controls Tutorial , hope it can be helpful to you.

Dec 10, 2010 | Computers & Internet

1 Answer

I want tutorials of grid computing?

The link below contains a good article about the basics of grid computing. The links provided at the end of the article offer a ton of research resources.

I offer remote control assistance too! -

Nov 20, 2009 | Microsoft Windows XP Professional With...

1 Answer

Hello sir, i am a phd problem in phd is to develope an operating system for computational grid. Kindly tell me how to start the os designing process. rahul

Hi Rahul,

I understand that you need to build operating system for computational grid. Go to the below site that will help you to understand more about the infrastructure and i presumed you have computer and electronics skill set.

Try this, im sure this will help you to kick start your project. Let me know if you still can't find any solution.


May 08, 2009 | Computers & Internet

1 Answer

How to delete Yahoo mail but not yshoo messenger

It is easy start and then go to control panel
2. click add or remove programs
3. look for yahoomail not yahoo messenger
4. ones you find it click it and click remove.

if this doesnt work please ask me again.

Apr 13, 2009 | Computers & Internet

4 Answers

Setting Datagrid runtime in Visual Basic

I think you are missing this at the end:


Sep 06, 2008 | Computers & Internet

2 Answers

What is pc health

Hello do you want to get rid to the program for good, I my self have never used Pc health.
What I would do is open your control panel>Add Remove Programs> Now find the Program Pc Health> Remove, Follow the directions and take it out. Restart your computer now and when it starts up go into your My computer. Right click the Hdd and open programs. If You get a window that tells you hidden files, Don't panic,
Go a head and open that file up and then open programs there once into that look for the Pc Health in there and right click and delete, Then restart one more time and your ready to go.. Write back here if you still are having problems, Oh Sorry I amost forgot If you don't want to remove it you can also Disable it in your control panel too. Look for Startup programs you can disable from there, I need to know what your operating system is Xp Vista let me know, Thank You

Jan 16, 2008 | Microsoft Windows XP Professional With...

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

212 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers


Level 3 Expert

98796 Answers

David Payne
David Payne

Level 3 Expert

14071 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides