Jump to content

rgreat

uniGUI Subscriber
  • Posts

    421
  • Joined

  • Last visited

  • Days Won

    9

Posts posted by rgreat

  1. Definitely not enough documentation on how uniAlignmentClient works with LayoutConfig/LayoutAttibs.

    I have the same problem. I need to make back panel to fit all child panels/components placed on it.

    Tried vbox and some semi-random tinkering, and components inside panel align themselves just fine, but that underlying panel just does not resize to fit them all when I make error label visible.

    out.gif.60cd0b1dc27d2ae15406d71173f99d4e.gif

    And no, I do not want to fit all of this into full screen form, just into panel (outside rectangle on gif).

    How to design that?

  2. Yep. I checked it is not working now.

    Still you could call Close; in form OnShow event.

     

    Something like:


    procedure TUniForm1.UniFormShow(Sender: TObject);
    begin
       if CreateNonVisual then Close;
    end;
    That will do the trick.

    That's quite a dirty way to do things, though.

     

    I wish Farshad will change this behavior at least for free forms.

  3. 14 hours ago, Clipe Informática said:

    There should be a way to create a form, use its methods/variables and destroy it without showing it in the process, even if i use "UniSession.Synchronize;"

    Just call vSF0270.Close; before UniSession.Synchronize;

    Form will not be shown.

    Maybe you should also set vSF0270.FreeOnClose:=False, if you want to work with form properties later.

    • does it mean - that i can create a similar thing like unigui.dll just for linux?
    • is the result a Shared Objects (*.so) files what i can upload to an linux-webhoster-standard-server?

    Usually it is a standalone linux console application, which can be configured to run as a Linux daemon.

    Not sure if it can be installed as Apache .so library. Never tried it myself as first approach is just easier under Linux.

    • Must i switch to Lazarus? ..actual i use Delphi XE4

    No. Delphi only. Versions which have Linux support.

    • in delphi - i user a reportdesigner to produce PDF files - what soultuion can i use in the future?

    The one which can compile for linux.

    • is the performance higher on a linux system (running a shared object <-> running a dll on windows) ?

    System perfomance is about the same, but linux compiler for delphi is currently less effective. 

    So your code will generally be slower on Linux.

    • if Quasar is ready to use - is the basic avantage the "cheaper webhosting" ? - or are there other avantages?

    Linux considered as more stable hosting platform.

    And sometimes you just can't choose the OS as you like. 

  4. For example, I need to only change text for one cell in a row, but change background color for the whole row.

    But seems like OnDrawCell for a cell just does not fire without changing cell text.

    And "changing" cell text with the same old value does not work either.

    The only way I can guess now is to change the cell text for an every cell in a row twice.

    1. To some temporary value.

    2. Back to original value.

    That's quite ineffective and generate unwanted traffic.

     

    Please advise how can I forcibly fire OnDrawCell event?

    Or maybe some other solution?

  5. How to filter X coord's labels in TUniChart?

    The same way as Y coord's filtered.

    image.png.27bd6f534e33bbfffb609a6576b959a0.png

    These are dates. Looks completely unreadable.

    I can't find any options for that.

  6. On 3/16/2017 at 11:18 PM, Sherzod said:

    Hi,

     

     

    You can analyze this demo example:

    
    
    
    
    
    \FMSoft\Framework\uniGUI\Demos\Desktop\GridCellStyle

    Best regards.

    UniDBGrid have nice event - OnFieldImage.

    Can I have similar functionality in UniStringGrid?

    In any way, except adding <img src="..."> tag into cells manually?

    I need to render images in UniStringGrid cells.

     

    And that's the difference between:

    http://www.unigui.com/doc/online_help/api/uniGUITypes_TUniCellAttribs_DefaultColor.html

    and 

    http://www.unigui.com/doc/online_help/api/uniGUITypes_TUniCellAttribs_Color.html

    ?

×
×
  • Create New...