Forum Discussion
Robert_Pallot
15 years agoNew Contributor
Hi again folks,
A bit more information, and in keeping with what seems to be the general theme of this thread, Robert has answered his own question ;-D
Thanks for your input
Robert (Pallot)
A bit more information, and in keeping with what seems to be the general theme of this thread, Robert has answered his own question ;-D
- Robert L is correct in his assumption that I'm using the DevExpress VCL for Delphi controls. I suspect the help relating to the DevExpress controls on this site are for the .NET versions. There are significant differences in the scoping rules between VCL and .NET which would explain my confusion.
- I tried the idea of recording a script against the UI, but have come up against the same problem: I can identify the edit control, its internal editor and the Properties.Buttons property on the control, I cannot see any properties that are declared on the Buttons collection.
- While Robert M's comment about the various internal editors in the DevExpress suite not being instantiated until they are used is correct, it is not really relevant to this situation because the Buttons collection does exist for the life of the TcxButtonEdit control.
- A bit more investigation has revealed that the TcxButtons class doesn't publish any of its properties - all the ones I'm interested in are public. So I guess I'm flogging a dead horse here.
- Some lateral thinking has revealed a path I might follow however; I can compare the widths of the control and its inner edit control. The difference will indicate how many buttons are showing.
Thanks for your input
Robert (Pallot)