Hi, The XML of the mainframe container looks like this:
Now i want to change the title in the postOpen event so it shows (for example) the name of the current user. I would expect this procedure:
But that does not work: the error message shows "frame mainframe does not exist". So, i try to add the name-tag to the mainframe definition:
But then i get the error that the name-tag is not allowed for mainframe. Is there a solution for this? Kind regards, Jan Willem |
Hi Jan Willem, Please right click the object you want to rename in the IDE. In the popupmenu click Rename. Enter the new name for the mainFrame. Rename works the same way pretty much with every object. Kind Regards, Yalim |
Hi Jan Willem, The default name for mainFrame of the application is "mainFrame", therefore if you didn't change its name, you can use the code below:
Hope this helps, |
Hi Ibrahim, i did not change the name:
And when i do this:
I get this error message: What do i do wrong? Kind regards, Jan Willem |
Oh dear, &^$&^@&(!)(!@&($#^&!)!+)(#&@&()!*)_! I see the error now... There is a space behind mainFrame. It should be 'mainFrame' and not 'mainFrame '. Pffff. Sorry to bother you. It works perfectly now. Kind regards, Jan Willem |