Jump to content

Abaksoft

uniGUI Subscriber
  • Posts

    1561
  • Joined

  • Last visited

  • Days Won

    87

Posts posted by Abaksoft

  1. Hello BLACKBIRD,

    AFAK (As far as i know), it's not limited in time.

    Did you restore your system before yesterday ?

     

    1. Try to un-install Unigui from control panel

    2. Re-install it again.

    Regards...

  2. Hüseyin,

    Bravo !

    - From the technical point of view,

    Scaning images is greate (can you share it...thx)

    - Now You can add a in menubar langages Eng - Tur ... For internationalization

    Regards.

    • Upvote 1
  3. Hi friends,

    - Assume we have 10 customers on 10 Folders on a VPS.

    - Each Customer has his own database :  

      ...\Customer_1\Base1.fdb

      ...\Customer_2\Base2.fdb

      ...\Customer_3\Base3.fdb

     
    - Assume Customer 2 don't want to paye his annual subscription !
     
    So, Is there a tip to disconnect only Base2.fdb from the VPS Server ?
    (The others db must be run.  I am using FireBird)
     
    ______
    PS :  assume Base2.fdb  is always connected 24h/24 from the customer2. So renaming the file Base2.fdb is not a good way.
     
    THX.
     
  4. Hellow Maksim,

    Try Google search :

     

    -------------------

    uses Clipbrd;

     

    //cut

    procedure TForm1.Button1Click(Sender: TObject);

    Var ARect:TRect;

    begin

    Clipboard.Assign(Image1.Picture);

    with Image1.Canvas do begin

    CopyMode:=cmWhiteness; ARect:=Rect(0,0,Image1.Width,Image1.Height);

    CopyRect(ARect, Image1.Canvas, ARect); CopyMode:=cmSrcCopy;

    end;

    end;

     

    //copy

    procedure TForm1.Button2Click(Sender: TObject);

    begin

    Clipboard.Assign(Image1.Picture);

    end;

     

    //paste

    procedure TForm1.Button2Click(Sender: TObject);

    begin

    Image1.Picture.Assign(Clipboard);

    end;

    -------------------------

     

    Just replace :

    - image1 by UniImage1

     

    Regards.

  5. In my knowledge : Yes the two are possible.

    1. If you declare it in a global unit (standard Delphi Unit) the constant is the same for all clients (sessions).

     

    2. If you declare it in an UniDataModule or MainModule your constant will be viewed only by one client (its session).

     

    Regards...

  6. Hi all,

    For who are afraid for learning this langage, i discover that it's very easy to use Js Code with unigui.

     

    Just add in your code :

    UniSession.AddJS( ... )

    ... is a java script from sencha.

    See exemples :

    http://www.sencha.com/forum/showthread.php?196717-Automatically-closing-MessageBox-Showing-differnt-boxes-based-on-success-error-store

     

    http://forums.unigui.com/index.php?/topic/3489-how-auto-close-showmessage-dialog-after-1-sec/?hl=dialog+after

     

    Regards.

    • Upvote 1
  7. Hi sokel,

    yes :

    - MainModule and UniDataModule are Client side (Target each cession).

    - ServerModule is Server side. It's dangerous and forbidden to declare a public variable on serverModule.

     

    In public section of MainModule, your variable will be global for one thread (1 cession). That's the correct way.

×
×
  • Create New...