-
Content Count
2907 -
Joined
-
Last visited
-
Days Won
169
Posts posted by Uwe Raabe
-
-
2 hours ago, David Schwartz said:I doubt we'll ever see any fundamental changes to Raise Components at this point.
Well, I am not very interested in fundamental changes anyway. I would be happy if they are kept on par with the VCL components, especially regarding VCL styles and High DPI support.
-
There is a known package incompatibility with 10.3.2 which affects design time packages and IDE experts. I have been told that a hotfix will be available soon.
-
1
-
-
10 minutes ago, PeterBelow said:Is the project perhaps Win64 or FMX?
Or perhaps no framework at all? Try placing a standard VCL control first and the IDE might ask you.
-
1 hour ago, Alexander Elagin said:There is another valuable shortcut (Ctrl-Alt-V) which is used by IDE to open the Event log window, but MMX re-registers it for some action I always have to reconfigure back.
According to a comment in code this is most likely done on purpose. So you might be forced to change that after the installation. It should stay that way when you upgrade MMX (besides the fact that settings transfer is not working ion the current beta).
Note: MMX stores shortcuts separate for each IDE version.
-
I can indeed confirm that MMX registers Ctrl-Alt-C for Copy Entity as the default shortcut, but a quick check revealed that even Delphi 7 had this linked to the CPU window. So I don't know why it was chosen for that action.
That said, it is sometimes pretty hard to find available and reasonable shortcuts. Even if you find one it might be taken by Delphi in the next version - let alone another 3rd party plugin. That is why these shortcuts can be configured.
Nevertheless I will investigate the contextual approach.
-
1
-
-
1 hour ago, dummzeuch said:Does installing those components that are free (not just demos) and those that you can buy via GetIt (is that actually possible?) also install the source code?
For the mentioned Raize Components I can confirm that. GetIt just places the files in a weird location, but you can do what you describe after that and work with the library as you wish. That is exactly how I update my own Raize Components repository since the acquisition. After some cleanup of the installed design packages and library folders inside the IDE everything is as consistent as before.
Of course I would prefer having a public repo for these components, but it is quite possible to work in a professional way even with GetIt.
BTW, you can't buy via GetIt - at least not yet.
-
1
-
-
55 minutes ago, freeman35 said:Not sure but, If I'm not wrong, when change font(s) in option, its not applied.
That is probably because fonts are handled by the theme.
-
3 minutes ago, Stéphane Wierzbicki said:(MMX code explorer should appears only if it was previously opened)
Well, at least that is a specific requirement. It is just that I would never be in that state (i.e. MMX not open), thus I didn't even consider this case before.
You can disable that feature in General - Delphi Editor - Options - Auto toggle Object Inspector and Code Explorer, but then it will never be shown with F12.
-
1
-
-
45 minutes ago, Stefan Glienke said:The return type combo box seems to be some special thing
Indeed - and I am not very satisfied with it. I haven't had the time to create a proper replacement yet.
-
This is a known incompatibility between design packages and experts compiled with 10.3.2 when used with 10.3 or 10.3.1. Currently there is no workaround for that besides having two separate DLLs. I'd rather avoid that due to the build and setup nightmare that is causing. Nevertheless I am confident that Embarcadero will provide a hotfix addressing that problem pretty soon.
In the mean time MMX 15 for Rio can only be used with 10.3.2, sorry about that.
-
1
-
-
@Cristian Peța That looks like a perfect candidate for the Visitor explained in this article: The Visitor Pattern – Part 4 avoiding all the is type calls and type casting.
The above code would break down to implementing a TTranslator class like this:
type TTranslator = class(TVisitor) protected procedure IterateComponents(Instance: TComponent); public procedure VisitAction(Instance: TAction); procedure VisitComponent(Instance: TComponent); procedure VisitControl(Instance: TControl); procedure VisitCustomForm(Instance: TCustomForm); procedure VisitCustomFrame(Instance: TCustomFrame); procedure VisitMenuItem(Instance: TMenuItem); end; procedure TTranslator.IterateComponents(Instance: TComponent); var I: Integer; begin for I := 0 to Instance.ComponentCount - 1 do Visit(Instance.Components[I]); end; procedure TTranslator.VisitAction(Instance: TAction); begin end; procedure TTranslator.VisitComponent(Instance: TComponent); begin IterateComponents(Instance); end; procedure TTranslator.VisitControl(Instance: TControl); begin if Instance.Action = nil then begin end; end; procedure TTranslator.VisitCustomForm(Instance: TCustomForm); begin { translate form parts ... } { translate components } IterateComponents(Instance); end; procedure TTranslator.VisitCustomFrame(Instance: TCustomFrame); begin { translate frame parts ... } { translate components } IterateComponents(Instance); end; procedure TTranslator.VisitMenuItem(Instance: TMenuItem); begin if Instance.Action = nil then begin end; end;
Instead of calling
TranslateForm(MyForm)
you would call
Translator.Visit(MyForm)
-
3
-
-
-
Thanks, now I can reproduce.
-
4 minutes ago, Микола Петрівський said:you can break some cycles by moving parts of uses to implementation section
That is not breaking cycles, but actually creating them. Cyclic dependencies in the interface simply don't even compile. Therefore cyclic dependencies are only possible in the implementation section.
-
4
-
-
There is a new beta drop (build 2344): https://www.mmx-delphi.de/downloads/download-info/mmx-beta-build/
-
1
-
-
As I cannot reproduce here there is probably more to that.
I have the MMX Explorer pinned and the OI collapsed in a tab in the same dock host. Pressing F12 switches from Code to Design and pops out the OI, or from Design to Code while the OI collapses again making room for the Explorer.
What is your scenario?
-
Could it be that those highlighted properties are those to be linked to other components?
-
45 minutes ago, M.Joos said:Hopefully they can fix TfieldCache rather than rolling back to the 10.3 approach for FieldAddress.
They move the code away from the class constructor into the initialization section and revert that in 10.4 for instance.
-
Thanks! Seems to have worked then.
-
In case standard Paypal works, you can send money to my account (use may name or email address) with a quick note and I will add that to the MMX Icon pool.
-
16 minutes ago, Bill Meyer said:In general, keep scope everywhere as narrow as possible.
Amen!
-
1 hour ago, Jacek Laskowski said:I search for other, without TFDConnection, I use a FireDAC connection pooling
You are still using connection pooling with this approach. Connection pooling doesn't pool TFDConnection but TPhysConnections which can be accessed by TFDConnection.ConnectionIntf.
-
1
-
-
- clear FDQuery1.ConnectionName
- add a TFDConnection
- set its ConnectionDefName to your need
- set FDQuery1.Connection to that connection
-
3 minutes ago, Erix A. said:recompiling the same units over and over again
Isn't that what they call cyclic dependency?
-
3
-
wuppdi Welcome Page destroys Delphi IDE 10.3.1 start screen
in Delphi IDE and APIs
Posted
That is a known problem with the scroll mechanism used in the splash screen. As different SKUs have different background colors, the code uses the last scan line to fill the newly added lines when scrolling (seems not like the wisest decision). If the last scan line has some text you end up with the effect seen above. This affects all plugins with a multi-line description when they happen to be displayed at the bottom before scrolling.