delphi-2006

Creating Accessible UI components in Delphi

删除回忆录丶 提交于 2019-11-26 22:40:36
I am trying to retrieve accessible information from a standard VCL TEdit control. The get_accName() and Get_accDescription() methods return empty strings, but get_accValue() returns the text value entered into the TEdit. I am just starting to try to understand the MSAA and I'm a bit lost at this point. Does my TEdit need to have additional published properties that would be exposed to the MSA? If so would that necessitate creating a new component that descends from TEdit and adds the additional published properties such as "AccessibleName", "AccessibleDescription", etc... ? Also, note, I have

Delphi code formatter

若如初见. 提交于 2019-11-26 22:24:11
Are there any utilities that reformat Delphi code ? EDIT I am using Delphi 2006 Some feedback Thanks to all that answered this question I have been using the JCF code formatter - it works well and my code is been formated to Object Pascal Style Guide Germán Estévez -Neftalí- You can try the " Jedi code Format ". See more information here: http://jedicodeformat.sourceforge.net/ The formatting engine of DelForExp has been integrated into the code base of GExperts. An experimental version of GExperts including a "Code formatter" here: http://blog.dummzeuch.de/experimental-gexperts-version/

Delphi debug a wrong unit

不打扰是莪最后的温柔 提交于 2019-11-26 22:07:01
问题 This is an odd behaviour by my D2006 as it happens sometimes only. I have a project I want to debug. The file I want to debug is named 'Main.pas'. I have another unrelated project with the same Unit name and sometimes the Debug prompt me the wrong Main file instead of the Main unit from the current project. This have happened to me with other files with the same name. I can't debug then as the debug keys don't work (they just don't do anything). Do you have experienced the same problem? How

Creating Accessible UI components in Delphi

别说谁变了你拦得住时间么 提交于 2019-11-26 08:24:38
问题 I am trying to retrieve accessible information from a standard VCL TEdit control. The get_accName() and Get_accDescription() methods return empty strings, but get_accValue() returns the text value entered into the TEdit. I am just starting to try to understand the MSAA and I\'m a bit lost at this point. Does my TEdit need to have additional published properties that would be exposed to the MSA? If so would that necessitate creating a new component that descends from TEdit and adds the

Delphi code formatter

大兔子大兔子 提交于 2019-11-26 08:18:33
问题 Are there any utilities that reformat Delphi code ? EDIT I am using Delphi 2006 Some feedback Thanks to all that answered this question I have been using the JCF code formatter - it works well and my code is been formated to Object Pascal Style Guide 回答1: You can try the "Jedi code Format". See more information here: http://jedicodeformat.sourceforge.net/ The formatting engine of DelForExp has been integrated into the code base of GExperts. An experimental version of GExperts including a