Modern view application with Delphi VCL. It's possibly? [closed] - delphi

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I wanna modern view of my application on old systems like windows XP. How I can do it, without use FMX?

you can use VCL components with XE10, that provide you to use Native Extended Styles.
you can check this :
http://docwiki.embarcadero.com/RADStudio/Seattle/en/VCL_Styles_Overview
or
Delphi XE2 VCL styles tutorial - how to change the style at runtime
however be carefull of which version of Delphi you are using, because embarcadero change a little bit about how the TStyleManager apply styles (pre-load, at run time, ressource... there is few way to apply it).
example :
var
StyleResource : string; // filename of the style
begin
TStyleManager.LoadFromResource(HInstance, StyleResource);

Related

Convert Delphi VCL Windows app or rewrite? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I have a Windows VCL app in Delphi XE5 that I'm looking to convert/rewrite for iOS. The current app uses a local Firebird database.
I'm looking for suggestions on whether to use a tool to convert the VCL app for iOS use, or whether rewriting is the best way to go.
You don't need to rewrite your application provided you made it using FMX (FireMonkey) instead of VCL. FMX was introduced with Delphi XE2. Old FMX (The one provided with XE5) will probably not work with recent iOS version. So upgrading Delphi to latest version is highly recommended.
If you wrote your application with VCL, then yes you have to rewrite it with FireMonkey (FMX). This could be not to much difficult as FMX components are close to VCL. The most difficult part is if you use 3rd party visual components. You have to get FMX version.

Embarcadero Delphi VCL - Name of component [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
What is the name of this visual component? Thanks
It might be the common TButton component in bsCommandLink style (set by the Style property).
TLama's educated guess might very well be right.
In general, to answer questions of this nature you can use Spy++ (or any other similar tool) to find the window class name. That should be enough to identify the control.

How to change the volume of Tmediaplayer using a trackbar [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am new to Delphi 2010. I am using Tmediaplayer to play wma files in a loop. I want to change the volume of tmediaplayer. I googled ways to do so but they al seem difficult. Are there an easy ways to change the volume using a trackbar. Any suggestions on where to start ?
The VCL version of TMediaPlayer does not provide any kind of volume control. You would have to resort to direct MCI commands, such as the setaudio command with the (left|right) volume set to <factor> flag. The DeviceID property will tell you the device identifier that you can send commands to while the player is active.
The FMX version of TMediaPlayer has a Volume property. FireMonkey was introduced in XE2 though, so your D2010 does not have it.

How to use difxapi.dll in delphi? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I need to use difxapi.dll from my Delphi project (Pascal). I tried to import it as a type library in Delphi, but Delphi gave me an error with a long backtrace.
Maybe i am doing something wrong? How should i correctly add this lib to my Delphi project so i can use it? It's Delphi XE2 if it matters.
DIFxAPI is a standard 32-bit dynamic link library (DLL), not an ActiveX library. There is no type library to import for a normal DLL.
To use DIFxAPI.DLL in your application, you need to translate the DIFxAPI.h file to Delphi, and then call those imported procedures from your Delphi application. (You'll want to either import the W versions of the API functions, or use PAnsiChar instead of PChar in your imported functions, as XE2 uses Unicode.)
You can find more information on the MSDN pages in Linking an Installation Application to DIFxAPI.DLL

Delphi - how to skin a form [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I just finish reading delphi-skinning-libraries and sptbxtoolbar-skin-change but this is not what I wanted. I'm interested in how to apply a skin on a form, just like the classic WinAmp windows :)
Any aricle or code or ideea is welcomed.
I just found Windows XP Theme Manager, i'm at work now, so i'll study it at home (I hope this is wahat I need)
Actually the former question (with a nudge at VCLSkin) is exactly what you need -- don't get suggested too much by the fact that all the examples look like MSWindows -- the skinning behind them allows for any image-based GUI.
The only alternative is ditching the Forms altogether and building your skin from ground up using WinAPI. An example can be seen on flipcode (C++, but WinAPI's the same).

Resources