Contributions
Re: Delphi VCL Object TStatusBar and TVirtualStringTree TChart
This is not what I mean. we have a 'TVirtualStringTree' object which is populated at runtime. The tree then has Items, which in turn can have sub-tree items The property'wItemCount' is 23 as well as the 'wRootItemCount for instance. But when i try to access the 'wItem' property of a specific item or the 'wItems' the application crashes. How do I access these elelments?3.4KViews0likes0CommentsRe: TestExecute: Catastrophic failure
Hi David, have you got anymore information for me?... My code is still: REM Clears the screen CLS @ECHO OFF REM Launches TestExecute, REM executes the 'Auto Testing specified project REM and closes TestExecute when the run is over REM "C:\Program Files\Automated QA\TestExecute 7\Bin\TestExecute.exe" "C:\TestComplete\TargitAppi\TARGITTestSuite.pjs" /r /p:TARGITRegressionTest /run /exit ECHO Infinite execution of TARGITRegressionTest Test ECHO Look for updates echo if found : echo Run Test and close Testexecute echo else echo Stay in Testexecute: RegressionTest :loop start /wait "TestExecute" "C:\Program Files\Automated QA\TestExecute 7\Bin\TestExecute.exe" "C:\TestComplete\TargitAppi\TARGITTestSuite.pjs" /p:TARGITRegressionTest /run /exit ping -n 20 127.0.0.1 > NUL GOTO loop And still it works in windows server 2003 and not in windows XP, when I click on the taskbar icon of testexecute and choose 'stop' or 'Exit' I get the error message: "TestExecute is in playing state. Do you want to exit?': I select Yesy and then the error appers1.9KViews0likes0CommentsRe: TestExecute: Catastrophic failure
Hi David, I am currently running a test now and will get you more datails later. But what am sure of is: when I start from the cmd scrit, TE starts. When I close the cmd window and use the right-click menu of TE to exit/close TE, then that error message comes up ( and the follow up of sending the error to you guys).1.9KViews0likes0CommentsRe: RGB method error
Hi, you are missing all the methods defined in the example. The complete example is: function Test() { var Attr; Attr = Log.CreateNewAttributes(); Attr.FontColor = RGB(192, 0, 0); Attr.BackColor = RGB(255, 255, 0); Log.Message("My message", "", pmNormal, Attr); } function CorrectRGBComponent(component) { component = aqConvert.VarToInt(component); if (component < 0) component = 0; else if (component > 255) component = 255; return component; } function RGB(r, g, b) { r = CorrectRGBComponent(r); g = CorrectRGBComponent(g); b = CorrectRGBComponent(b); return r | (g << 8) | (b << 16); } --> Its in the TC help file609Views0likes0Comments