Go Premium for a chance to win a PS4. Enter to Win


MSHFlexGrid     Unbound

Posted on 2001-08-28
Medium Priority
Last Modified: 2012-05-04
i need example code of the MSHFlexGrid (Heirarchical Grid)
with UNBOUND data

Question by:adl

Accepted Solution

afsary082101 earned 200 total points
ID: 6431604

Right click on the control and selec property

in the 1st tab of the property page
set fixed rows = 1, fixed cols = 0

select 2nd tab of property page

in the bottom text box type

Col1  |Col2  |Col3  

click apply and you will see 3 columns in the grid

now on Form_Load event

MSFlexGrid1.AddItem "Text1" & vbtab & "Text2" & vbtab & "Text3"

MSFlexGrid1.AddItem "Text1" & vbtab & "Text2" & vbtab & "Text3"

MSFlexGrid1.AddItem "Text1" & vbtab & "Text2" & vbtab & "Text3"

you will see 3 rows in the grid.

Author Comment

ID: 6435367
i want to build the grid so that i can expand and collapse the data ( + and - )

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question