MSHFlexGrid     Unbound

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

Question by:adl

Accepted Solution

afsary082101 earned 100 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

808 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