如何在QB64中设置标题栏的颜色

时间:2019-02-26 05:01:21

标签: qb64

我在QB64中有此代码,我想知道如何设置标题栏的颜色。

mWebView.setWebViewClient(new WebViewClient() {
        @Override
        public void onPageFinished(WebView view, String url) {
            if (url.contains("/dashboard.htm")) {
                getCookieData(url);
            } else if (url.contains("/LoggedIn.htm")) {
                loadDashboardURL();
            }
            super.onPageFinished(view, url);
        }
    });
}

private Map<String, String> getCookieData(String url) {
    Map<String, String> cookieList = new HashMap<>();
    CookieManager cookieManager = CookieManager.getInstance();
    cookieManager.setAcceptThirdPartyCookies(mWebView, true);
    cookieString = cookieManager.getCookie(url);
    String[] cookieArray = cookieString.split(";");
    for (String cookie : cookieArray) {
        String[] keyValPair = cookie.split("=");
        cookieList.put(keyValPair[0].trim(), keyValPair[1]);
    }
    return cookieList;
}

我没有做任何尝试

SCREEN 12
DO: LOOP UNTIL _SCREENEXISTS
COLOR 13, 1 ' magenta on blue
_TITLE "My Title"
END

0 个答案:

没有答案