How to write some text (like '...') on the Buttons inside TrueDB Grid Column ?

Posted on 2003-03-24
Medium Priority
Last Modified: 2012-05-04
Hi friends,

I am using TrueDB Grid for my application, and i need to display button along with a column which 'll act as some sort of 'Browse...' button, clicking this button will launch a Popup. All such functionality is working fine, but i couln't figure out how to put some text like 'Edit...' or simply '...' on such buttons.

I do not want to use any image to get such an effect.

Pls. let me know if u have any idea to resolve such a scenario ?

I did try  - TrueDBGrid.Columns(0).value = "..." - but it works only for the current row and after every event on the grid, i had to reapply this method which is rather very clumsy...!!!


Question by:ajerath
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
  • 2

Accepted Solution

trkcorp earned 150 total points
ID: 8197844
You can set an entire column to allow the cell to be a button and then populate the cell with text via setting ButtonText property = true.  This is not the same thing as a button within a column via the Button = True, which as far as I know can only have its' appearance alterered by the use of a bitmap file.

Expert Comment

ID: 8197860
PS: There is a btmap provided with the TDBGrid called ellipsis.bmp that is the "..." you describe in the question...

Expert Comment

ID: 8531701
Hi ajerath,
This old question (QID 20561372) needs to be finalized -- accept an answer, split points, or get a refund.  Please see http://www.cityofangels.com/Experts/Closing.htm for information and options.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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 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…
Suggested Courses
Course of the Month9 days, 21 hours left to enroll

762 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