Jump to content

Ruud

Members
  • Content Count

    15
  • Joined

  • Last visited

Everything posted by Ruud

  1. In D11.3 , clicking on View/Toolbars/Component and selecting the Standard tab , shows the Component-toolbar with 16 components . Clicking on View/Tool Windows/Palette and opening the Standard tab , shows the Palette-window with the same 16 components . When I do exactly the same in D12.1 , the Palette-window is the same , but the Component-toolbar now shows 32 components . The first 16 are the same as the 16 components of the D11.3 Component-toolbar . The second 16 are the same(!) as the first 16 , but in a different order . Is this a (well-known) bug , or a settings issue ?
  2. Unfortunately that's not true . I checked the first 15 tabs (Standard -> Vista Dialogs) , and found more duplicate components in D12.1 Component-toolbars : Additional - TSpeedButton System - TTimer Dialogs - TOpenDialog TSaveDialog TPrintDialog TPageSetupDialog TPrinterSetupDialog LiveBindings - TBindNavigator
  3. I'm not sure . In my case both Component-palettes are identical , the Component-toolbars are not .
  4. The color scheme of the Delphi 11.3 IDE can be edited via : Tools/Options/User Interface/Editor/Color The original color scheme ('Color SpeedSetting') is : (unnamed) That color scheme is stored in the registry key : HKEY_CURRENT_USER\Software\Embarcadero\BDS\22.0\Editor\Highlight (= Key01) and : HKEY_CURRENT_USER\Software\Embarcadero\BDS\22.0\Editor\Highlight\Inbuilt Themes\(unnamed) (= Key02) Key01 contains the subkey 'Structral Highlighting' . Key02 doesn't . The original Key01 does not contain the subkey 'Custom Themes' . I then changed some Delphi IDE color settings via : Tools/Options/User Interface/Editor/Color and some color settings via : Tools/Options/User Interface/Editor/Color/Structural Highlighting and saved this as color scheme : Test01 Key01 now contains the subkey \Custom Themes\Test01 (= Key03) Key03 does not contain the subkey 'Structral Highlighting' The color settings I changed via : Tools/Options/User Interface/Editor/Color/Structural Highlighting are stored in Key01/Structural Highlighting I have 2 questions : 1. is it correct that a Custom Theme can't have his own 'Structral Highlighting' settings ? 2. IIRC this was possible in D10.4 (21.0) ; has this been changed in D11.3 (22.0) ?
  5. I did some more testing , and I think I made a mistake : Custom Themes in D10.4 (21.0) did not originally contain the subkey 'Structral Highlighting' . This is what went wrong . I use the same color scheme for the Delphi IDE at least since D5 (perhaps even D2) , and for every D-version I exported the relevant registry key to a reg-file . Everytime I installed a new D-version , I used the exported reg-file of the previous D-version , to store my color scheme in the registry . I compared the reg-file with the original settings of D10.3 with the one of D10.4 , and found that Custom Themes were introduced in D10.4 . After installing D10.4 , I used the D10.3 reg-file to create the 'correct' Custom Themes subkey in D10.4 . I did this by replacing : [HKEY_CURRENT_USER\Software\Embarcadero\BDS\20.0\Editor\Highlight] which correctly contains the subkey 'Structral Highlighting' , with : [HKEY_CURRENT_USER\Software\Embarcadero\BDS\21.0\Editor\Highlight\Custom Themes\Test01] and imported the resulting new reg-file in the registry . By doing so , I generated the 'Structral Highlighting' subkey in Custom Theme Test01 myself . Remains the question : Why is there no 'Structral Highlighting' subkey for every Custom Theme ?
  6. Ruud

    problem with ComboBox

    procedure TForm1.Form_Create (Sender: TObject); begin ComboBox1.ItemIndex := -1; ComboBox1.Text := 'ComboBox Test'; ComboBox1.Items.Clear; ComboBox1.Items.Add ('Test 0'); ComboBox1.Items.Add ('Test 1'); (...) end procedure TForm1.ComboBox1_Change (Sender: TObject); begin case ComboBox1.ItemIndex of 0 : ShowMessage ('Combobox1_Change | ItemIndex = 0'); 1 : ShowMessage ('Combobox1_Change | ItemIndex = 1'); end; end; procedure TForm1.Panel1_Click (Sender: TObject); begin ComboBox1.ItemIndex := 1; end; After starting the program , the ComboBox1 text is 'ComboBox Test' . When I select 'Test 0' in ComboBox1 , the ComboBox1 text is changed into 'Test 0' , and the correct message box (with message 'Combobox1_Change - ItemIndex = 0') is displayed . But when I click on Panel1 , only the ComboBox1 text is changed into 'Test 1' . There's no message box ! What extra statement must be added to the Panel1_Click procedure ?
  7. Ruud

    problem with ComboBox

    OK , thank you all , I'm convinced , it's not a user-triggered change . So , because Delphi won't execute the ComboBox1_Change event handler for me voluntarily , I'll force Delphi to do so ! procedure TForm1.Panel1_Click (Sender: TObject); begin ComboBox1.ItemIndex := 1; ComboBox1_Change (Sender); { <<==== } end; Problem solved !
  8. Ruud

    problem with ComboBox

    User-triggered ? But clicking on Panel1 did do something with ComboBox1 : visibly it changed the Text property from 'Test 0' to 'Test 1' (most likely because ItemIndex was changed from 0 to 1) . That information is only available in ComboBox1 . It looks like ComboBox1_Change is partially executed . I don't know why the case statement isn't executed as well .
  9. Ruud

    problem with ComboBox

    Thanks for your response , but I did not change the Text property in the Panel1_Click . I changed the ComboBox1.ItemIndex property . Shouldn't that be enough to trigger the ComboBox1_Change ?
  10. This is how a normal TEdit looks like : The text is horizontally aligned , but not vertically . Relevant properties for Edit1 : Alignment | taCenter BevelWidth | 1 Height | 30 Width | 60 And this is how you want your TEdit to look like : The text is both horizontally and vertically alligned ! The solution is quite simple : define a TEdit within a TPanel . Relevant properties for Panel1 : Alignment | taCenter BevelWidth | 1 Height | 30 Width | 60 Relevant properties for Edit2 : Alignment | taCenter BevelWidth | 1 Height | 22 Left | 1 Top | 7 Width | 58 Ruud Schmeitz Maastricht
  11. Unfortunately that doesn't work in my case . With the chosen Font ( Verdana , 7) , AutoSize = True resizes the height of the TEdit to 20 , while (for some good reason) it must be 30 .
  12. I tried to buy the pdf version of Delphi in Depth: FireDAC by Cary Jensen (I already have the hard copy book) . The provided link on his site : http://jensendatasystems.com/firedacbook/ works just fine , but it seems impossible to actually buy the ebook from FastSpring . Is there another way to buy the pdf version of Delphi in Depth: FireDAC ?
  13. I contacted Jensen Data Systems twice : no response . Then I contacted FastSpring Consumer Support (Support Ticket Number: 01537817) : they advised me to contact product provider Jensen Data Systems ! 😒
  14. I thought about that too , so I deactivated Adblock Plus on these 2 pages : http://jensendatasystems.com/firedacbook/ http://sites.fastspring.com/jensendatasystems/product/delphiindepthfiredac?action=adds Unfortunately that didn't work .
  15. I got the English version of this page , clicked on 'Add to Order' ('Zur Bestellung hinzufügen' in your case) , and entered my 'Contact Information' . As 'Payment Method' , I chose 'Credit Card' : I entered my 'Credit Card Details' correctly . But when I click on 'Complete Order' , I always get this error-message : "You must be logged in to perform test orders, or make sure you've chosen 'Test Payment' as your payment method." That's not really a choice : when I choose 'Test Payment' I also must be logged in (enter 'Username' and 'Password') . And there's no 'Log in' button on that page !
×