-
Content Count
1943 -
Joined
-
Last visited
-
Days Won
25
Everything posted by Attila Kovacs
-
Hextor - Hexadecimal editor and binary data analyzing toolkit
Attila Kovacs replied to DigitalWolF's topic in I made this
it must be good, it's dark -
Ask for comments to improve this code
Attila Kovacs replied to Berocoder's topic in Algorithms, Data Structures and Class Design
I see. -
Ask for comments to improve this code
Attila Kovacs replied to Berocoder's topic in Algorithms, Data Structures and Class Design
Wow. Thinking out loud: If you already cast ResObj to TObject in the code, can't you just give it the same type in the parameter list? -
bdslauncher stopped working, can't open pas' with dbl click anymore, strangely for both installations (10.1/2007) if I rename bdslauncher the system complains that the application is missing. how should I debug it further?
-
no bds running, dpr from shell starts bds, opens project, no further shell actions are working, no pas, dpr, dproj are passed to the IDE no bds running, dproj from shell starts bds, opens project, no further shell actions are working, no pas, dpr, dproj are passed to the IDE no bds running, pas from shell starts bds, does NOT opens the pas file, no further shell actions are working, no pas, dpr, dproj are passed to the IDE
-
Okay, the same happened on my other machine, clicking on a pas brought up the select app dialog with bdslauncher on the first place, clicked on it, and that's it. It doesn't work anymore.
-
found it, no luck, but the right association is there, it's bdslauncher which stopped doing anything
-
DBGrid repaint or refresh when dataset is refreshed
Attila Kovacs replied to ChrisChuah's topic in Databases
dataset.disablecontrols; / dataset.enablecontrols; -
To be able to manage that I took outline SVG icons. Every style has colors for the font included, so I take the normal text color for the outline color: <Style>.GetStyleFontColor(sfWindowTextNormal) With Riversoft's SVG Library I can iterate through the elements of the SVG's (runtime, loaded into SVGImagelists or SVGDocuments) and change the pen/brush color. (Or anything else, like text for calendar etc...) Maybe other libs can offer the same, I don't know. Some of them are storing the SVG as text AFAIK, I would not take such a lib. Some of them will need extra libraries installed on the client machine, which is a joke for just showing SVG icons. Maybe if you have a drawing app or similar.. Also, themes are overrated. An average user will never use it except you will force him to use it. 99% the theme users are Developers. Also, dark themes are not good for the eye, contrary to belief.
-
Why don't we have a bunch of cool visualizers in the IDE when it's pretty easy to make? (let's see how video embedding works, youtube had a very bad video quality) In the video there is a TStringList Visualizer I put together. Visualizer.mp4
-
Fastreport
Attila Kovacs replied to abdellahmehdi's topic in Algorithms, Data Structures and Class Design
Are the Master and Detail dataset the same? Or am I blind. -
Something is happened to my IDE the Evaluate/Modify window is not giving back the focus to the editor on closing it. I have to click into the editor every time. Any thoughts what could cause this?
-
Ok, it was me, delete this thread pls. disabled my own expert then enabled again and now the problem is gone..... strange as I have this problem since 1-2 weeks and IDE was restarted several times
-
Prevent Delphi IDE Multiple Instance
Attila Kovacs replied to stacker_liew's topic in Delphi IDE and APIs
Shortcuts like a shortcut to Delphi on your desktop or anywhere. It has a hoykey setting which you could have set accidentally. Did you check them? Use this: http://www.nirsoft.net/utils/shman.html -
Prevent Delphi IDE Multiple Instance
Attila Kovacs replied to stacker_liew's topic in Delphi IDE and APIs
check your Delphi shortcuts for an assigned key-combo, it makes no sense what you are telling us -
FreeAndNil() - The Great Delphi Developer Debate
Attila Kovacs replied to AlexBelo's topic in Tips / Blogs / Tutorials / Videos
If you have such a strong reference, you don't need the whole hocus-pocus. It will be the point where the object should be released regardless of whether it's an interface or not. I mean, the idea using FreeAndNil instead of locking. -
FreeAndNil() - The Great Delphi Developer Debate
Attila Kovacs replied to AlexBelo's topic in Tips / Blogs / Tutorials / Videos
What interface references and automatic memory managed instances allow you to do is to have multiple, unshared, references to a shared object instance. And as long as some of those references is alive, that object instance will be alive and valid, too. But this is a different program as freeing randomly shared objects (Beginning of the story). You can do the same with a shared counter and atomic inc/dec without interfaces. Not to mention, that re-referencing that interface (creating new unshared references) has to be made in a tricky way, creating first a new, temporary reference to be sure its refcnt won't reach 0 at the same time. I'm also not sure, what this has to do with FreeAndNil(). Looks like somebody wanted to take a shortcut but did not work out and culprit is the language? -
This is so beautiful, I'll take it for my signature.
-
DBGrid selected row does not highlight the selected row when ClientDataSet is Closed and Open again
Attila Kovacs replied to ChrisChuah's topic in Databases
The thumbnail suggests that you have owner-drawing on, the bug must be in your code. -
[DCC Warning] W1013 Constant 0 converted to NIL
Attila Kovacs replied to dummzeuch's topic in RTL and Delphi Object Pascal
Well, it is. Explicit. -
FreeAndNil() - The Great Delphi Developer Debate
Attila Kovacs replied to AlexBelo's topic in Tips / Blogs / Tutorials / Videos
I can't see any valid reason not to use FreeAndNil() yet, just complaints about not being able to read others code by ppl. who are well known for being ARC advocates. -
FreeAndNil() - The Great Delphi Developer Debate
Attila Kovacs replied to AlexBelo's topic in Tips / Blogs / Tutorials / Videos
Thought so. GC warriors. Why not Java? Anyway, if they were interfaces that would be a different program. I don't think you are familiar with pointers at all. -
FreeAndNil() - The Great Delphi Developer Debate
Attila Kovacs replied to AlexBelo's topic in Tips / Blogs / Tutorials / Videos
:DDDDDDD It's the same as x1.fee; in your ecample. Are you sure you understand pointers? Maybe Java would be a better choice? -
FreeAndNil() - The Great Delphi Developer Debate
Attila Kovacs replied to AlexBelo's topic in Tips / Blogs / Tutorials / Videos
poor freeandnil(), it has nothing to do with it, it's a low-level design pattern you don't like -
FreeAndNil() - The Great Delphi Developer Debate
Attila Kovacs replied to AlexBelo's topic in Tips / Blogs / Tutorials / Videos
At night in the cemetery, a dwarf bounces in front of the humpy and asks: - What's on your back? - A hump. - Do you need it? - No. - Then I'll take it. The humpy suddenly straightens, happily seeing that he is no longer crippled. He hurries home and meets the lame and tells what happened to him. The lame immediately rushes to the cemetery, searching for the dwarf. The dwarf jumps in front of him and asks: - What's on your back, lame? - Nothing... - Then get it, here's a hump!