Controls behave different in Window as in Dialog
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
I noticed that many controls behave different in Windows oWnd as dialogs oDlg. Why is that ?
Exact the same code, just this option :
If you ask what is the intention of this ? I'm preparing controls for a Robot dashboard and looking for controls that look nice )))
It seems that I best use a Dialog as Dashboard setup. AGree ??
WIndows :
Top left : Windows shows cam view, dialog not
Transparent on windows is much less in several options
![Image](https://www.maveco.be/fivewin/arwindow.bmp)
Dialog :
![Image](https://www.maveco.be/fivewin/ardialog.bmp)
Exact the same code, just this option :
- Code: Select all Expand view
if cRun = "Dialog"
ACTIVATE DIALOG oMain CENTERED ;
ON INIT ( oWebView := TWebView():New(), oWebView:SetHtml( Html() ), oWebView:SetParent( oPanel ) ) ;
VALID ( oWebView:Terminate(), oWebView:Destroy(), .T. )
else
ACTIVATE WINDOW oMain ON INIT OTimer:Activate() //;
//ON PAINT oMain:DrawImage( "arduino2.jpg" ) CENTER
endif
If you ask what is the intention of this ? I'm preparing controls for a Robot dashboard and looking for controls that look nice )))
It seems that I best use a Dialog as Dashboard setup. AGree ??
WIndows :
Top left : Windows shows cam view, dialog not
Transparent on windows is much less in several options
![Image](https://www.maveco.be/fivewin/arwindow.bmp)
Dialog :
![Image](https://www.maveco.be/fivewin/ardialog.bmp)