PBToolboxAI AcheterBuyKaufenAcquistaComprarComprar

← Historique de tous les composants← History of every component← Versionsverlauf aller Komponenten← Cronologia di tutti i componenti← Historial de todos los componentes← Histórico de todos os componentes

L'historique des versions est publié en anglais.Version history is published in English.Der Versionsverlauf wird auf Englisch veröffentlicht.La cronologia delle versioni è pubblicata in inglese.El historial de versiones se publica en inglés.O histórico de versões é publicado em inglês.

Web browser — version history

u_pbt_webbrowser · Introduced in 1.0

A web browser embedded in your window: page display, address bar, Back / Forward history, navigation context menu and scripts run in the page. Introduced in 1.0, free.

4.0 — October 2026 #

New #

  • ue_load_failed(as_url, al_status): a page that cannot load (unknown host, network, certificate, of_stop) is reported as a failure, with LOADSTATUS_* constants telling why.
  • ue_error(as_message): what the browser refuses (text that is not an address, invalid search engine, refused new window…) is reported instead of being ignored.
  • is_search_url (for example https://www.bing.com/search?q=%s): words typed in the address bar that are not an address become a search. Empty by default: the words are refused with ue_error.
  • ue_new_window(as_url): a target=_blank link or a window.open after a click now opens the page in the view; answer false to refuse it when ib_veto_new_window = true.
  • ue_download_starting(as_url, as_path): every download is announced; answer false to cancel it when ib_veto_downloads = true.
  • ue_navigating(as_url): with ib_veto_navigation = true, a navigation started by the site (link, form) asks first; answer false to stay on the page. Never raised for an address set by your code, nor for Back / Forward / Reload or a redirect.
  • is_title (read only) and ue_title_changed(as_title): the title of the page shown.
  • ue_permission_requested(as_url, as_kind) with the PERMISSION_* constants: camera, microphone, location, notifications… are granted only if you answer true.
  • of_show_html(as_html): shows a page built by the application (invoice, letter) with correct encoding of #, % and accents; up to 2 MB.
  • ib_private (private browsing: nothing is kept, a fresh empty session each time it is set) and of_clear_browsing_data() (clears cookies, signed-in sessions, local storage, cache and granted permissions).
  • Address bar: F5 and Ctrl+R reload the site, Alt+Left / Alt+Right go back and forward (swapped in right-to-left reading), Escape restores the current address, the first click selects the whole address; Tab goes from the bar into the site and Shift+Tab comes back.
  • The address bar is translated into the six languages and named for screen readers; its disabled buttons stay readable, and its arrows follow right-to-left reading.
  • Context menu (ib_context_menu): in an input field, Cut / Copy / Paste; on a selection, a link or an image, also Copy, Open link, Copy link address, Copy image.
  • The site knows the application's default theme (prefers-color-scheme): a site that can draw itself dark does so. A page that sets no background of its own is shown on white, like in a browser, whatever the theme — only the address bar follows the theme.
  • Every native menu of the component (like every native menu of the library) lets the user type the first letters of an entry to jump to it, read through the keyboard layout; a menu with more than 500 entries only draws what is visible.

Fixed #

  • Words in is_address ("invoice 2026") no longer block all later navigations; a disk path (C:\temp\x.html) becomes file:///C:/temp/x.html, //host/x becomes https://host/x, and a one-word intranet host followed by / (intranet/) or an IPv6 address ([::1]/x) is recognized.
  • Reading is_address after following a link or going Back returns the page shown, not the last address set.
  • of_go_back, of_go_forward and of_stop called right after is_address run in the order written; of_stop also drops the pages still waiting. of_can_go_back / of_can_go_forward read the history live.
  • of_save_as_png, of_save_as_jpg, of_print_to_pdf and of_print capture or print the site, not the address bar.
  • An answer from of_execute_javascript longer than 4,095 characters comes back whole; a script that raises an error returns null, and of_get_last_error() says why a call could not run (page not loaded, no answer within 5 seconds).
  • F5, Ctrl+R and Ctrl+mouse wheel in the address bar no longer reload or zoom the bar itself.
  • The text being typed in the address bar is no longer overwritten by a page that finishes loading.
  • Without an address bar, Tab and of_focus_webview give the focus to the site, and Tab leaves it for your window.
  • A data: page raises ue_load_completed with the address requested.
  • Destroying the component, or calling of_reset, while the site view is being created is safe; a component hidden before of_reset stays hidden.
  • Setting ib_private = true when browsing is already private gives a fresh empty session.
  • In right-to-left reading, native menus hang from the right edge of their title and cascades open to the left (Left opens, Right closes).
  • Enter or Esc pressed in the component, when it does not use them, goes back to the window: the PowerBuilder Default or Cancel CommandButton fires (the key was lost).
  • A language set by PBT_SetLanguage applies from the very next order given to the component: a text of an event raised by that order no longer comes in the old language.
  • With no language chosen by the application, the component announces English to screen readers (it announced French).
  • is_theme_style, is_theme_mode and il_theme_accent read back the style and mode shown and the component's own accent (-1 when it has none); an unknown or badly written value is ignored instead of leaving the component without a theme, and an axis left empty follows the application's theme.
  • The application accent (PBT_SetDefaultThemeAccent) survives a change of theme, is followed as long as the component has no accent of its own, and repaints everything derived from it (hover, pressed, selections); Windows high contrast is supported.

Behavior changes #

See Migrating from 3.0 to 4.0 (sections 11.3, 11.5, 11.7, 11.27 and 11.43).

  • A page that fails to load raises ue_load_failed instead of ue_load_completed.
  • A new window requested by the site opens only for http and https addresses; other schemes (file:, data:, mailto:) are refused with ue_error.
  • Permission requests from a site (camera, microphone, location, notifications…) are refused unless ue_permission_requested returns true, and no answer is remembered.
  • Cookies, sessions and site storage live in a browsing profile of their own: a session opened with 3.0 is not carried over (sign in once again). of_reset does not clear them — use of_clear_browsing_data.
  • is_search_url without %s, without http(s)://, or in javascript: is refused with ue_error, and the engine in place stays; a javascript: address is refused.
  • of_refresh returns a long: 0 once requested, -4 when no page is shown, -2 if the component is not created.

3.0 — September 2026 #

New #

  • of_set_property, of_get_property and of_component_name: drive a property by its name (settings screen, saved configuration).

2.0 — September 2026 #

New #

  • ue_script_error: a script error in the page reaches PowerBuilder with its message instead of being lost.

Fixed #

  • An address received by ue_load_completed arrives intact: a backslash is no longer doubled, and a quote no longer cuts it.

1.0 — August 2026 #

New #

  • A page shown in your window: setting is_address navigates, and reading it returns the page actually shown; ue_load_completed when a page has loaded.
  • Built-in address bar (ib_address_bar) with Back / Forward / Reload, and a navigation context menu (ib_context_menu: Back, Forward, Reload).
  • of_go_back, of_go_forward, of_can_go_back, of_can_go_forward, of_refresh, of_stop to build your own buttons; of_reset for a fresh start.
  • of_execute_javascript runs a script in the page shown and returns its value as JSON.
  • Export of the rendering to PNG or JPG.