I am in the process of converting a desktop app to a web app.
I’ve never gone near web apps so it’s all new to me and I’m struggling with a few things but the main problem I have is that I cannot copy from one project to another. Is this not possible?
So as an example I click a listbox in the desktop project and select copy from the edit menu.
I then switch to the new web project, click the window I want the control on (it shows in the IDE)
I click paste from the edit menu (which is active and not greyed out)
And…nothing. No listbox pasted.
If the listbox has a super that does not exist in the target project then the paste fails, this might be the issue you’re having? Yes a message would be nice to let the user know the problem
this double class names with web… are annoying.
every time a special solution for different target systems. i can’t understand why a language not use her own gui to be independent.
and ms have a great remote app system but nobody use it because of very expensive licenses.
I did a talk on how to do this in Cologne with MBS. You need to create two identical interfaces with the same field names. All logic code must be placed into external modules. Place all objects onto Containers in both environments.
Within these modules, you have a big #If TargetDesktop then #ElseIf TargetWeb then #EndIf to define the variables. Once defined, your code below works for both desktop and web with a few caveats.
I can give you the presentation if you want. I will be discussing some of this at XDC.Connect in Nashville.