matchjae.blogg.se

Xojo controls
Xojo controls






xojo controls

I've created a new feedback report for this to be more clear about the new info I've learned since adding onto the older, closed report. Overloading the constructor doesn't work as a work around either. Something is very strange with open events in container controls. Today I can't make the open events fire at all even on freshly created projects in Xojo. Open events just dont work on these created controls if the project originated on a version of RB prior to Xojo. I can't even cut and paste the code into a newly fresh created open event. But load this project into xojo and the open event never fires on the container.įurther mucking about trying to find a workaround for this has failed.

xojo controls xojo controls

And the exact same code when actually typed into xojo works fine. It is embedded into the default webpage via the embedwithin method. It has a single webContainer with a label in it and some default text which is changed by a single line of code in the webContainers open event. I've attached an example program to the old case at: If you can send me an example of a WebContainer showing this behavior in Xojo, I'd like to see it. Please don't think I'm being obtuse, but WebControls and WebViews are very different from one another under the hood. For instance, the Open event doesn't fire until EmbedWithin is called on a WebContainer.

xojo controls

I'd really like to see some examples of this not working. In WE, there are NO dynamically created controls where the Open or shown events run properly. The better way to do it is to use EmbedWithin and embed the CC's into the pages. If you are creating dynamic container controls in WE, it's really broken and not really fixed. Has anyone else seen this? I see an older feedback report for something similar in the past, but it has been closed as fixed. But putting debug output in them in my older project results in showing it never runs. While trying to create a demo of the bug I found that they run fine in new projects. This seems to only be a problem in projects that I've brought forward form previous versions. The code is there, but it doesn't appear to ever run. Most important so far is that I dont seem to be getting Open events in my dynamically created WebContainer controls. Having some fun today trying to bring older projects forward to the latest version and hitting a few odd issues.








Xojo controls