Delphi Pages Forums

Delphi Pages Forums (http://www.delphipages.com/forum/index.php)
-   General (http://www.delphipages.com/forum/forumdisplay.php?f=2)
-   -   problems porting an app from Delphi 7 to 10 (http://www.delphipages.com/forum/showthread.php?t=217319)

kolbasz 12-10-2015 10:10 AM

Quote:

I have separate folders for 32/64 binaries. But the dcu files are generated near the pas files, not near the binaries. And since the pas files are the same in 32/64...
This is usually happens when you upgrade a project to a higher version of delphi. Always recreate the project with the newer version ,then add each unit one by one.

kolbasz 12-10-2015 11:15 AM

Looks great, unfortunately I cannot test it because I don't have VirtualBox. Regarding the source...I would use some code folding. This way it looks more compact and you can find stuff more easily.
Code:

{$Region 'VST Events'}
//all VST related stuff here
{$EndRegion}


DavidB3 12-10-2015 11:38 AM

Just to see how it looks now:

http://i411.photobucket.com/albums/p...pscvk0ood6.jpg


Something else: I'm thinking of changing the interface in Add/Edit Window.

http://i411.photobucket.com/albums/p...pshzemnrr0.jpg

http://i411.photobucket.com/albums/p...pslqungqwa.jpg

As you may notice, this way of adding/modifying entry parameters is not very "space" efficient.
Some comboboxes/editboxes are too short for their data, others are too long...
Any ideas on how to improve this (but without losing its easiness to use)..?

kolbasz 12-10-2015 12:16 PM

Quote:

As you may notice, this way of adding/modifying entry parameters is not very "space" efficient.
Just an idea...what if you put all into a listview? It would look nicer, more symmetrical, but there is a lot of work with it.

DavidB3 12-10-2015 04:35 PM

I found some replacement icons for the blue one, but they aren't too much better...

http://i411.photobucket.com/albums/p...psgmltots0.jpg

http://i411.photobucket.com/albums/p...psotcj6pvu.jpg

http://i411.photobucket.com/albums/p...psotz6mzyi.jpg

http://i411.photobucket.com/albums/p...psaltqfu08.jpg

Ideally it would not be needed but couldn't find icons for most of these bus types:

Code:

function GetStrBusType(const BusType: Byte): WideString;
begin
  case BusType of
      1:
        Result := 'SCSI';
      2:
        Result := 'ATAPI';
      3:
        Result := 'ATA';
      4:
        Result := 'FIREWIRE';
      5:
        Result := 'SSA';
      6:
        Result := 'FIBRE';
      7:
        Result := 'USB';
      8:
        Result := 'RAID';
      9:
        Result := 'iSCSI';
      10:
        Result := 'SAS';
      11:
        Result := 'SATA';
      12:
        Result := 'SD';
      13:
        Result := 'MMC';
      14, 15:
        Result := 'VIRTUAL';
  else
      Result := '';
  end;
end;

So I use this icon when I don't have an icon for the current bus type.



Yes, it's a lot of work to use Listview for Add/Edit window but I am not so sure about the result...

kolbasz 12-10-2015 06:12 PM

Quote:

I found some replacement icons for the blue one, but they aren't too much better...
In my opinion the GUI looks great now. Publish your project and ask other people's opinion as well.


All times are GMT. The time now is 08:45 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.