CheshireCat

Forum Replies Created

Viewing 20 posts - 21 through 40 (of 112 total)
  • Author
    Posts
  • in reply to: About AlphaSkins v9.0 beta #51693
    CheshireCat
    Participant
    'Support' wrote:

    Yes, discoloring of all glyphs is in plans.

    That is great, thank you :a3:

    CheshireCat
    Participant

    Ok Darren, that calms me 🙄

    'DarrenB' wrote:

    I just meant I did not know that I should put the ActiveControl:=nil into the form hide event!!!!

    What I meant to say:

    Radio buttons are activated when gets the focus. If the active control is a radio button when the form changes from hidden to visible, Windows sends a SetFocus message and the button is activated. This is not a Alpha Controls bug but a questionable behavior of Windows.

    CheshireCat
    Participant
    'DarrenB' wrote:

    I did not know what you said!

    Sorry for my bad english :blush:

    in reply to: Alphaskin Delphi xe3 splash screen name #51631
    CheshireCat
    Participant

    Alpha Controls goes back to the future 😉

    CheshireCat
    Participant

    Hello Darren,

    if you make Form2 invisible, RadioButtons should have no focus!

    Code:
    procedure TForm2.FormHide(Sender: TObject);
    begin
    ActiveControl := nil;
    end;

    I don't know it's an error, but I observe this behavior since I use delphi …

    in reply to: About AlphaSkins v9.0 beta #51622
    CheshireCat
    Participant

    Hello Serge,

    I like the new function for discoloring glyphs. You plan also discolor glyphs in menus, List- and TreeViews in the future? Or how I prepare a ImageList for discolored glyphs at runtime?

    in reply to: How to use background of main form on Delphi TTabSheet #51618
    CheshireCat
    Participant

    Maybe this will help:

    Code:
    procedure TForm1.sButton1Click(Sender: TObject);
    begin
    sPageControl1.ActivePage := TsTabSheet(sPageControl1.Pages[10]);
    end;
    in reply to: How to use background of main form on Delphi TTabSheet #51616
    CheshireCat
    Participant

    Hello passion1,

    open your form “as text” and replace all TPageControl with TsPageControl and all TTabSheet with TsTabSheet manuell.

    in reply to: Queue Threading sProgressBar #51593
    CheshireCat
    Participant

    Hello Stertor,

    your code example is correct but it doesn't solve the problem. If you click on the button during ProgressBar is filling you don't create a new thread, it starts the Execute method from the begin only (same Thread-ID). Each click on the button should create a new thread that also runs to the end before the next is executed (various Thread-ID)!

    in reply to: Queue Threading sProgressBar #51598
    CheshireCat
    Participant

    Sorry for missing file, here is the complete demo with all files:

    [attachment=6667:Queue Thread.zip]

    in reply to: Queue Threading sProgressBar #51597
    CheshireCat
    Participant

    Hello,

    you can use my class for save threads in a waiting list. Look at the attached demo 🙂

    [attachment=6666:Queue Thread.zip]

    Note:

    I use TGauge instead TProgressBar, a TProgressBar is not suitable in threads!

    in reply to: Not to allow editing on a dbcomboBox control #51579
    CheshireCat
    Participant

    Hello,

    you can try:

    Code:
    procedure TForm1.sDBComboBox1KeyPress(Sender: TObject; var Key: Char);
    begin
    Key := #0;
    end;

    Or you can set the Style to csDropDownList.

    By csDropDownList the Combo Box is empty if data pointer is moved!

    in reply to: TsDBRadiogroup – List index out of range #51576
    CheshireCat
    Participant

    Hello Siegbert,

    your database is already open when the line below is executed?

    Code:
    Application.CreateForm(TfrmSettings, frmSettings);

    I suspect an access to data fields of a closed database.

    in reply to: How to load/import JPG images into AC? #51575
    CheshireCat
    Participant
    'Support' wrote:

    No, image will be saved as Bitmap here.

    Png may be extracted from AlphaImageList only.

    Ok, I understand what you mean, I thought he needs the file only for Upload :blush:

    in reply to: How to load/import JPG images into AC? #51567
    CheshireCat
    Participant

    I use the following simple procedure for storing bitmaps in files:

    Code:
    uses
    PNGImage;

    procedure SaveToPNG(Source: TBitmap; FileName: String);
    var
    Dest: TPNGImage;
    begin
    Dest := TPNGImage.Create;
    try
    //Assign picture from source
    Dest.Assign(Source);
    //Save as PNG
    Dest.SaveToFile(FileName);
    finally
    //Release PNG
    Dest.Free;
    end;
    end;

    Maybe you are looking for something?

    in reply to: About AlphaSkins v9.0 beta #51556
    CheshireCat
    Participant
    'TCount' wrote:

    but for some reason does not work button close the dialog (mode “YesNO”).

    I think this is not an error, because a clear response is expected by the user. The user have only the choice between Yes and No, abort the action is not provided 🙂

    in reply to: TCategoryPanel #51532
    CheshireCat
    Participant

    Hello and welcome,

    you can find a demo for this control in the “Demo App” section …

    … or click on the following link 🙂

    http://www.alphaskins.com/sfiles/demos/categorypanel.zip

    in reply to: Unit are compiled with #51338
    CheshireCat
    Participant

    Hello and Welcome,

    you have also delete all DCU files in the search path of a previous alpha controls installation?

    in reply to: Page Control's Tab Drag n Drop #51336
    CheshireCat
    Participant

    Hello and welcome,

    this code also works with a sPageControl, take a look at my little demo 🙂

    in reply to: Error compiling acWB.pas #51318
    CheshireCat
    Participant

    Hello Serge,

    the patched file works perfectly :a3:

    Thank you and Merry Christmas!

Viewing 20 posts - 21 through 40 (of 112 total)