Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Adding small command button with elipsis at end of VSFlex grid row?

Posted on 2003-03-07
Medium Priority
Last Modified: 2013-12-25
When some rows are selected in the properties window, a small button with elipsis appears on the right hand side. When you click it, an event is fired..  Is there a way to create this in VSFlexgrid??
Question by:rkitti4
  • 3
  • 2

Expert Comment

ID: 8094219
You will find most of the Image that appear on small buttons are drawn with the Marlett,

Although I canot seem to find the elipsis.

Another possible approach would be to use thwe API DrawText with the argument end elipsis and a font to large to draw.

Expert Comment

ID: 8094230
This line

You will find most of the Image that appear on small buttons are drawn with the Marlett

Should read

You will find most of the Image that appear on small buttons are drawn with the Marlett or Symbol Font.

Author Comment

ID: 8105184
Actually, I was interested in finding a way to attach a command button to a grid created with VSFlexGrid.  What is displayed on the button isn't as important.

Accepted Solution

JohnMcCann earned 80 total points
ID: 8105287
How about using the CellPicture property and ceate you pictures as buttons.

Author Comment

ID: 8105456
Thank you for your response!  I would not have thought to look there! Your help led me to find exactly what I was looking for, so I will give you the points. Here are the details in case anyone else is looking to do the same thing..  Set the ColComboList property as follows VSFlexGrid1.ColComboList(2) = "..." and elipsis will appear to the right of the column specified.  Then trap the CellButtonClick event.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

572 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