Skinmanger1.RepaintForms(True);

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #35638
    Wolfgang
    Participant

    Very inconvenient, as there is actually no Change in these Edits, but the OnChange executes an SQL script prematurely, having not enough data available for all parameters.

    #50141
    CheshireCat
    Participant

    Hello Wolfgang,

    You can try provisional:

    Code:
    sEdit1.OnChange := nil; // Edit that performs SQL
    Skinmanger1.RepaintForms(True);
    sEdit1.OnChange := sEdit1Change;

    I think Serge will find a solution soon :a3:

    #50151
    Support
    Keymaster

    Hello Wolfgang!

    I'm sorry, but I not quite understand a problem You meant that OnChange event occurs when RepaintForms procedure is called?

    Can you show a demo in this case, please?

    #50168
    Wolfgang
    Participant

    Unfortunately I can't reproduce this easily, (I tried) but it is happening.

    After removing the command, everything returned to normal.

    It also stops happening, when sSkinManager is de-activated.

    Kind Regards

    Wolfgang

    #50175
    Wolfgang
    Participant

    It's happened again, in a different Application, where an OnChange Event is

    triggered in a TsEdit, beginning a Search, before the Table is actually opened.

    The strange thing is, that this is NOT happening on Win7, but IS happening on Windows 2008 Server.

    The resulting Exception is reported by MadExcept.

    Unfortunately, I haven't got the time to explore this further.

    I hope you'll find a solution

    Kind Regards

    Wolfgang

    #50176
    Wolfgang
    Participant

    FYI:

    Changing TsEdit to TJvEdit and TsDateEdit to TJvDateEdit fixes the problem.

    There is definitely some problem in TsEdit and TsDateEdit.

    Kind Regards

    Wolfgang

    #50190
    Support
    Keymaster

    I can't understand this problem still. Can you help me with reproducing, please?

    #50193
    Wolfgang
    Participant

    I wish I could. But then I would probably find a solution myself as well.

    Sorry

    Wolfgang

    #50196
    Support
    Keymaster

    You mean that it's not easy for you to show a problem?

    Otherwise, maybe you can describe this trouble more?

    You meant that OnChange event occurs when RepaintForms procedure is called?

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