Recent

Author Topic: Database Desktop Installs but does not work  (Read 1725 times)

sbenson

  • Newbie
  • Posts: 2
Database Desktop Installs but does not work
« on: August 20, 2018, 12:23:39 pm »
Post here as not replies in the General Forum

Attempting to install the Database Desktop.

Lazarus and FPC installed from  fpcupdeluxe-x86_64-linux (trunk) (so 1.9.0 and FPC 3.3.1)

Package lazdatadict is listed 0.0 (??) and installs and there is a menu item called Database Desktop but clicking on it does nothing.

Compiling the package separately works but running the DD (which works) but clicking on a "New" DD and the error message "Control '' has no parent form or frame." appears.

Ideas?

wp

  • Hero Member
  • *****
  • Posts: 11854
Re: Database Desktop Installs but does not work
« Reply #1 on: August 20, 2018, 01:14:24 pm »
Hmm... I never used "File" > "New", I always use "Connections" > "New connections".

But I can confirm the error that you describe. Here is a quick fix to make it work. But you should file a bug report so that it can be fixed correctly:

- Open unit "dicteditor"
  - Go down to the implementation of TDataDictEditor.Create.
  - Remove "CreateGUI"
  - Go up to the declaration of  TDataDictEditor.
  - Move the declaration of method "CreateGUI" from "private" to "public".
- Open unit "frmmain"
  - Find the implementation of TMainForm.NewDataEditor
  - Add "Result.CreateGUI" somewhere after "Result.Parent := PCDD".

 

TinyPortal © 2005-2018