473,395 Members | 1,666 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,395 software developers and data experts.

Microsoft Flex Grid

I am trying to create a function that is called on the Flex Grid's
MouseDown event. However, this event is not listed in the properties
for this object. I tried to manually create the prototype for this
event as:

Private Sub flGrid_MouseDown(Button As Integer, Shift As Integer, X As
Single, Y As Single)
End Sub

This only gives me an error. I read on one posting that you should
always have the IDE create the prototype for you. But I do not see
this event in the Flex Grid's properties! What am I doing wrong?
Thank you for your help.

-Vincent

Mar 12 '06 #1
9 10729
"Vincent" <an**********@verizon.net> wrote in
news:11*********************@j33g2000cwa.googlegro ups.com:
I am trying to create a function that is called on the Flex Grid's
MouseDown event. However, this event is not listed in the
properties for this object.


Why would you use a 3rd-party control in Access, where the built-in
subforms work so well and are completely integrated into the
product?

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Mar 12 '06 #2
If this is a 3rd-party control, why is it called the Microsoft Flex
Grid and not the David W. Fenton Flex Grid?

Mar 12 '06 #3
"Vincent" <an**********@verizon.net> wrote in
news:11**********************@i40g2000cwc.googlegr oups.com:
If this is a 3rd-party control, why is it called the Microsoft
Flex Grid and not the David W. Fenton Flex Grid?


It's 3rd-party in the sense that it's non-native to Access. Access
provides its own controls for this purpose that are far easier to
use and more versatile.

If you're not trying to use the grid in Access, then you're posting
in the wrong newsgroup.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Mar 13 '06 #4
I am trying to use this grid in Access. And if there is an easier
control for this purpose, by all means, do not leave me in suspense!
Are there controls in Access that will allow me to:

dynamically alter the number of rows and columns?
change the text color and cell color of individual cells?
allow me to drag and drop between cells?

-Vincent

Mar 13 '06 #5

"Vincent" <an**********@verizon.net> wrote in message
news:11*********************@e56g2000cwe.googlegro ups.com...
I am trying to use this grid in Access. And if there is an easier
control for this purpose, by all means, do not leave me in suspense!
Are there controls in Access that will allow me to:

dynamically alter the number of rows and columns?
change the text color and cell color of individual cells?
allow me to drag and drop between cells?

-Vincent


No. That is to say you can do most of those things
one way or another, but it's not really supported
by Access.
Mar 13 '06 #6
Per David W. Fenton:
Why would you use a 3rd-party control in Access, where the built-in
subforms work so well and are completely integrated into the
product?


I don't like the idea either - but only from a distribution/installation
perspective.

But one reason would be to allow formatting certain rows differently from others
in a continuous form. I've got a glimmer of recollection that some new
event/property in 2003 might facilitate this, but for earlier versions a
third-party control might do things that cannot be done with native Access
controls.
--
PeteCresswell
Mar 13 '06 #7
Try opening the Visual Basic Editor ([Alt-F11]), choosing the name of
your FlexGrid control in the left drop-down list, then choose the
MouseDown event in the right drop-down list. That gave me:

Private Sub flGrid_MouseDown(ByVal Button As Integer, ByVal Shift As
Integer, ByVal x As Long, ByVal y As Long)

Mar 13 '06 #8
Gord,

Where are you finding this MouseDown event for the Flex Grid? I
see no such thing anywhere in my editor. Thanks.

-Vincent

Mar 19 '06 #9
>Where are you finding this MouseDown event for the Flex Grid?

In the Visual Basic Editor, as I described earlier. After adding a
FlexGrid control to a form the MouseDown event does not appear in the
Properties page for the control in the Access form designer, but it
does appear in the Visual Basic Editor (for me, at least).

Mar 20 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Brian Holbrook | last post by:
I am new to VB .Net. Is there anything close to what a flex grid was in VB 6.0? By this I mean being able to manipulate and add text data that is not in a database. I would be taking data from...
2
by: Qumer Mumtaz | last post by:
H How to us MS Flex Grid in C#.I mean how to add columns and rows at run time and how to assign values to the columns and rows ? Any help in this regard will be appriciated Plz reply sooon............
0
by: ChitraCK | last post by:
Hi, I have a flex grid with the size that it can show the user 4 rows at a time. When there exceeds more than 4 rows it asutomatically puts the vertical scroll bar. On click of scroll bar to see...
1
by: Stroumfs | last post by:
Hi! Can anyone tell me how can i print a flex grid? I created a button print below the flex grid.What code should i write in order to print? and how can i can i change the colour and the font of...
1
by: Sero96 | last post by:
I am working on a project in vb.net and i want to know how to use flex grids to display information. Now want i want to put into the project is the example here: ...
10
by: Jules Winfield | last post by:
Guys, I've been designing applications for the financial services industry using MSFT technologies for many years (Win32 API, MFC, and now .NET WinForms). All applications are Internet-based,...
3
by: charvi | last post by:
hi I am new to vs flex grid.now after entering the data to flex grid which contains four columns how to save the entered data to a table my table is in ms access thankx in regards
1
by: charvi | last post by:
hi now i want to add all the names from table to combo column in flex grid.whr is the syntax now my flex grid column 3 acta as combo box how can i code pls help
1
by: Bills | last post by:
Hi, I am looking for a grid that supports the following requirements: Firstly, I need to bind a datatable (which I fetch from a database) to the grid. I then need to be able to add columns...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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,...

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.