Dynamic Forms

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #34938
    Ralph
    Participant

    Child Dynamic form does not skin some components on creation. If I change the skin at runtime the child form components skin correctly.

    I have posted a you tube video demonstrating the odd behavior. I cannot replicate this failure in another project. I believe it has something to do with the dfm file. How can I get programatically tell the new form to accomplish what I do by changing the skin manually from the mainform menu?

    Windows Vista and most current release of AC and I did reload internal skins.

    http://www.youtube.com/watch?v=kNy8ZA6PBXU

    #47379
    ralfiii
    Participant

    Have you placed a SkinProvider-component on the dynamically created form?

    I guess nobody can help if it's not reproducable.

    Last time I had such a case I copied the project and deleted and deleted and deleted until I found the circumstances that were needed (as a minimum) to show the problem.

    Then the guys from AC were really quick in helping me.

    Ralf

    #47380
    Ralph
    Participant

    Ralf, thanks for taking the time to reply. Yes I have a skin provider on that form.

    I understand that we would like to find the root cause but since a simple manual act of choosing another skin corrects the problem it would seem to me that on startup I should be able to initiate a method or procedure that would function the same as choosing another skin at run time.

    Finding the error on a form this complex would be too time consuming. I believe that the problem was caused by one of the components not getting its parent property set correctly when added to the form. I may have to switch to another skinning product.

    #47381
    Ralph
    Participant

    Ralf, thanks for taking the time to reply. Yes I have a skin provider on that form.

    I understand that we would like to find the root cause but since a simple manual act of choosing another skin corrects the problem it would seem to me that on startup I should be able to initiate a method or procedure that would function the same as choosing another skin at run time.

    Finding the error on a form this complex would be too time consuming. I believe that the problem was caused by one of the components not getting its parent property set correctly when added to the form. I may have to switch to another skinning product.

    #47382
    ralfiii
    Participant
    'Ralph' wrote:

    Finding the error on a form this complex would be too time consuming. I believe that the problem was caused by one of the components not getting its parent property set correctly when added to the form. I may have to switch to another skinning product.

    I tried quite a lot of different skinning solutions before I found AC. I didn't find another one that was as good as this one.

    Do you create the controls on that form at runtime?

    And, regarding time-comsuming: My product is a humongous thing. Still thinning the app out to a skeleton that still shows the problem is just a matter of minutes. And then you suddenly delete something or change something and the sknning works again. That's were you can start to dig. Again, as I said, normally a matter of minutes, maybe one hour.

    In your case you don't even need to let the “switch skin”-code survive. If you open a form the controls have to be skinned. If this is not the case this is enough to demonstrate the problem.

    Just my 2cents.

    Ralf

    #47412
    Support
    Keymaster

    Hello Ralph

    Can you give me a Dfm file for the form with problem, please?

    #47421
    Ralph
    Participant

    Your system says I am 'not permitted to upload this kind of file'.

    #47422
    ralfiii
    Participant
    'Ralph' wrote:

    Your system says I am 'not permitted to upload this kind of file'.

    zip it.

    #47424
    Ralph
    Participant

    Sorry, see attached.

    #47437
    Support
    Keymaster

    Thank you. The issue will be solved in the nearest release, I think.

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