WPCubed Product Support

How to get InitDir of TWPStyleDlg

Hello

I keep styles in a particular folder and want the TWPStyleDlg to point to that folder when loading or saving.

How can I set the folder?

Thanks.

#1 ♥ 0
3.8k Views 2 users read 1 min
support

Hi,

currently you have to modify the code in WPStyles.pas

procedure TWPStyleDefinition.SaveStyleSheetClick(Sender: TObject);
var WPStyleCollection1: TWPStyleCollection;
begin
with TSaveDialog.Create(Self) do
try

Julian

#2 ♥ 0
This category is archived. No new posts are possible.