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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…
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

765 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