Jump to content

Compiler error after update to UniGui rel. 1466


flexdev

Recommended Posts

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

 

 

 

 

 

 

Link to comment
Share on other sites

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);

....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...