74.2-x=37.6这个x方程式玻尿酸怎么解

扫二维码下载作业帮
拍照搜题,秒出答案,一键查看所有搜题记录
下载作业帮安装包
扫二维码下载作业帮
拍照搜题,秒出答案,一键查看所有搜题记录
氯同位素de 运算氯有两种天然同位素Cl-35,Cl-37,其物质的量之比为3:1,则式量为70、72、74的三种氯气分子数之比为(选ABCD)?1、6:6:1 2、6:3:1 3、3:2:1 4、9:6:1 A、1、2 B、2、4 B、1、4 B、2、3
█血刺裁决█礗
扫二维码下载作业帮
拍照搜题,秒出答案,一键查看所有搜题记录
其中Cl35:Cl37=3:1假设Cl37为X则Cl35为3X分子式量为70分子为Cl35Cl35(amol)分子式量为72分子为Cl35cl37(bmol)分子式量为74分子为Cl37Cl37(cmol)2a+b=3X;b+2c=X;(2a+b)/(b+2c)=3:1;整理的a=b+3c;将答案依次代入可得2,4正确故选B
为您推荐:
其他类似问题
扫描下载二维码扫二维码下载作业帮
2亿+学生的选择
下载作业帮安装包
扫二维码下载作业帮
2亿+学生的选择
解方程x÷3=2.1(此题要检验)&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&5.4+0.6x=6.6x-0.85x=6&&&&&&&&&&&&&&&&&&&&&&&&&3x-2.7=12.3&&&&&&&&&&&&&&&&&&7x-3x+26=74.
神水盟1Fa6
扫二维码下载作业帮
2亿+学生的选择
(1)x÷3=2.1&&&&& x÷3×3=2.1×3&&&&&&&&&&& x=6.3;检验:当x=6.3时,左边=6.3÷3=2.1,右边=2.1,左边=右边,所以x=6.3是原方程的解.(2)5.4+0.6x=6.6&5.4+0.6x-5.4=6.6-5.4&&&&&&&&&0.6x=1.2&& &0.6x÷0.6=1.2÷0.6&&&&&&&&&&&&x=2;(3)x-0.85x=6&&&&&& 0.15x=6&0.15x÷0.15=6÷0.15&&&&&&&&&& x=40;(4)3x-2.7=12.3&3x-2.7+2.7=12.3+2.7&&&&&&&& 3x=15&&&&& 3x÷3=15÷3&&&&&&&&& x=5;(5)7x-3x+26=74&&&&&&& 4x+26=74&&&& 4x+26-26=74-26&&&&&&&&&& 4x=48&&&&&&& 4x÷4=48÷4&&&&&&&&&&& x=12.
为您推荐:
(1)根据等式的性质,两边同乘以3即可,检验就是把x的值分别代入方程的左右两边,看左右两边的值是否相等;(2)根据等式的性质,两边同时减去5.4,再同时除以0.6即可;(3)先化简方程,再依据等式的性质,方程两边同时除以0.15即可求解;(4)根据等式性质,两边同加上2.7,两边再同除以3即可;(5)先化简方程为4x+26=74,根据等式性质,两边同减去26,两边再同除以4即可.
本题考点:
方程的解和解方程.
考点点评:
在解方程时应根据等式的性质,即等式两边同加上、同减去、同乘上或同除以某一个数(0除外),等式的两边仍相等,同时注意“=”上下要对齐.
扫描下载二维码扫二维码下载作业帮
拍照搜题,秒出答案,一键查看所有搜题记录
下载作业帮安装包
扫二维码下载作业帮
拍照搜题,秒出答案,一键查看所有搜题记录
3.2×5.6-11.4
5.74×99+5.74
4.75+3.25×2.4+7.6
3.8×1.4+18.2÷0.7
7.63×99+7.63
9.4-1.2÷0.6+6.24
6.73+2.56+1.44+3.27
2.37×2.5×4
2.8×3.2+3.2×7.2
3.76×0.25-0.49
0.25×4.78×4
1.2×2.5+0.8×2.5.
月光书生嗼i
扫二维码下载作业帮
拍照搜题,秒出答案,一键查看所有搜题记录
(1)0.125×16=0.125×8×2,=1×2,=2;(2)3.2×5.6-11.4=17.92-11.4,=6.52;(3)5.74×99+5.74=(99+1)×5.74,=100×5.74,=574;(4)4.75+3.25×2.4+7.6=4.75+7.8+7.6,=20.15;(5)3.8×1.4+18.2÷0.7=5.32+26,=31.32;(6)4.8×0.25=4×0.25×1.2,=1×1.2,=1.2;(7)4.7×10.2=47.94;(8)7.63×99+7.63=(99+1)×7.63,=100×7.63,=763;(9)9.4-1.2÷0.6+6.24=9.4-2+6.24,=13.64;(10)6.73+2.56+1.44+3.27=(6.73+3.27)+(2.56+1.44),=10+4,=14;(11)2.37×2.5×4=2.37×(2.5×4),=2.37×10,=23.7;(12)1.5×102=1.5×100+1.5×2,=150+3,=153;(13).5=2400÷8÷(2×0.5),=300÷1,=300;(14)2.8×3.2+3.2×7.2=(2.8+7.2)×3.2,=10×3.2,=32.(15)3.76×0.25-0.49=0.94-0.49,=0.45;(16)0.25×4.78×4=(0.25×4)×4.78,=1×4.78,=4.78;(17)0.65×201=0.65×200+0.65,=130+0.65,=130.65;(18)1.2×2.5+0.8×2.5=(1.2+0.8)×0.25,=2×0.25,=0.5.
为您推荐:
完成本题据数乘法、除法、加法及四则混合运算法则计算即可,在计算时要注意分析式中数据,采用合适的方法简算.
本题考点:
小数四则混合运算.
考点点评:
完成算式(4)(5)时不要被式中数据所迷惑,错用运算定律.
扫描下载二维码解方程.7.6+x=34.5 9.4x-0.4x=16.2 x÷0.4=35.24.5x=9 x+74=37.5÷x=0.252=9.8 5(x-2)=2x+5 18(x-2)=270 题目和参考答案——精英家教网——
暑假天气热?在家里学北京名师课程,
& 题目详情
解方程.7.6+x=34.5&&&&&&&&&&&&&9.4x-0.4x=16.2&&&&&&&&&&&x÷0.4=35.24.5x=9&&&&&&&&&&&&&&&&&&&x+74=3(x-26)7.5÷x=0.252(x+x+0.5)=9.8&&&&&&&&&&5(x-2)=2x+5&&&&&&&&&&&&18(x-2)=270
考点:方程的解和解方程
专题:简易方程
分析:(1)根据等式的性质,在方程两边同时减去7.6,即可得解.(2)先根据乘法分配律将方程化简,再根据等式的性质,在方程两边同时除以9,即可得解.(3)根据等式的性质,在方程两边同时除以4.5,即可得解.(4)根据等式的性质,在方程两边同时减去7.6,即可得解.(5)先根据乘法分配律将3(x-26)化简,再根据等式的性质,在方程两边同时减去x,加上78,除以2,即可得解.(6)根据等式的性质,在方程两边同时乘以x,除以0.25,即可得解.(7)先根据乘法分配律将2(x+x+0.5)化简,再根据等式的性质,在方程两边同时减去1,除以4,即可得解.(8)先根据乘法分配律将5(x-2)化简,再根据等式的性质,在方程两边同时加上10,除以3,即可得解.(9)先根据乘法分配律将18(x-2)化简,再根据等式的性质,在方程两边同时加上36,除以18,即可得解.
解:(1)7.6+x=34.5&&&&& 7.6+x-7.6=34.5-7.6&&&&&&&&&&&& x=26.9&(2)9.4x-0.4x=16.2&& (9.4-0.4)x=16.2&&&&&&&&&&& 9x=16.2&&&&&&&&&&&& x=1.8&&(3)x÷0.4=35.2& x÷0.4×0.4=35.2×0.4&&&&&&&&&&& x=14.08& (4)4.5x=9&&4.5x÷4.5=9÷4.5&&&&&&&& x=2(5)x+74=3(x-26)&&& &x+74=3x-3×26&&& &x+74=3x-78& &x+74-x=3x-78-x&&&&& &74=2x-78&&&&74+78=2x-78+78&&&&& 152=2x&&&&& &2x=152& &&2x÷2=152÷2&&&&& & x=76& (6)7.5÷x=0.25&& &7.5÷x×x=0.25×x&&&&& &&& 7.5=0.25x&&&&&&& &0.25x=7.5&&&0.25x÷0.25=7.5÷0.25&&&&&&&&&& & x=30(7)2(x+x+0.5)=9.8&&&& &2x+2x+2×0.5=9.8&&&&&&&&& &&& 4x+1=9.8&&&&&&& && 4x+1-1=9.8-1&&&&&&&&&&& && 4x=8.8&&&&&&&&&& &4x÷4=8.8÷4&&&&&&&&&&&&& & x=2.2(8)5(x-2)=2x+5&&&& &5x-5×2=2x+5&&&& && 5x-10=2x+5&&& &5x-10+10=2x+5+10&&&&& &&&&&5x=2x+15&&&&& & 5x-2x=2x+15-2x&&&&&&&&&& 3x=15&&&&&& &3x÷3=15÷3&&&&&&&&&&& x=5(9)18(x-2)=270&&& &18x-18×2=270&&&&&& &18x-36=270&&& &18x-36+36=270+36&&&&&&&& & 18x=306&&&&& &18x÷18=306÷18&&&&&&&&&&& &x=17
点评:此题考查了根据等式的性质解方程,即等式两边同加上、同减去、同乘上或同除以一个不为0的数,等式仍相等.同时注意“=”上下要对齐.
科目:小学数学
已知道油箱是个底面半径为0.4米,高1.5米的圆柱,现在要给油箱套表面涂上绿漆,涂漆面积为多少平方米?(得数保留两位小数)
科目:小学数学
用简便方法计算(写出计算过程) 285+195+105+415643-48-12-4025×328×48×125360÷45148×8+152×899×3425×201-25125×13×835×10265×67+33×65
科目:小学数学
小兰和小芳为了参加学校运动会1分钟踢毽子比赛,提前8天进行训练,每天测试的成绩分别如下表:&12345678小兰7278798077798183小芳7577807880827981请在下图中画出小兰和小芳测试成绩的折线统计图.小兰和小芳的成绩呈现什么变化趋势?谁的进步大?
科目:小学数学
某品牌的自行车促销活动,甲商场六折,乙商场“满100送40”,李叔叔要买一辆标价870元的自行车,选择哪个商场更省钱?
科目:小学数学
甲数是,乙数是甲数的,乙数是.
科目:小学数学
解方程.(1)8x+6x=210&&&&&&&&&&&&&(2)16x-x=9&&&&&&&&&&(3)12x÷16=4.32(4)0.8x+4=7.2&&&&&&&&&(5)9-2x=x-3&&&&&&&&&&(6)(x+3)×2=5x-3.
科目:小学数学
如图是一张百数表,它能帮助我们学习很多关于“因数和倍数”的数学知识.请你用“-”划出所有3的倍数,用“○”圈出所有9的倍数.从你圈出的数中,你能归纳出能被9整除的数的特征吗?
科目:小学数学
看图列方程解答.
精英家教网新版app上线啦!用app只需扫描书本条形码就能找到作业,家长给孩子检查作业更省心,同学们作业对答案更方便,扫描上方二维码立刻安装!
请输入姓名
请输入手机号Delphi XE2 and C++Builder XE2 Update 4 Bug Fix List
RegionsCountries
Watch, Follow, & Connect with Us
Please visit our new home .
Delphi XE2 and C++Builder XE2 Update 4 Bug Fix List
Abstract: List of user reported issues that are fixed in Update 4 for Delphi XE2, C++Builder XE2 and RAD Studio XE2
&&The following is a list of user reported issues that have been fixed in Update 4 to Delphi XE2, C++Builder XE2 and RAD Studio XE2. You can get Update 4 ISO at&.
You can check for all fo the latest updates and free additional software on the registered user pages for&,&&and&.
Date Reported:
Description:
[QC Short Description]
incorrect code generated by Delphi XE + XE2 IDE for event handler
[QC Description]
there are a number of duplicate issues but it is not an I it is an IDE issue and a very anoying one.
one cannot trust the code the IDE generates... why would I trust the
compiler to generate executables that actually work. This is mindblowing
! I understand there ma I cannot understand why it
is not fixed in the latest XE2 release.
This is going to be a &showstopper& in all of my new projects (32 and 64 bit)
QC Entry 98590
Incorrect code generated by Delphi XE + XE2 IDEfor event handler
Using Delphi XE2 !!
1. Create a new VCL application. 2. Place an tidUDPserver component on the new form 3. Double click the OnUDPRead event
generates error: &Expected '&' but '.' found.&
generated code: procedure TForm1.IdUDPServer1UDPRead(AThread: TIdUDPListenerT
AData: TArray&System.Byte&; ABinding: TIdSocketHandle);
the AData: TArray&System.Byte& should be AData: TidBytes as declared in
(idUDPserver.pas:)
TUDPReadEvent = procedure(AThread: TIdUDPListenerT AData: TIdB ABinding: TIdSocketHandle)
(idGlobal.pas) ...
{$IFDEF HAS_TBytes}
TIdBytes = TB
TIdBytes = array of B
(System.SysUtils.pas) ...
TBytes = TArray&Byte&;
(System.pas) ...
TArray&T& = array of T;
cannot believe this bug is still in XE2 ! Please fix this. I was already reported by Indy
Date Reported:
10/26/2011
IDE\Dialogs\Environment Options
Description:
[QC Short Description]
IDE Search path is modified after opening the project options dialog (Project\Options)
[QC Description]
IDE Search path is modified after opening the project options dialog (Project\Options).
environment variables will be expanded, ie
$(BDSLIB)\$(Platform)\release becomes c:\program files\embarcadero\rad
studio\9.0\lib\Win32\release
It happens on a fresh Delphi XE2 installation. I can reproduce it all the time.
QC Entry 100462
Delphi XE2 Open IDE Options dialog box and check the search path library (should be
populated with stuff like $(BDSLIB)\$(Platform)\release) Close IDE Options (OK button) Create a new VCL Application Open the project's options dialog box Close the project's options dialog box (OK button) Open IDE Options dialog box and check the search path library
Act : all environment variables are expanded now (ie
$(BDSLIB)\$(Platform)\release becomes c:\program files\embarcadero\rad
studio\9.0\lib\Win32\release) Exp: : search path library should be unchanged
Date Reported:
IDE\Code Editor
Description:
[QC Short Description]
REGRESSION: &Open File At Cursor& fails when only Delphi personality is used
[QC Description]
one is using only the Delphi personality when Delphi and C++Builder are
installed (-pDelphi) or one has only Delphi installed then &Open File
At Cursor& (CTRL+ENTER) fails for units that are not explicitly added to
the project/aren't in the project source (DPR).
This is regression from XE.
QC Entry 102434
1. Start only the Delphi personality (param -pDelphi when Delphi and C++Builder are installed) 2. Extract the attached test case 3. open OpenFileAtCursorUp3Bug\Project1.dpr 4. open Code View of Unit1 5. Place the caret on the &Unit2& in the uses list 6. Press CTRL+ENTER
Expected: The SubDir\Unit2.pas is openend
Actual: The open dialog pops up showing &Unit2& without the &.pas& suffix.
Date Reported:
11/13/2011
IDE\Code Editor
Description:
[QC Short Description]
Shortcut Overlapped - Ctrl+Shift+D
[QC Description]
Up to Delphi 2010 the Ctrl+Shift+D shortcut opens Refactor & Declare Field form.
In the Delphi XE2 this command open s the Documentation form.
Please change one of the shortcuts
QC Entry 100989
Using code editor, press Ctrl+Shift+D in Delphi 2010 opens the Refactor Declare Field Form Using code editor, press Ctrl+Shift+D in Delphi XE2 opens the Documentation Form
Date Reported:
IDE\Form Designer
Description:
[QC Short Description]
Inheritable Items in VCL
[QC Description]
Inheritable Items error in VCL
&Error Reading Form 'Root'. Access violation at address .
Please see [Steps].
QC Entry 99432
1. Start Delphi XE2
2. Create a new VCL Application
3. Toggle to from form design to code view * important step *
4. File-&New-&Other... Inheritable Items-&Form1 anda OK
Error message: &Error Reading Form 'Root'. Access violation at address .
{ USc: alternative steps from german Delphi-PRAXiS forum
&Delphi XE2: Fehler beim Ableiten eines Formulars&
www.delphipraxis.net/165666-delphi-xe2-fehler-beim-ableiten-eines-formulars.html }
- start Delphi
- create a new VCL application
- save all
- build (SHIFT+F9)
- F12 (switch to Code View)
- CTRL+Mouse click to open Vcl.Dialogs.pas from interface uses clause
- switch back to the VCL application main form, but do *not* active the Design tab
- File | New | Other
- select the main form on page &Delphi Projects& | &Inheritable Items&
expected: new VCL form inherited from the existing main form will be created
- dialogs &Error Reading Form: 'Root'&, &Error reading Root.Caption: Access violation...&
- error message
[Window Title]
Error creating form: Access violation at address 503359EC in module 'vcl160.bpl'. Read of address 3F23F0E6.
- warning message
[Window Title]
Unit &Unit2.pas& is incompatible with the VCL framework used by the project.
Adding it may result in compilation errors or unexpected behavior. Continue?
[Yes] [No]
(Yes creates a FMI form)
Date Reported:
10/29/2011
IDE\Form Designer
Description:
[QC Short Description]
IDE locks up after changing the Form class name in source code.
[QC Description]
intentional or accidental form class name change and you want to see
Form (F12) in this article Delphi will be show you a error message then
hong and CPU usage & %50 (No completely, if hold and stay ESC key you
will see delphi work and show repeated message) and you must be end
task it with Task manager!
Now, If you forget to save the sources, your datas will be lose. This is very disturbing.
QC Entry 100568
Simple way:
1) Create new VCL frorm application project
2) Go form source and rename Form Class Name (TForm1 -& TForm2) .
TForm1 = class(TForm) // Change TForm1 to TForm2
{ Private declarations }
{ Public declarations }
3) Press F12 for view form.
4) Now you must be end task bds.exe
Note (from Iulian): This is a regression. I checked it on Fulcrum and the bug doesn't reproduces.
Date Reported:
10/31/2011
IDE\Form Designer
Description:
[QC Short Description]
XE2 Compiler is raise error and hong, when I put a character after variable declaration in class section
[QC Description]
intentional or accidental you put any character after a component
variable declaration then you want to see Form (F12) in this article
Delphi will be show you a error message then hong and you must be
terminate it with Task manager!
This error occurs only in system
variable declaration, if put any character after user declaration
section this error does not occur.
Important:
If you forget to save the sources, your datas will be lose.
QC Entry 100595
1) Create New Project 2) Put any visual component on form. (I put TEdit ) 3) Go source code and put a character ( Such as &a& ) 4) Press F12 for view form
TForm2 = class(TForm)
Edit1: TE a // ---& Raise error and compiler will Hong
{ Private declarations }
{ Public declarations }
Date Reported:
11/17/2010
IDE\Object Inspector
Description:
[QC Short Description]
Double Click Adding Events Error
[QC Description]
Hi I have the following error.
Open New VCL Forms application
File-&New-&VCL Forms Application - Delphi
Drag TIdTelnet component from Tool Palette onto form
Select Object Inspector-&Events
Double Click on 'OnDataAvailable' event for TIdTelnet
IDE Error dialog appears witht the following error
&Expect '&' but '.' found
The IDE makes the event method but won't assign the event to the telnet object.
procedure IdTelnet1DataAvailable(Sender: TIdT const Buffer:
TArray&System.Byte&); is what the IDE creates and 'System.' seems
to be the incorrect parameter.
If I remove 'System.' it says the
property and method are not compatible and I still cannot assign the
event to the Telnet Object.
QC Entry 89768
Open New VCL Forms application
File-&New-&VCL Forms Application - Delphi Drag TIdTelnet component from Tool Palette onto form Select Object Inspector-&Events
Double Click on 'OnDataAvailable' event for TIdTelnet IDE Error dialog appears witht the following error &Expect '&' but '.' found
Date Reported:
IDE\Object Inspector
Description:
[QC Short Description]
[Translation: Japanese] The mistake of translation in Object Inspector.
[QC Description]
[Translation: Japanese] The mistake of translation in Object Inspector.
Please see Steps.
QC Entry 103164
[ttsuchiya, Feb 8, 2012] Typo in the below for translation
[CONTEXT] PropInspManage.pas|sNSelectedCaption
[ORIGINAL] %d items selected
1.Put TButton on the TForm. 2.Put TButton on the TForm. ... 3.Choose two or more components.
4.Please see Object-Inspector.
EXP: n KO NO KOUMOKU GA SENTAKU SARETEIMASU
ACT: n KO NO KOUMOKU GA SENTAKU SAREIMASU
Date Reported:
11/22/2011
IDE\Visual Form Inheritance
Description:
[QC Short Description]
[REGRSSION] Inheritable forms with custom components
[QC Description]
(This is a regression. In D2010 it works just fine)
You put a custom component on FormA.
You have FormB that inherits from FormA.
Make FormB visible in Form-Designer.
Now Compile your Package that has the custom component in it.
Delphi IDE will now try to close your FormB, because the custom component is on it.
In this moment you get an Access Violation.
QC Entry 101212
1. Open 'FormInheritsBug.groupproj' 2. Install the 'PkgComponent.bpl'
- Now you have the Component 'TDemoLabel', that is a simple 'TCustomLabel'
- The Form in 'fParent.pas' has the 'TDemoLabel' on it. 3. Open 'TFrmChild' that is in 'fChild.pas' (Inherits from 'TFrmParent' that is in 'fParent.pas') 4. Make it Visible in the IDE 'F12' (if not already did) 5. Now Compile the 'PkgComponent.bpl'
You get an access violation in the 'rtl160.bpl'.
Date Reported:
10/31/2011
IDE\Open Tools API
Description:
[QC Short Description]
Constants required for target platform nodes in Project Manager
[QC Description]
ToolsAPI.pas
provides constants like sBaseContainer for the use with
IOTAProjectMenuItemCreatorNotifier and says that all other items would
be file names. Unfortunately there are no constants for the target
platforms container node and the target platform nodes. Due the fact
that the platform container node is localized one has to check for all
localized strings to make sure that a item is shown in all localized
Something like the following constants should be added to ToolsAPI.pas and used in the IDEs source
sTargetPlatformsContainer = 'TargetPlatformsContainer';
sTargetPlatform = 'TargetPlatform';
-& see steps
-& see comments in TPlatformCommandTestProjectManagerMenu.AddMenu in test case
QC Entry 100611
save the attached package and unit 2. set IDE locale with $(BDSBIN)\BDSSetLang.exe to US in first run and
to DE, FR or JA in second run 3. start Delphi 4. open ProjManPlatformCommandTest.dpk 5. install ProjManPlatformCommandTest.dpk 6. create a new console app 7. show the popup menu for the &Target Platforms& node in the Project
expected: it contains an item &[OTA] Target Platforms container command& actual: US: expected item exists DE, FR and JA: item does not exist
8. close the IDE 9. go back to 2. and set to locale to DE, FR or JA unless you've already
tested them
See also following comments from
TPlatformCommandTestProjectManagerMenu.AddMenu in test case
procedure TPlatformCommandTestProjectManagerMenu.AddMenu(const Project:
IOTAP const IdentList: TS
const ProjectManagerMenuList: IInterfaceL IsMultiSelect: Boolean); begin
{ 1. Add a command for the Target platforms container node
IdentList has currently two items and the content in the US version
[0] BaseContainer
[1] Target Platforms
The first item is the constant ToolsAPI.sBaseContainer, but there is
none for the second and
it depends on the localization you are using.
The strings for [1] in the localized versions are:
DE = Zielplatformen
FR = Plates-formes cible
JA = ###12488 + ' ' +
There should be rather a constant and the code should look like this
if IdentList.IndexOf(sTargetPlatformsContainer) && -1
while sTargetPlatformsContainer could be defined like this in
ToolsAPI.pas
sTargetPlatformsContainer = 'TargetPlatformsContainer';
if IdentList.IndexOf('Target Platforms') && -1 then
ProjectManagerMenuList.Add(TOTAProjectManagerMenuItem.Create('[OTA]
Target Platforms container command', 'OTAPlatformsCommand'));
{ 2. Add a command for the Target platform nodes like Win32 or OSX32
IdentList has currently two items and the content is
[0] BaseContainer
[1] is a platform ID (see PlatformAPI.pas for cWin32Platform,
cOSX32Platform, ...)
IdentList should rather contain another item like sTargetPlatform,
because checking for
all platform ID's or enumerating over
IOTAPlatformServices.AllPlatforms isn't a good
approach to find out that the current node is a platform node.
sTargetPlatform could be defined like this in ToolsAPI.pas
sTargetPlatform = 'TargetPlatform';
if (IdentList.IndexOf(cWin32Platform) && -1) or
(IdentList.IndexOf(cOSX32Platform) && -1) or
(IdentList.IndexOf(cWin64Platform) && -1) or
(IdentList.IndexOf(cLinux32Platform) && -1) then
ProjectManagerMenuList.Add(TOTAProjectManagerMenuItem.Create('[OTA]
Target Platform command', 'OTAPlatformCommand'));
Date Reported:
IDE\Packages\Installing Components
Description:
[QC Short Description]
Designtime package &Register& procedure is not called when package unit name has &.& dots
[QC Description]
a package unit name has &.& dots, and it's included in a design-time
package, its &Register& procedure is not called when the package is
installed.
QC Entry 93131
Create a new package with a unit named &Test.Register.pas&, and compile and install the package.
exp: &Hello& message act: nothing
unit test.
procedure R
implementation
procedure R begin
ShowMessage('Hello');
Date Reported:
IDE\Packages\Installing Components
Description:
[QC Short Description]
Register not called in units with initial underscrore in the name
[QC Description]
are using components from LMD Ltd. All units registering the components
begin with an underscore. We couldn't install any components from LMD.
After a check we detected, that the register function from the
corresponding unit was not called by IDE at installing (or importing)
the component.
We needed about 10 hours to detect the problem:
we rename the unit wich registers, the register function will be
called. The problem is not only at components, but at every delphi unit,
wich name begins with an underscroe.
QC Entry 99368
a unit named with an underscore at initial and place a register
funtcion. The function will not be called. Rename the unit-& The
register function will be called. You can check it if a ShowMessage is placed into the register funtcion.
Thanks Embarcadero for our 10 hours bug-searching...
New version, new bugs: In BDS 2009 it works.
Date Reported:
12/28/2011
IDE\Packages\Installing Components
Description:
[QC Short Description]
Package installs, but no component is registered
[QC Description]
XE2 has major problems installing packages. Some packages install, but
the components which are inside are not registered. With XE the same
packages install and the components are registered without a problem.
See video: http://youtu.be/S2LDxFLfRpE
and http://youtu.be/3yELxzAOULo
also tried the workaround of report # 99368, but it does not work (and
the error with the underscore is still present). I also made a new
package and
added the pas-files and I tried it on a different machine -
same problem.
This is a show-stopper, I had to do a rollback to Delphi XE.
QC Entry 102187
See video: http://youtu.be/S2LDxFLfRpE and http://youtu.be/3yELxzAOULo
Date Reported:
Install\Files
Description:
[QC Short Description]
Default bpl folder for x64 is not created by the installer
[QC Description]
The default bpl output folder for x64 packages is a subdirectory of the x86 folder
installer creates just fine the x86 BPL folder but it does not create
the x64 subfolder which means noone can ever use it to compile packages,
unless one has administrator privileges under windows 7.
The installer should create the x64 subfolder for BPLs
QC Entry 98192
Install the latest beta and see that the default x64 folder for BPLs does not exist
Date Reported:
Install\Files
Description:
[QC Short Description]
[DataSnap Mobile Connector] free_pascal_ios42 and free_pascal_ios50 are not installed for JA/FR/GR
[QC Description]
With the latest beta build for Update 4, Mobile connector for DataSnap added FreePascal support.
But, free_pascal_ios42 and free_pascal_ios50 are not installed for JA/FR/GR.
These files are copied in only English(en) folder.
QC Entry 102702
1. install 16.0. with English and Japaese edition 2. see ...\RAD Studio\9.0\ObjRepos\ja\dsrest\connectors folder 3. there is no free_pascal_ios42 and free_pascal_ios50 fodlers 4. see ...\RAD Studio\9.0\ObjRepos\en\dsrest\connectors folder 5. there are free_pascal_ios42 and free_pascal_ios50 fodlers
Date Reported:
10/11/2011
Install\Files
Description:
[QC Short Description]
[DCC Error] E1026 File not found: 'midas64.res'
[QC Description]
adding the uses MidasLib on a x64 bit project I get the following errors:
[DCC Error] E1026 File not found: 'midas.res'
[DCC Error] E1026 File not found: 'midas64.res'
QC Entry 99919
Add the following unit to a project and try to compile under x64. you will get the following errors:
[DCC Error] E1026 File not found: 'midas.res' [DCC Error] E1026 File not found: 'midas64.res'
unit Unit1;
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MidasL
TForm1 = class(TForm)
{ Private declarations }
{ Public declarations }
Form1: TForm1;
implementation
{$R *.dfm}
Date Reported:
Install\Files
Description:
[QC Short Description]
Some foreign language dcu installed with german version
[QC Description]
After installing the german version with only german locale selected, a subset of translated dcu files is found in
RAD Studio\9.0\lib\win32\release\ja
BindingGraphResStrs.dcu
Data.Bind.Consts.dcu
Fmx.Bind.Consts.dcu
FMX.Consts.dcu
System.Bindings.Consts.dcu
Vcl.Bind.Consts.dcu
C:\Programme\Embarcadero\RAD Studio\9.0\lib\osx32\release\fr
Datasnap.DSServerResStrs.dcu
Fmx.Bind.Consts.dcu
FMX.Consts.dcu
C:\Programme\Embarcadero\RAD Studio\9.0\lib\osx32\release\ja
Datasnap.DSServerResStrs.dcu
Also the Objrepos and Welcome page having some subdirectories and files of foreign locale.
QC Entry 99407
1. Install XE2(RTM) 2. During install, check only German as language 3. Check directories and contents
Date Reported:
Install\Files
Description:
[QC Short Description]
Unable to remote debug to Win32/64 targets when &OSX cross platform development& component is not installed
[QC Description]
installer there is component named &OSX cross platform development&. If
this is not installed it is not possible to remote debug not only OSX
but also Win32/64 targets, because
$(BDS)\bin\CodeGear.Deployment.targets
some other MSBuild related
files are not installed.
Deploy fails with message:
[MSBuild Error] xxxx.dproj(1): The target &Deploy& does not exist in the project.
Suggestion:
either rename component &OSX cross platform development& to have more
meaningful name as it contains also non-OSX cross platform files or move
Win-related files to another component that is installed by default.
anyone who does not expect to do OSX development may unselect this
component during install but later finds out cryptic MSBuild error
messages when trying to remotely debug Win32/64 targets.
QC Entry 98649
Date Reported:
Database\Data Aware Controls\TDBCtrlGrid
Description:
[QC Short Description]
[REGRESSION] PanelBorder property(gbRaised) has no effect
[QC Description]
This issue was reported bu my important customer.
In XE2, PanelBorder property(gbRaised) has no effect.
Even if I set PanelBorder property to gbRaised, there is no border for rows.
This is a regression in XE2.
QC Entry 100725
1. create VCL form applicaition. 2. drop TDBCtrlGrid 3. make sure PanelBorder property is set to gbRaised 4. build/run app 5. no border is rendered.
Date Reported:
11/10/2002
Database\Data Access Controls
Description:
This is a bug new to Delphi 7 due to the changes to the TDataSet.DataEvent method. The problem starts on line 9600 in DB.PAS:
deUpdateState:
if ControlsDisabled then
Event := deDisabledStateC
Info := Integer(State && dsInactive);
NotifyDataSources := T
new &deDisabledStateChange& DataEvent serves to notify TDataLinks that
the TDataSet state has changed while controls are disabled. However, the
following code in DBCtrls.pas (line 1589) causes data-aware controls to
repaint themselves when this notification is sent:
procedure TFieldDataLink.DataEvent(Event: TDataE Info: Integer);
if Event = deDisabledStateChange then
if Boolean(Info) then
UpdateField
UpdateField call leads to a chain of calls that eventually lead to a
RecordChanged(nil) which in turn causes the control to repaint itself.
problem is easily demonstrated in the attached example program by
disabling controls and subsequently putting the DataSet in Edit mode.
bug has the effect that data-aware controls are repainted when they
should not. This causes display flicker and also slows down the program.
Please refer to attachments for the example.
QC Entry 2879
Refer to the attached example.
Date Reported:
Database\DataSnap
Description:
[QC Short Description]
Datasnap Server Exception in Callbacks
[QC Description]
Added by Sysop
Initially, this issue was reported for Delphi XE.
This issue still occur with Delphi XE2(Trial).
Please see comments of QC for more detail.
datasnap server with mutiple clients connected on a single channel will
give an AV exception caused by what appears to be a TMonitor issue.
This appears related to reports 91246 and 78415
you are using the BroadcastMessage to all clientIDs on a channel
Datasnap will delete the callback and you can sometimes get the callback
to work again by disconnecting from the client and reconnecting.
you are using the BroadcastMessage to a single ClientID on a channel
the exception will simply kill the server and you can no longer use the
callback nor reconnect from the client.
Seems to be related to
/2011/05/tmonitor-bug.html
QC Entry 98257
is a modified version of the basic callback example.
We are using TCP
connectivity.
Run the server application. Run 3 or more clients each with the same channel ID but different
ClientIDs.
Doesn't matter which channel or Client callbackIDs you
use(exception will not appear for a single client, the more clients the
more likely it will fail).
On the server app check the &Continuous Callbacks& checkbox and wait for
the exception to occurr (Can take 30seconds to 10 minutes but will
AV Exception occurrs in Generics.Collections (line 2172):
function TThreadedQueue&T&.PushItem(const AItem: T; var
AQueueSize: Integer):
TWaitR begin
TMonitor.Enter(FQueueLock); &- Access Violation here
If you check the &Use Single Callback& checkbox the exceptions will
occurr continuously, if this is unchecked the callback is deleted.
Date Reported:
12/20/2011
Database\DataSnap\Client
Description:
[QC Short Description]
Reading data from TStringFields in a TDataSet remoted from a DataSnap REST client returns the wrong data
[QC Description]
you remote a TDataSet from a DataSnap REST client, the incorrect string
value is returned if you call TStringField.AsString on a field with a
large string, followed by a call to TStringField.AsString on a field
with a smaller string.
For example, if you call
TStringField.AsString on a field containing 'Robert', and then call
TStringField.AsString on a field containing 'VP', the second call
returns 'VPbert'
QC Entry 101968
The attached project assumes there is a connection called EMPLOYEE in
dbxconnections.ini that points to the sample Employee database that
ships with Delphi XE2
- Download and unzip the attached zip file - Open RESTStringGroup.groupproj in Delphi XE2 - Compile and run RESTString.dproj - Click the 'Start' button - Compile and run 'RESTStringClient.dproj' - Click the 'GetEmployees' button
Expected: The memo shows the following output:- JOB_CODE=VP FIRST_NAME=Robert JOB_CODE=VP
Actual: The memo shows the following output:- JOB_CODE=VP FIRST_NAME=Robert JOB_CODE=VPbert
Date Reported:
11/10/2011
Database\DataSnap\Server
Description:
[QC Short Description]
Disconnection errors cause ShowMessage on server
[QC Description]
a DataSnap REST Application server in case the browser disconnects
before receiving the result (for example, because the user moved to
another page) the disconnection exception is mismanaged, resulting in a
&ShowMessage& on the server, which is at least very annoying (but can
also hamper proper behavior).
The problem (in general) is that in
many scenarios there is no option for the server application to handle
socket-related exceptions in a custom way, for example handling the
IWebExceptionHandler in the web module.
Have full demo if needed, but it is simple to replicate.
QC Entry 100916
1. Create a DataSnap REST Server application using the wizard.
Slow down the HTML rendering (simulating a real world scenario), for
example adding the line
RAID in TWebModule1.WebModuleDefaultAction.
Run the program and click repeatedly and very fast on the refresh
browser button on the main page (the effect is more visible in IE, but
is there for each browser).
4. You'll get an EIDSocket...
exception indicating the client asked to disconnect. In fact, the server
was unable to write the response to the client (which is expected).
5. You'll get a message box, even if you are not debugging. This is very difficult to prevent.
Add a proper implementation for the IWebExceptionHandler in your web
module, with the TWebModule1.HandleException method: it won't be called,
and you invariably get the system message box.
Date Reported:
12/14/2011
Database\DataSnap\Server
Description:
[QC Short Description]
[Mobile Connector for Android] DSRESTSSLFactory.java is not delivered
[QC Description]
In DSRESTConnection.java, DSRESTSSLFactory class is added in Update 3.
private DSRESTSSLFactory SSLF
But, DSRESTSSLFactory.java is not delivered!!
QC Entry 101807
1. Apply Update 3 to Update 2.
2. Create DataSnap REST Server with mobile connector support.
3. Run it and get proxy files.
In DSRESTConnection.java, DSRESTSSLFactory class is added in Update 3.
private DSRESTSSLFactory SSLF
But, DSRESTSSLFactory.java is not delivered!!
Date Reported:
Database\DataSnap\Server
Description:
[QC Short Description]
Datasnap.DSProxyFreePascal_iOS.dcu is not found.
[QC Description]
When adding mobile connector support for DataSnap REST server and building the project,
[F1026] Datasnap.DSProxyFreePascal_iOS.dcu is not found
QC Entry 102703
1. isntall 16.0. 2. create new DataSnap REST server project with mobile connector 3. build it 4. [F1026] Datasnap.DSProxyFreePascal_iOS.dcu is not found
Date Reported:
Database\DataSnap\Server
Description:
[QC Short Description]
Memoy leak occurred when datasnap server exe closed
[QC Description]
QC#91526(Internal #281914) is NOT fixed yet.
client invokes server method(LifeCycle is 'Invocation') multiple times,
Memory leaks are TDSProviderDataModuleAdapter instances.
Please see [Steps] and attached projects(server/client).
QC Entry 98742
1.create datasnap server project with wizard. 2.change DSServerClass1.LifeCycle to 'Invocation',and turn on ReportMemoryLeaksOnShutdown switch in project file. 3.Create a vcl client project,and add ClientClassesUnit1 unit with client module wizard. 4.Add a button and a edit control to client main form. 5.In button click event, call server method EchoString, show return string in edit. &&&&&&&&&&& 6. INVOKE SERVER METHOD MULTIPLE TIMES!!!! &&&&&&&&&&& 7.Close client program, close server program. 8.Memory leak occurred when close server. Memory leaks are TDSProviderDataModuleAdapter instances.
Date Reported:
12/24/2011
Description:
[QC Short Description]
[REGRESSION] HTMLHelpViewer.pas critical issue in initialization and finalization methods
[QC Description]
The DLL and app don't unload when HTMLHelpViewer.pas unit is used.
same Report #89616 marked as fixed a one year ago. But the issue still
exists on the latest version of Delphi XE2 Update 3 (16.0.).
QC Entry 102083
Create a DLL: --------------- library T
DllGetClassObject,
DllCanUnloadNow,
DllRegisterServer,
DllUnregisterS
begin end. ---------------
2. Compile DLL and then just execute: regsvr32.exe /s Test.dll
3. DLL will hang.
ComServ and regsrv32 is needed to have ability to register DLL.
Registration process will hang. You don't need them to see EXE hang on
application closure. But I have reported DLL hang on this bug report.
Please make something!
[Original Steps] 1. Just add HTMLHelpViewer.pas to interface uses list in DLL.
DLL will never be registered. App using this DLL will never be closed /
The issue is URGENT. Can't release the app to customers.
The same Report #89616 marked as fixed a one year ago. But the issue
still exists on the latest version of Delphi XE2 Update 3
Date Reported:
11/23/2011
Description:
[QC Short Description]
Incorrect casting in the TCustomStyleServices.DrawText function (the Vcl.Themes unit)
[QC Description]
The following function operates incorrectly with bit flags as the Flags parameter:
unit Vcl.T
function TCustomStyleServices.DrawText(DC: HDC; Details: TThemedElementD
const S: R: TR Flags, Flags2: Cardinal): B
Result := DrawText(DC, Details, S, R, TTextFormat(Flags));
it operates correctly with set assigned as the Flags parameter, this
function must have the same result both for the bit flags and for the
QC Entry 101259
the attached example. You will see that the left PaintBox does not
contain any text, although the following code is used to draw the 'TEST'
Date Reported:
11/17/2011
VCL\Additional Controls\TCheckListBox
Description:
[QC Short Description]
Access violation in TCheckListBox
[QC Description]
TCheckListBox can crash with an access violation when you free it if it has the focus and at least 1 item.
The event leading to the problems occurs like this:
TCheckListBox.F
TCheckListBox's destructor free it's canvas, (amongs other)
The inherited destructor (in RemoveFocus) call RemoveFocus
the focus make the TCheckListBox try to repaint its item with a freed
Canvas. It crash in NTDll (in procedure TFont.Assign) when trying to
lock the font with a freed Critical Section.
QC Entry 101109
With the application in attachments,
- Click on the first element of the CheckListBox - Press ALT + B
Date Reported:
VCL\Core VCL Classes\TApplication
Description:
[QC Short Description]
TApplication.CreateForm access an object instance after it has been freed
[QC Description]
Forms.TApplication.CreateForm has an obvious flaw which, intermittently, results in an access violation.
procedure TApplication.CreateForm(InstanceClass: TComponentC var Reference);
Instance: TC
// Set flag that TCustomForm constructor can read, so it knows if it's being
// created as a main form or not (required when MainFormOnTaskbar is True)
FCreatingMainForm := (FMainForm = nil) and InstanceClass.InheritsFrom(TForm);
Instance :=
{$IF DEFINED(CLR)}
Instance := InstanceClass.Create(Self);
Reference := I
Instance := TComponent(InstanceClass.NewInstance);
TComponent(Reference) := I
Instance.Create(Self);
TComponent(Reference) :=
if (FMainForm = nil) and (Instance is TForm) then
TForm(Instance).HandleN
FMainForm := TForm(Instance);
if MainFormOnTaskBar then
SetWindowLong(Handle, GWL_EXSTYLE, GetWindowLong(Handle, GWL_EXSTYLE) or WS_EX_NOACTIVATE);
ChangeAppWindow(Handle, not MainFormOnTaskBar, not MainFormOnTaskBar);
if (FMainForm = nil) and (Instance is TForm) then
TForm(Instance).FCreatingMainForm := F
problem occurs when the constructor raises an exception (i.e. inside
the call Instance.Create).
What happens next is that the destructor is
called by the RTL framework which results in FreeInstance being called
on Instance.
When the finally clause executes, and if FMainForm is nil,
then an AV can occur in the Instance is TForm condition test (this
lands in TObject.InheritsFrom) or indeed in
TForm(Instance).FCreatingMainForm := False.
The AV doesn't occur
repeatably because of the way memory managers work.
Although the memory
has been freed it typically is not returned to the system immediately.
I think the flaw manifests more commonly for large forms (i.e. those
form whom InstanceSize is large) since large blocks are less likely to
be retained for re-use by a memory manager.
The solution is
In addition to the line TComponent(Reference) := nil in the
except clause should be added the line Instance := nil
QC Entry 88668
Date Reported:
10/14/2011
VCL\Dialog Controls
Description:
[QC Short Description]
[REGRESSION] Inputbox fails to display text with several linebreaks in it
[QC Description]
If you invoke a inputbox with some linebreaks in the text, the prompt scrolls out of the visible area of the window
test the problem with Delphi 2010 and Delphi 2006. It was not there.
Someone changed the inputbox code , in order to change the position of
the label to the left hand side of the textbox.
In Delphi 2010 the
Label was in top of the textbox, so the window grows to the bottom. Now
it grows to the sides and produces this missbehaviour.
QC Entry 100024
Invoke the following inputbox
InputBox(Application.Title,'A text'+#13#10+#13#10+#13#10+#13#10+#13#10+#13#10+'with some linebreaks','');
Date Reported:
VCL\Win 32 Controls\TTreeView
Description:
[QC Short Description]
TTreeView.OnAddition can be fired when main form being created and can crash app
[QC Description]
Run the test app where I have the following:
1- A TreeView with items in it at design time.
2- A memo that was placed second on the form (after the treeview). I here assume it will be created second.
3- TTreeView.OnAddition to access the memo1 object:
procedure TForm5.TreeView1Addition(Sender: TO Node: TTreeNode);
// Without this If, the app crashes:
If Memo1 && Nil Then
Memo1.Lines.Add(Node.Text);
you have the If test, no crash occurs, if the If test is removed, the
app won't start due to exceptions. I suspect it's because OnAddition is
fired after the teree view was created but before memo1 is and
therefore, is accessing an invalid pointer to memo1.
QC Entry 100887
Workaround is changing creation order by editing .dfm file as below. from ------------------- ...
object TreeView1: TTreeView
object Memo1: TMemo
Left = 198
end ... ------------------- to ------------------- ...
object Memo1: TMemo
Left = 198
object TreeView1: TTreeView
end ... -------------------
This seems to support my suggestion that the OnAddition is triggered after the tree view is created but before the memo is.
Date Reported:
11/30/2011
VCL\Win 32 Controls\TListView
Description:
[QC Short Description]
TListColumns: A moved column loses it's order after adding a new column
[QC Description]
order of the subitems gets corrupt after adding a new column, when you
moved a column by setting it's index to some value & Columns.Count-2
or by dragging it between other existing columns.
This only happens when using TListColumns.Add for the new column. Insert works fine.
This seems to be a very old bug. Encountered in Delphi 7 and in XE, XE2 (and very likely in the versions between).
Please see [Workaround] of QC for more information.
QC Entry 101435
Place a TListView control on a VCL form, set it's ViewStyle to 'vsReport' and set FullDrag to 'true'.
Put the below code to the OnCreate handler of the form:
ListView1.Columns.Add.Caption := 'col 1';
ListView1.Columns.Add.Caption := 'col 2';
ListView1.Columns.Add.Caption := 'col 3';
ListView1.AddItem('cell 1', nil);
ListView1.Items[0].SubItems.Add('cell 2');
ListView1.Items[0].SubItems.Add('cell 3');
Place a TButton on the form, and put the below code to its OnClick handler:
ListView1.Columns.Add.Caption := 'col 4';
Run the project and drag the column header of 'col 3' to in-between 'col 1' and 'col 2':
Everything is fine at this point.
Click the button to add a new column: Notice that 'cell 2' has reclaimed it's original position.
Date Reported:
VCL\Action Classes
Description:
[QC Short Description]
Using AllowScrolling causes crash
[QC Description]
setting the AllowScrolling property to True for a popup menu descendent
for TActionMainMenuBar, navigating menus can cause an AV.
attachment includes source for sample project, video of error plus two
precompiled executable files. One with the current Vcl.ActnCtrls.pas
unit and the other using the fixed Vcl.ActnCtrls.pas unit.
QC Entry 98075
Create a new popup menu for use in a ActionMainMenuBar menu - Make sure AllowScrolling is set to True for the descendent to allow
menu to support scrolling if the contents don't fit on the screen - Set the GetPopupClass event of the ActionMainMenuBar to return the new
descendent - With one menu item still visible, move the mouse to another menu item
so that it displays automatically
exp: new menu displays without issues act: new menu with AV with error
The easiest way to reproduce the bug with the existing vcl.actnctrls.pas
unit is to click on the File menu item. While the File menu item is
still visible, move the mouse of each other menu item moving from left
ie. File, Edit, Tools and then Help.
When the Help menu attempts to drop down, an AV will result.
Replace the existing Vcl.ActnCtrls.pas unit with the one attached to
this report and running the same test about will not cause an AV at
==============================
Sample project and merged fix attached to this report in the
Vcl.ActnCtrls.pas unit.
This change verifies that the code in
TCustomActionDockBar.ShowScrollButtons makes sure that internal data
structures have the correct data in them before attempting to access
those structures.
It also doesn't automatically set the buttons for scrolling within the
menu to AutoScroll if the scrollingrate for the menu is 0
(TCustomActionDockBar.CreateScrollButtons).
Date Reported:
VCL\Ribbon Controls
Description:
[QC Short Description]
Ribbon does not shows an application Icon in 64bit
[QC Description]
Ribbon does not shows an application Icon in 64bit
QC Entry 99820
Compile & run sample in \Samples\Delphi\VCL\Ribbon Controls\Application Menu\AppMenuDemo for 64 bit.
Date Reported:
VCL\Ribbon Controls
Description:
[QC Short Description]
Ribbon font size not used
[QC Description]
When I change the font size of the TRibbon control, it has no effect. It still uses the default font size (8).
QC Entry 87650
I already posted a question
/questions/3573375/is-it-possible-to-set-the-font-of-the-builed-in-ribbon-controls-d2009
Date Reported:
10/15/2011
VCL\Ribbon Controls
Description:
[QC Short Description]
No background for the app menu in TRibbon under WinXP
[QC Description]
A TRibbon's application menu paints a wrong background under WinXP with enabled themes.
Initially a background is black, it becomes gray after repainting items (when items are unselected)
QC Entry 100076
This bug can be reproduced, for example, in RibbonControls\Ribbon Demo
Date Reported:
VCL\Styles
Description:
[QC Short Description]
EOutOfResources with VCL Styles and TBitBtn
[QC Description]
Using Delphi XE2 with Update 3 on Windows 7.
Application locks up when using VCL Themes and setting TBitBtn Enabled Property. (Many times)
EOutOfResources or EInvalidOperation 'Canvas does not allow drawing'
Every application Enables and disables buttons, so this is why I marked as Serious.
Please fix as soon as possible.
It has cost me a lot of time already.
Thanks, Rick Waltemire
QC Entry 102458
this simple test.
-Put 5 bitbtns on a form -Set a glyph for each of the buttons. -Add a timer that sets each button like this BitBtn1.Enabled := not
BitBtn1.E every 200ms. (Toggle the buttons enabled property on
and off) -Pick one of the VCL Styles for the project.
Run the application and it will crash within a minute or so. It eats up
resources and can no longer write to the bitmap canvas of the bitbtns. I
am unable to debug the exact problem.
-Remove the Style and it will run forever like it should.
Date Reported:
11/24/2011
VCL\Styles
Description:
[QC Short Description]
RichEdit doesn't work with styles
[QC Description]
Changing SelAttributes of the RichEdit text has no effect when using the style, other than Windows.
Added by Sysop
May be it is related to the QC#99265, but I think that this report describes more general issue.
QC Entry 101287
code has no effect if you build your project with, say, Amethist Kamri
style. If style is Windows the code works as expected.
procedure TForm1.FormCreate(Sender: TObject); begin
with RE do begin
SelStart := 0;
SelLength := Length(RE.Text) - 1;
SelAttributes.Color := clR
SelLength := 0;
Date Reported:
VCL\Styles
Description:
[QC Short Description]
VCL WordWrap on Button control does not wrap text when skinned
[QC Description]
The word wrap works on a button in classic Windows but does
not 'wrap' the text when skinned.
QC Entry 101470
Put a button on a VCL form unskinned.
Add the caption to the button: 'Toggle WordWrap.'.
Check WordWrap:=true.
Run the application. The
text wraps fine.
Now skin the form.
Run the application.
does now wrap to additional lines.
Date Reported:
VCL\Styles
Description:
[QC Short Description]
VCL Memo can not be made invisible when styled/ VCL Statusbar cannot use Owner Draw
[QC Description]
See attached example.
These failures seem related to 101470 reported earlier.
VCL Memo can be visible/invisible in classic Windows but not when Styled.
VCL Statusbar can not user owner draw property.
QC Entry 101671
a vcl memo on form without skinning.
Place button to toggle between
memo.visible:=true
memo.visible:=false.
Works on classic.
Do the same on a skinned form, it does not toggle.
Put vcl Statusbar on a form.
For one panel select ownerd for a second panel, select text and insert text.
On classic
windows, on Styled form, it does not.
[Does not work] ------ procedure TVCLdbGrid.Button2Click(Sender: TObject); begin
if Memo2.visible = false then
Memo1.visible:=true
Memo2.visible:= ------
[Does work] ------ procedure TVCLdbGrid.Button3Click(Sender: TObject); begin
procedure TVCLdbGrid.Button4Click(Sender: TObject); begin
memo2.H ------
Date Reported:
12/14/2011
VCL\Styles
Description:
[QC Short Description]
[TStaticText] Styles break specified Word Wrap and Font.Color
[QC Description]
TStaticTexts no longer word wrap when a style is applied.
Fonts cannot have a color set when a color is applied.
QC Entry 101798
Create a form.
2. Drop a TStaticText, and TButton on it. 3. Set the TStaticText to be tall but not wide. 4. Plug in a caption for the TStaticText that causes it to span
multiples lines. 5. Set the TStaticText font color to clRed. 5. In the code behind for the TButton, add:
StaticText1.Font.Color := clB
StaticText1.Font.Style := [fsBold]; 6. Run and test 7. Pick any Custom Style, and now run and test.
Bug 1: The TStaticText no longer has lines plural.
It has one line only, and
the text disappears off the side.
There's no WordWrap property to set
Bug 2: When starting the application, the font color on the TStaticText was
reset to the style color.
The custom style should only override system
colors such as clBtnFace, and never ones like clRed, clBlack, or a
manual one such as $121212.
Bug 3: If someone disagrees with me on #2, then at least allow me to control my
own destiny in the PAS file.
When the button is clicked the
TStaticText font color should surely update.
The font style does, so
some updates are allowed.
Why not color?
Date Reported:
12/21/2011
VCL\Styles
Description:
[QC Short Description]
[Golden Graphite] VCL Style fails when using a TButton on a TToolBar..incorrect painting
[QC Description]
The VCL Style skinning does not operate correctly when using a TButton on a TToolBar.
is most noticible when using the VCL Golden Graphite style, but correct
button painting occurs when styled with any style example provided
except Carbon.
if a TBitBtn is placed on the ToolBar, there are no issues with the TBitBtn, which styles correctly.
...Thanks for looking at this.
QC Entry 101995
Place a ToolBar on a form. Style for Golden Graphite. Place a TButton
and a TBitBtn on the tool bar . Run application. Note the skinning issue with the TButton but not the BitBtn. The problem is not noticible using the Carbon style.
Date Reported:
11/28/2011
VCL\Styles
Description:
[QC Short Description]
Run-time style change results in Main menu disappearing
[QC Description]
the style at run time causes the main menu of the application to
disappear for a few seconds (or even get lost completely on a virtual
Win XP x86).
QC Entry 101371
create a new vcl application. 2. have a main menu 3. include all custom styles using Project - Options - Application -
Appearance - Custom Styles. 4. add a command that changes the style using
&TStyleManager.SetStyle(newStyleName);&, where &newStyleName& is any
value from the TStyleManager.StyleNames. 5. run the application 6. change the style by the command added in 4.
-& main menu disappears for a few seconds or is sometimes completly
Date Reported:
11/17/2011
VCL\Styles
Description:
[QC Short Description]
Cannot drag TListView vertical scrollbar to top to view first item if style is applied to project
[QC Description]
a style is applied to the project, I am unable to drag TListView
vertical scrollbar all the way to the top to view the top item. However,
subsequence drag would work.
QC Entry 101100
-Create a new project set project appearance style to &Aqua Light Slate& (or anything) -Add TListView, set Height to 120 pixels, add 1 column, add 10 items, set ViewStyle to vsReport -Run the project and initially drag TListView vertical scrollbar to bottom -Move the mouse away from TListView -Now use the mouse and directly grab and drag TListView vertical scrollbar from bottom to top -You will see that you will not be able to drag the Vertical scrollbar all the way to top to view the first item.
Date Reported:
12/28/2011
VCL\Styles
Description:
[QC Short Description]
First Menu appears on wrong monitor
[QC Description]
This ONLY happens when running with a VCL Style
See Screen Capture in attatched zip file.
QC Entry 102201
Build and Launch the Attached Application on a machine with two monitors where the right monitor is the primary one. 2.
Make sure that the Application is full-screen on the right monitor 3.
Click the FILE menu and you'll see that the menu itself appears on the wrong monitor
NOTE: This ONLY happens when running with a VCL Style
Date Reported:
11/23/2011
VCL\Styles
Description:
[QC Short Description]
Columns Failure in TListBox
[QC Description]
the Windows style is selected and I have a TListBox on the form with
ListBox1.Columns = 5, the listbox is populated with five columns and all
works well.
If I select any other style for the same project,
the listbox is populated with a single column.
If you select an item in
the items displayed in the single column and use the down-arrow to move
down the column, the listbox will populate with the rest of the columns
if you hold down the down-arrow.
As the selected item is highlighted,
it moves to the appropriate column.
If you left-click in the
blank area where the other columns should be, the correct item will show
up in that spot as the selected item.
If you have all the
items that displayed properly in their columns because you have
down-arrowed all the way to the end of the list and then you hit the
HOME key, everything reverts to the single column mode.
QC Entry 101266
Set up a form with a TListBox with columns = 5.
Populate the listbox with a list long enough to fill well beyond the five columns.
See that it works properly if Windows is the style and fails to use the columns if any other style is selected.
Date Reported:
11/14/2011
VCL\Styles\TStyleEngine
Description:
[QC Short Description]
Repeated LoadLibrary call occurs EStyleEngineException in module vcl160.bpl
[QC Description]
A repeated LoadLibrary call occurs an Exceptio in vcl160.bpl.
First Exception is called 'EStyleEngineException' and refers to
TListBoxStyleHook class, which is already registered for TCheckListBox.
After that a second Exception occurs immediately:
Runtime error 216 at B5B35.
Program hangs now in memory. I have to kill process with taskmanager.
QC Entry 101022
Workflow: 1. calling LoadLibrary to load an DLL 2. calling create function of DLL 3. calling destroy function of DLL 4. calling FreeLibrary to unload DLL 4. calling LoadLibrary to load (same/another) DLL again --& Program crashes here:
Application error (i have translated from german to english): Exception EStyleEngineException in module vcl160.bpl at A352A. Class 'TListBoxStyleHook' is already registered for 'TCheckListBox'&
[Vcl.Themes.pas] --------------------- class procedure TCustomStyleEngine.RegisterStyleHook(ControlClass: TC
StyleHookClass: TStyleHookClass);
raise EStyleEngineException.CreateResFmt(@SStyleHookClassRegistered,
[StyleHookClass.ClassName, ControlClass.ClassName]); ---------------------
Date Reported:
11/30/2011
VCL\Styles\TStyleEngine
Description:
[QC Short Description]
Styles MDI Window Menu Selection Failure
[QC Description]
an MDI application, the Window menu item lists the open MDI Child
windows and indicates the active MDI child with a check mark.
works for the Windows style and for any other style that is selected.
the Windows style, the user can click on an unchecked MDI child menu
item and the focus will be transferred to that MDI child along with the
check mark in the menu item.
However, with any other style selected,
this process does not work.
Clicking on an unchecked MDI child in the
child list of the Window menu item does not do anything except to close
the Window menu list.
Project is attached.
QC Entry 101447
the attached project.
Click on the Set Windows button to set the
Windows style.
Click the LaunchMDI button three times to laundh three
MDI children.
Click on the Window menu item and note that three MDI
children are listed with one being checked.
Click successively on the
MDI children in the Window menu item and note that the focus transfers
to the window that was checked.
Now click the Set Iceberg button to change the style to Iceberg
Click on the Window menu item and note that the three MDI
children are listed as before.
Click on an unchecked MDI Child in the
Window menu item.
Note that the newly checked window does not receive
the focus.
If you click directly on the
MDI child form, the check mark will move
to the proper MDI child in the Window menu item child list, but you
cannot use the Window menu item child list to select a window unless you
are using the Windows style.
Date Reported:
11/26/2011
VCL\Styles\Control Hooks
Description:
[QC Short Description]
TPageControl draw incorrect image index in TTabSheet(s) when VCL Styles is active
[QC Description]
a imagelist is asociatted to a TPageControl and a VCL Style is active,
the tabsheets are draw with a incorrect imageindex.
Thre is not
a workaround, but I track down the bug to the TTabControlStyleHook
class in Ctrls unit. in the DrawTab method the calls to the
StyleServices.DrawIcon use the Index of the tabsheet as parameter
instead of the imageindex associated to the tabsheet.
QC Entry 101346
1. Put a TPagecontrol in a form
2. Add some tansheets to the TPageControl 3. Add a imagelist with some images 4. Associate the imagelist to the TPageControl 5. Assign some iageindex to the tabsheets (for example set the imageindex property to 1 in the first tabsheet) 6. Assign avcl style to the app and make active. 7. run the application
the first tabsheet will show the image associated to the imageindex 0 instead of the assignated value 1.
Date Reported:
12/23/2011
VCL\Styles\Other
Description:
[QC Short Description]
Scrollsbars do not work in derived TListView and TTreeView with style other than Windows
[QC Description]
you derive a new control from TCustomListView or TCustomTreeView,
dragging the scrollbars does not work if the application uses a style
other than the default Windows style.
The copied unit demonstrated the problem in a brief example.
QC Entry 102059
unit Unit1;
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, C
TMyTree = class(TCustomTreeView)
procedure CreateW
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
Form1: TForm1;
implementation
{$R *.dfm}
procedure TMyTree.CreateW var
parent: TTreeN
if Items.Count & 0
parent := Items.AddChild(nil, 'Root');
Items.AddChild(parent, 'Node ABC');
Items.AddChild(parent, 'Node ABC');
Items.AddChild(parent, 'Node ABC');
Items.AddChild(parent, 'Node ABC');
Items.AddChild(parent, 'Node ABC');
Items.AddChild(parent, 'Node ABC');
Items.AddChild(parent, 'Node ABC');
Items.AddChild(parent, 'Node ABC');
Items.AddChild(parent, 'Node ABC');
Items.AddChild(parent, 'Node ABC');
Items.AddChild(parent, 'Node ABC');
Items.AddChild(parent, 'Node ABC');
Items.AddChild(parent, 'Node ABC');
Items.AddChild(parent, 'Node ABC');
Items.AddChild(parent, 'Node ABC');
Items.AddChild(parent, 'Node ABC');
procedure TForm1.FormCreate(Sender: TObject); begin
With TMyTree.Create(Self) do
Parent := S
Date Reported:
11/17/2011
Description:
[QC Short Description]
Huge memory leak when debugging
[QC Description]
Delphi XE2 exhibit a consistant memory leak when running a program in debug mode.
On an empty VCL application it's around 12K per run, on a complex 700K lines project it's around 100MB.
The leak only seems to occur once after each build when launching with the debugger attached (F9).
been able to reproduce the problem on different computers (Windows 7
x64, Windows XP SP3 x32) with no addons (IDE Fix Pack, cnPack,
madExcept, ...).
Needless to say XE2 is pretty unusable as is.
QC Entry 101075
- New-&VCL Forms Application (or open an application) - Shift+F9 to build - F9 to run - Repeat build & run steps to notice memory leak
Date Reported:
Debugger\Breakpoints
Description:
[QC Short Description]
Debugger stops at the wrong breakpoint
[QC Description]
See steps.
QC Entry 97246
Create a new console app for Delphi, exchange generated source with source below. Set the breakpoints, hit F9. In Win32 (and Win64) execution halts at breakpoint #2 (as expected), hit F9. Add and switch target to OSX32, hit F9 execution halts at breakpoint #1.
Note that overloaded Synchronize() with the &reference to procedure& argument is used here.
program Project1;
{$APPTYPE CONSOLE}
System.Classes, System.SysU
TXThread = class(TThread)
procedure E
procedure SyncB begin
// &= Breakpoint #1
procedure TXThread.E
FReady := T
Synchronize(SyncBeep);
// &= Breakpoint #2
with TXThread.Create(True) do
FreeOnTerminate := F
while not FReady do
System.SysUtils.Sleep(10);
on E: Exception do
Writeln(E.ClassName, ': ', E.Message); end.
Date Reported:
12/15/2011
Debugger\Breakpoints
Description:
[QC Short Description]
[x64] Data breakpoints do not work on full 64-bit addresses
QC Entry 101840
1. Run to the marked line (F4).
2. When the execution is stopped, add a data breakpoint for the
address held in the pointer variable &p&.
3. Hit &Run&.
Expected: The execution is stopped on the line &integer(p^) := 42&
Actual: The debuggee runs and exits.
This works as expected with the Win32 debugger, or if mem_Top_Down is
removed from the call to VirtualAlloc (pass &false& to &Test()&). } uses WinAPI.W
procedure Test(const HighAddress: boolean); var p:
f: uint32; begin
f := mem_Reserve + mem_C
if HighAddress then
inc(f, mem_Top_Down);
p := VirtualAlloc(nil, 100, f, page_ReadWrite);
if HighAddress then
// &-- RUN TO THIS LINE
assert( nativeuint(p) &
{$if sizeof(pointer)&4}$FFFFFFFF{$else}${$ifend}
assert( nativeuint(p) & $FFFFFFFF );
integer(p^) := 42
Test(true) end.
Date Reported:
12/18/2011
Debugger\Evaluator\Delphi
Description:
[QC Short Description]
[x64] Disconnected Session while using Evaluate/Modify Window
[QC Description]
Session disconnect comes up when try to evalute a function which returns a Class (simple Singleton Implementation)
See steps.
QC Entry 101886
1) Save the following program and open it (test case guessed by USc, because reporters test case was incomplete) 2) Place a breakpoint on MyObject.ToString() 3) Run the program on a 64 Bit Target 4) When the program stops at the breakpoint open the evaluate/modify window. 5) Type in MyObject
expected: No Disconnect actual: Disconnected Session dialog comes up
program QC101886;
{$APPTYPE CONSOLE}
TMyObject = class
FMyObject: TMyO
class constructor C
function ToString:
class constructor TMyObject.C begin
FMyObject := TMyObject.C
function TMyObject.ToString: begin
Result := 'Foo';
function MyObject: TMyO begin
Result := TMyObject.FMyO
MyObject.ToS//&- breakpoint here and evaluate MyObject (with side effects) end.
Date Reported:
Debugger\Evaluator\Delphi
Description:
[QC Short Description]
[x86 REGRESSION] Evaluation of procedural variables crashes the debuggee
[QC Description]
Win32: Resuming the execution results in an AV in the debuggee.
Win64: Works as expected.
X: The debuggee and PAServer hang, consuming the CPU. An attempt to
terminate the debuggee from the IDE results in &Debugger Assertion
Failure: &!&invalid remote api&& in .\rdbg_proxy.cpp at line 1685&.
USED TO WORK IN XE
QC Entry 101569
{ 1. Set the breakpoint and run the test case under the Win32 debugger. 2. Evaluate &Foo()&. Result: &(no value)&. Notice the debug output &Foo& in the Event Log. 3. Evaluate &P()&. Expected: Same result as (2) Actual: &Unknown exception 0E22FACC at & }
{$ifdef MSWindows} uses W {$endif}
procedure F begin {$ifdef MSWindows}
OutputDebugString('Foo') {$else}
writeln('foo') {$endif}
var P: begin
// &-- BREAKPOINT HERE end.
Date Reported:
Debugger\Evaluator\Delphi
Description:
[QC Short Description]
[x64] Evaluation of expressions casted to pointers results in garbage
[QC Description]
Works f

我要回帖

更多关于 xeq方程式 的文章

 

随机推荐