TC 8 x64, Scripting Problems (Element Class Names)
Posted: 2011-09-27, 00:39 UTC
Back in this thread new messages for TC scripting/ More Automation possibilities - there were some enhancement requests to enable easier interaction with TC from external (or ButtonBar) scripts. In TC 8 x64 things have deteriorated.
If it is at all possible before TC 8 goes final, could disctinctive classnames (Please) be added for the various window elements - that can be easily referenced.
Example: All of the controls in TC's window except for the ListBoxes, DriveCombos and CommandLine have a class of "Window"...
Further in TC 7.x - one could usually deduce which control the TMyPanel was referring to by its control number and/or it's text content.
If it is at all possible before TC 8 goes final, could disctinctive classnames (Please) be added for the various window elements - that can be easily referenced.
Example: All of the controls in TC's window except for the ListBoxes, DriveCombos and CommandLine have a class of "Window"...
Code: Select all
Window ClassNames
In TC 7.x TC 8 x64
ButtonBar -> TButtonBar Window
DrivePanel -> TDrivePanel Window
DriveComboBox -> TMyComboBox LCLComboBox
DriveSizeInfo -> TMyPanel Window
Tab Control -> TMyTabControl Window
Tabs -> TMyPanel Window
AddressBar -> TPathPanel Window
TabStops -> THeaderClick Window
FilePanels -> TMyListBox LCLListBox
StatusBar -> TMyPanel Window
PathField -> TMyPanel Window
CommandLine -> Edit Edit
FunctionBar -> TMyPanel Window