-
Content Count
2071 -
Joined
-
Last visited
-
Days Won
29
Everything posted by Attila Kovacs
-
@Stefan Glienke People tend to forget about comfort feeling 😄 Joking aside, I've here a client/server thingy where I have to do things parallel and debug them, so yes, it's a temporary discomfort to scroll up and down in the projects window like a poisoned mouse to find the node which has this context menu. But I like your chart. It's just too practical. 😉
-
@dummzeuch ctrl-shift-f9 / run without debug
-
@Sherlock It's too slow for me.
-
Hands-On Design Patterns with Delphi
Attila Kovacs replied to Primož Gabrijelčič's topic in Tips / Blogs / Tutorials / Videos
I'm more eco-friendly so I just took the digital version 😉 -
(Mis-)Behaviour of TStringHelper
Attila Kovacs replied to Cristian Peța's topic in RTL and Delphi Object Pascal
It's a bullsh@t. The doc is a big ~, the mimicked java/.net implementation is a ~, and the parameter name "startIndex" is a ~. It should be called lastIndex as the function name reflects only an index lookup, and not any search in some direction, and mostly not the underlying implementation. -
@Sherlock I mean "Aussteigen, Einsteigen, Geht" 😄
-
öööööööö, if not, you could try an AEG. 😉
-
@dummzeuch <joke> It's pretty fine to use Delphi's built in Round in a banking application. </joke>
-
Delphi pitfalls: Enumerated types and for loops
Attila Kovacs replied to Lars Fosdal's topic in RTL and Delphi Object Pascal
*phew* 🙂- 39 replies
-
- pitfall
- enumerated type
-
(and 1 more)
Tagged with:
-
Delphi pitfalls: Enumerated types and for loops
Attila Kovacs replied to Lars Fosdal's topic in RTL and Delphi Object Pascal
@Uwe Raabe Phuhhh, this is just mapping numbers into an enum. Your helper actually is like the following code, with obfuscated names. I don't think I want to debug such code. It even works on negative values in the list. TEnum = (five, nine, fourteen, thousand) enum.AsInteger := five.AsInteger + nine.AsInteger; if enum = fourteen then begin Writeln('Hooray!'); end There must be a special use-case to do this, I suppose.- 39 replies
-
- pitfall
- enumerated type
-
(and 1 more)
Tagged with:
-
Solution(s) for coder with quite poor eyesight
Attila Kovacs replied to Tommi Prami's topic in Delphi IDE and APIs
try something with dot pitch >= 0.3mm ( <~83DPI ), or a 4K with similar pixel-group size in 200% scaling -
I was always pissed because of the property editor and its incapability to helping the work, so I made this extra filter-box. It has a little discomfort as the Property Editor steals the focus on the first click, I'll check what can I do if I find some time. Also, adding/deleting/storing the predefined filters are unimplemented yet. If someone feels the power to get it done, don't hesitate to apply.
-
@dummzeuch Sorry, I forgot them. As everybody every time... Btw. I just found out that it's not working if the selection is in a popup window like columns of a grid etc... I had no time yet to figure out what the problem is. Maybe you will have more ideas as me..
-
Delphi pitfalls: Enumerated types and for loops
Attila Kovacs replied to Lars Fosdal's topic in RTL and Delphi Object Pascal
That's what I was referring to in your previous post https://stackoverflow.com/questions/4950129/delphi-for-in-loop-set-enumeration-order and https://stackoverflow.com/questions/1600575/iterate-through-items-in-an-enumeration-in-delphi- 39 replies
-
- pitfall
- enumerated type
-
(and 1 more)
Tagged with:
-
@Tommi Prami Sorry, I'm not touching the property editor at all, so no coloring or any drawing possible. It has a filter interface where I can decide what should be in the list and what not. However, one could easily filter those properties which are declared only in the component class, or in the last 2 classes (TCustomXXX, but I think there are no published properties), or build a tree and select which ones you want to see. So could you have a clear overview of the components own properties. Edit: I made a little test and It's not that useful as I thought: (%'s represent the class depth (parents))
-
ANN: Parnassus Bookmarks and Navigator will be included in the next release of RAD Studio
Attila Kovacs replied to Dave Millington (personal)'s topic in Delphi Third-Party
@David Millington Latest version of the API (required units and demos) – no longer available; Bookmarks acquired by Embarcadero. Read more here. What does it mean? I have a plugin which I might want to publish based on these files. What now? -
ANN: Parnassus Bookmarks and Navigator will be included in the next release of RAD Studio
Attila Kovacs replied to Dave Millington (personal)'s topic in Delphi Third-Party
Allegedly nobody has time at EMBT. But what do they do? -
I remember having seen a similar screenshot back in g+ but I can't recall what was the problem, perhaps the font. Nope, there is no solution in the post
-
Is there a way to figure out that the IDE is going to shut down? Possibly before TOTAFileNotification fires.
-
@dummzeuch The idea is good, but I'm afraid it's too late. Plugins go first. Have to check.
-
How to pass an unknown record to a function as argument
Attila Kovacs replied to John Kouraklis's topic in RTL and Delphi Object Pascal
@Rudy Velthuis Yup. -
@David Hoyle I was thinking about the same, but, this is a plugin dll for Parnassus Bookmark and I'm not sure that I want to hook it from there... I didn't even look how could I access the main form.
-
@David Hoyle Thx, I was looking everywhere for this notifier! For now I've switched to TOTAFileNotification, and I'm silent between ofnProjectDesktopSave/ofnActiveProjectChanged and the ofnFileClosing with the filename ending with '.dproj'. Yeah, ugly botching, but I have no other choice at the moment...
-
@Stéphane Wierzbicki In Berlin everything ok, except I had to use Right-Clicks (the other left :) insted of Left-Clicks 🙂
-
HTML Library & Fast Report
Attila Kovacs replied to Alexander Sviridenkov's topic in Delphi Third-Party
@Alexander Sviridenkov Cool. I did the same last year with my report generator, html+html report generator in the normal report generator. It's freakin' awesome.