Jump to content

Lajos Juhász

Members
  • Content Count

    1073
  • Joined

  • Last visited

  • Days Won

    15

Posts posted by Lajos Juhász


  1. 37 minutes ago, shun said:

    Are there any limitations I should be aware of when using the Community Edition for such purposes?

    The only limitation I can think of that will most probably be a big no for you is the revenue clause for the companies that want to install the community edition (https://www.embarcadero.com/products/cbuilder/starter):

     

    • Licensed for use until your individual revenue from C++Builder applications or company revenue reaches $5,000 US or your development team expands to more than 5 developers

    It is meant only for a start-up companies that don't have a product yet. I safer choice would be to test your code base using the trial version.


  2. 9 hours ago, alogrep said:

    It does not seem so obvious to me that there is ONLY an option to ignore the exception (then it does not even trigger the OnEditError, for example). I would have expected a sub-option: catch it but do not show notification to the end-user. ..

     

    This option is exactly do not show the error in the IDE. The exception is going to work as expected only you do not get the dialog while debugging.


  3. 16 minutes ago, EugeneK said:

    Lol, we had to do the same migration at our company, complained to Atlassian that cloud Jira is super slow compared to old hosted one, their response - our code is very big and complex you should get a faster computer. And our company is much bigger than Embarcadero. Jira is dominating the market and there is no easy migration to something else, there is no reason for them to do anything right now.

     

    You should watch more youtube there jura is already fired by ClickUp.


  4. 7 minutes ago, Vandrovnik said:

    But still - Emba is customer, I guess they can ask Atlassian to add this functionality, which doesn't look too difficult to implement, does it?

     

    There is a comment on the QP:

    Quote

    Marco Cantu

    26/Jul/24 7:06 PM
     

    I don’t know, we’d love to surface it. It’s been requested for long time. Also, there were plugins, but not available on cloud hosting. We’ll keep looking for options.


  5. 9 hours ago, UCT_24 said:

    Though this technically works, i have quite frequently troubles compiling ( internal compiler errors ) and installing (runtime errors of various kinds, mostly by "rtl280.bpl/dll (or simillar)" which are not really reproducible.

     

    I have had a problem with Delphi 12.2 when I have edited my package. After that I was unable to compile it due to access violation during compilation. The only solution was to delete all the dcu, bpl and dcp files. After that I was able to compile the project group. Of course, I cannot reproduce it and did not took any screenshots. 


  6. For me it is working:

     

    var
      eItemClickEvent: TCustomListBox.TItemClickEvent;
     

    and fails at:

     

    eItemClickEvent        := aListBox.OnClick ;

    since the OnClick and OnItemClick has different signatures.

     

    For OnClick it should be:

     

    var 

    eOnClickEvent : TNotifyEvent;

     

    eOnClickEvent:=aListBox.OnClick;

     

     

     


  7. On large projects in Delphi XE5 (later they have tried to make it more efficient) Unit scope names have had problems on large projects. the compiler literally tried with every prefix to locate every unit. When I have removed the scope names and changed the source to contain the full unit’s name with scopes, I was able to compile all projects in a project group without a problem.


  8. 15 hours ago, Angus Robertson said:

    BTW, the component expects String content and will convert to whatever encoding is specified, no idea what will happen if you encode UTF8 and it then encodes it again. 

     

    Depends on the version of the Delphi. Code Page aware versions of Delphi is going to do as expected UTF-16 to UTF-8 and on assignment back from UTF-8 into UTF-16. 


  9. You would like to move the scrollbar by the ammount the user have move the mouse to do so you will need two variables (private fields) that stores the previous mouse coordinates:

     

    procedure TForm1.Image1MouseDown(Sender: TObject; Button: TMouseButton; Shift:
        TShiftState; X, Y: Integer);
    begin
      fPRevX:=X;
      fPrevY:=Y;
    end;

     

    Now when the user moves the mouse while the left button is pressed we can calculate the new position for the scrollbars:

     

    procedure TForm1.Image1MouseMove(Sender: TObject; Shift: TShiftState; X, Y:
        Integer);
    begin
      if ssLeft in Shift then
      begin
          scrollbox1.vertScrollBar.Position := scrollbox1.vertScrollBar.Position+fPrevY-Y;
          scrollbox1.horzScrollBar.Position := scrollbox1.horzScrollBar.Position+fPRevX-X;
    
          fPrevX:=X;
          fPrevY:=y;
      end;
    end;

     

    • Thanks 1
×