![]() |
|||||||||||||||||
|
|
|||||||||||||||||
|
|
|||||||||
|
Delphi |
DELPHI DEVELOPER SUPPORT
Areas of concentration under: international Area: international\bidi support Problem: TMaskEdit doesn't work properly when using any of the BiDiModes except bdLeftToRight. Steps: - Drop in a TMaskEdit - Set the EditMask to any of the supplied masks - Set the BiDiMode to bdRightToLeft - Run the form and try entering data Area: international\bidi support Problem: In the DBGrid, arrow keys left and right move in the opposite direction when the BiDiMode is set to bdRightToLeft. Steps: - Drop in a TTable and set the tablename and make it active - Drop in a TDataSource and set the DataSet to Table1 - Drop in a TDBGrid and set its DataSource to DataSource1 - Set the BiDiMode of the DBGrid to bdRightToLeft - Run the form and use the left and right arrow keys see the problem Area: international\bidi support Problem: Every Database Quick Report control that derives from TQRCustomLabel should not change alignment when switching between BiDiModes if the underlying database field is a number. Currently the correct behaviour appears only when previewing the report. Steps: - Drop in a TQuickRep - Drop in a TQRBand - Drop in a TTable - Connect the TTable to a database that contains a number field - Drop in a TQRDBText and set the field to the number field - Change the BiDiMode to BdRightToLeft and see the alignment change, then preview the report to see the preview shows it correctly Area: international\bidi support Problem: TStringGrid has redraw problems when moving to the last cell. Steps: - Drop in a TStringGrid - Set the BidiMode to bdRightToLeft - Run the form - Use the arrow keys to make sure a cell is highlighted - Use Ctrl + End to move to the last cell - Notice there appears as if two of the cells now appear as if they are fixed cells - To redraw correctly you can use the arrow keys to highlight the cell again. //Note: to test further you can add a button with the code StringGrid1.Cells[2,2] := 'Hey'; //When you do the Ctrl + End the wrong cell is painted with this text Area: international\bidi support Problem: In TScrollBox it is possible to get the flat scrollbar, which it shouldn't be able to do. Steps: - Drop in a TScrollBox - Add a button to the TScrollBox and resize to see the scrollbars - Set the Horizontal and Vertical scrollbar styles to ssFlat - Set the TScrollBox's BidiMode to bdRightToLeft - Run the form to see the flat scrollbars and right to left mode Area: international\bidi support Problem: Main Menu will not read right to left even after being set to do so. Steps: Place a main menu and a toolbar on a form (use the sample code I'm attaching). The form's BiDiMode is set to bdLeftToRight, the menu's BiDiMode is set to bdRightToLeft. The menus are dropped down with a left alignment. Now change the form's BiDiMode to bdRightToLeft. The menus will be dropped with a right-to-left alignment, but will not be placed under the toolbar button. Area: international\bidi support Problem: TToolbar keyboard hook misinterprets VK_LEFT/VK_RIGHT keys for menus when BiDiMode=bdRightToLef Steps: 1. File | New Application 2. Set the form's BiDiMode property to bdRightToLeft 3. Place a toolbar and a menu on the from, create several menu items, including several submenus 4. Create TToolButton objects on the toolbar, assign their MenuItem property to the various top level menu items. 5. Set the tool buttons' Grouped property to True, set the form's Menu property to none, and run. When a menu is displayed with a right-to-left alignment, the VK_LEFT key is used to open a submenu (VK_RIGHT is used in a left-to-right menu). However, when the menu is dropped from a TToolButton, the VK_RIGHT key opens the submenu, even though the menu is displayed in a right-to-left alignment. Area: international\bidi support Problem: The mask edit does not allow Arabic characters to be used for the Password char. Steps: - Drop in a TMaskEdit - Set the password char to an Arabic character - The edit does not show the proper character Area: international\other Problem: TDUMP.exe, does output in ANSI charcter for Directry name when using in comand line. So drectory name with Acceptance charcter does not display properly. Steps: 1. In command line tools type "tdump ίΡρ\t1.exe" make sure you don't have ίΡρ\t1.exe 2. It'll output Warning: Can not open input file ίΡρ\t1.exe. But the display of ίΡρ is not correct. Area: international\other Problem: DCC32.exe, does output in ANSI charcter when using in comand line. So drectory name with Acceptance charcter does not display properly. Steps: 1. create directry name called temp\ίΡρ 2. copy t1.pas in that dreictory. your file is at temp\ίΡρ\tp1.pas 3. in temp directry, type "dcc32 -cc ίΡρ\tp1.pas" to run dcc32 4. cpp display file name, the directry name does not see corectly, since it is output as ANSI insted of OEM. Area: international\other Problem: Compiling in Multibite directly name wich ended with 5c output .res file in lower directly. Steps: 1. mkdir temp 2. cd temp 3. create Multiblte name directly with 5c at end ex. katakana "so" in Japanses is [835C] mkdir "so" 4 change to that dirctly cd "so" 5. create rc file. r1.rc 6 compile it in that "so" directly brcc32 r1.rc 7. r1.res files is not in "so" directly insted it is in temp directly.
NOTE: These listings are for informational use only. It is not intended for use when calling Borland's Developer Support Department. If you have any suggestions or complaints about these 'Delphi Enhancements and Fixes' pages, please contact the Delphi Administrator. This e-mail address is not intended for support issues. |
|
|
|
|||||
| Made in Borland® Copyright© 1994-2003 Borland Software Corporation. All rights reserved. Report Piracy, Legal Notices, Privacy Policy Last Modified Thursday, 22-Mar-2001 18:57:04 EST |
|||||