Tuesday, August 27, 2013

Firefox (23) going downhill

I just discovered that Firefox removed the 'Disable or replace context menus' checkbox from its OPTIONS panel. They say its and improvement. Mozilla! What the fuck? That was our first defense line against some intrusive web sites.

To get access to this feature type 'about:config' in your address bar then search for this string: dom.event.contextmenu.enabled
Double click the 'value' column to change it from enabled to disabled.

MOZILLA stop screwing around!

Wednesday, August 14, 2013

How to solve the "Cannot load a form that has itself as ancestor" error in Delphi

How to solve the "Cannot load a form that has itself as ancestor" error in Delphi



This is how a new/empty project should look like:
uses
  Forms,
  Unit1 in 'Unit1.pas' {Form1};


And this how your project probably looks like:


uses
  Forms,
  Unit1 in 'Unit1.pas' {Form};    <--------- here="" missing="" span="">

I spent on hour to find the well hidden culprit.
I had a previous problems where Delphi messed up the DPR file (the {$R *.res} declaration).
When do we ever learn?