flexdev Posted June 21, 2018 Share Posted June 21, 2018 Hi, after update unigui to last release 1466 , a my working project generate error in compiler.. "Undeclared Identifier. 'CurrentTheme' in unifileUpLoad.Pas" the error is generated when i use TUniFileUpload component (working fine with previous version of unigui). Ideas? Best Regards Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 21, 2018 Administrators Share Posted June 21, 2018 Hi, Please make sure you have completely removed the previous version source files from your system. Quote Link to comment Share on other sites More sharing options...
flexdev Posted June 21, 2018 Author Share Posted June 21, 2018 Hi, Please make sure you have completely removed the previous version source files from your system. Hi, i completely removed previus version (10.0.1424), and remove the C:\Program Files (x86)\FMSoft folder... install the new version but... not solve the compiler error. this is the function in the unit uniFileUpload.pas with error (The line in bold) function TUniFileUpload._Execute(Blocking: Boolean): Boolean; var FButton : TUniButton; FCButton : TUniButton; FExtEdit : TJSControl; SubmitAction : TJSObject; FUploadForm: TUniForm; S : string; begin AdjustServerParams; FCacheFile := ''; FUploadForm := TUniForm.Create(UniApplication); FUploadForm.Position := poScreenCenter; FUploadForm.Width := FWidth; FUploadForm.Height := 104 + UniServerInstance.ThemeManager.CurrentTheme.BandHeight; FUploadForm.BorderStyle := bsDialog; FUploadForm.BorderIcons := []; JSConfig('waitMsgTarget', [True], FUploadForm.WebForm.JSForm); FExtEdit := TJSControl.JSCreate('Ext.form.field.File'); FExtEdit.X := 8; FExtEdit.Y := 8; FExtEdit.Width := FWidth - 32; JSHackObject(FExtEdit); .... Quote Link to comment Share on other sites More sharing options...
flexdev Posted June 21, 2018 Author Share Posted June 21, 2018 Sorry ... I found the error, I had included a copy of the uniFileUpload.PAS directly in the project! Thank's for your help 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.