Jump to content

valramosr

Members
  • Posts

    25
  • Joined

  • Last visited

Posts posted by valramosr

  1. Hello, I have an application. When I call the frame it presents the error:

     

    Privileged Instruction

     

    Below my code:

    var
      Nd : TUniTreeNode;
      Ts : TUniTabSheet;
      FrC : TUniFrameClass;
      Fr : TUniFrame;
      FClassName, iconfile, Path: string;
      index: Integer;
    begin
    
      Nd := NavTree.Selected;
      if Nd.Count = 0 then
      begin
        Ts := Nd.Data;
        if not Assigned(Ts) then
        begin
          Ts := TUniTabSheet.Create(Self);
          Ts.PageControl := UniPageControl1;
    
          Ts.Closable := True;
          Ts.OnClose := TabSheetClose;
          Ts.Tag := NativeInt(Nd);
          Ts.Caption := Nd.Text;
          Ts.ImageIndex := Nd.ImageIndex;
    
          if Nd.Text = 'Cadastro de Fornecedor' then
             FrC := TUniFrameClass(TFrameFornecedor);
          if Nd.Text = 'Cadastro de Prefeitura' then
             FrC := TUniFrameClass(TfrmPrefeitura);
    
          Fr := FrC.Create(Self);
          Fr.Align := alClient;
          Fr.Parent := Ts;
    
          Nd.Data := Ts;
        end;
        UniPageControl1.ActivePage := Ts;
      end;
    
    
  2. Hi guys,

     

    When I try load my application mobile. Show this error: "_hdmask_is not defined".

    But opens the application.

     

    my version is 1.0.0.1383.

     

    Only mobile!!

     

    Thaks!!!

  3. I have a big problem!

    When I generate a report and load it into the application it always accumulates memory.
    How do I load the pdf from the memory of the application?
     
    Running application without reporting: 9.9MB
    With the first Report: 12.7MB
    With the second Report: 13.5MB
     
    Releasing memory space in the application?
    Thanks!!
  4. Hello everyone, I have a report exported to pdf. When it generates another report with the same name it loads the one that was in the cache. And not the new. How to change that?

×
×
  • Create New...