7.25 Trial – TsDBRichEdit, switch skin bug

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #34194
    PatteDePoule
    Participant

    Hi,

    I test the 7.25 Trial for my compagny.

    I have found a bug when I change the skin from runtime with the TsDBRichEdit and TDBRichEdit.

    I start my application, skin is desactivate (SkinManager.Active = False from the design). I initialize “SkinManager.SkinName”, “SkinManager.SkinDirectory ” and set “SkinManager.Active” to True.

    I enter and exit from my controls, it's fine.

    I switch skin for another. I change “SkinManager.SkinName” and call “SkinManager.UpdateSkin(True)”.

    After this, I focus a TsDBRichEdit (or a TDBRichEdit). My dataset is in dsBrowse state (not edit or insert). On the EXIT an exception is create “Table must be in Edit or Insert state to open a blob stream in Write Mode”. I don't have code in the EXIT…. If my dataset is in edit, it's fine, no bug.

    I'm on Delphi 7 and Windows XP Pro.

    For the rest, your library is very good 🙂

    #44219
    Support
    Keymaster

    Hello

    This error not happens when skins are disabled?

    Can you emulate this error in a small demo? (for debugging)

    #44279
    PatteDePoule
    Participant

    No problem when skins are disabled.

    And no problem when I start the application and set a skins.

    The problem appear when I “change” skins at runtime. SkinA to SkinB.

    I will check for create a demo for you.

    #44442
    PatteDePoule
    Participant

    Hi,

    See attachments for the demo.

    It's require Advantage database component (include in the archive).

    #44454
    Support
    Keymaster

    Thank you for example.

    AlphaDB package is updated now and problem must be solved, try it please :

    http://www.alphaskins.com/sfiles/stable/alphadb.zip

    #44460
    PatteDePoule
    Participant

    The new version solve my bug.

    Great job 🙂

    Thanks, for your help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.