I am wondering if I am misunderstanding something as this is the first time for me using .addcontrol It seems to work as expected with other control types but it hard crashes out in dev environment and in a compiled app when I try and add a DesktopHTMLViewer to a window.
I only have access to Windows OS, so I can’t say if it happens on other platforms. Any confirmation that it does/doesn’t or that I have a concept wrong would be appreciated.
XOJO 2024r3, Win 11
Todd Fantz
Button on default window.
dim mycontrol as DesktopHTMLViewer
mycontrol=new DesktopHTMLViewer
mycontrol.Left=20
mycontrol.width=200
mycontrol.top=10
mycontrol.height=200
Window1.AddControl mycontrol
(boom)
10 posts - 3 participants