PBToolboxAI v5 ← Site

Component reference #

← Guide contents

One page per library component. Every page follows the same outline: At a glance → Quick start → Properties → Methods → Events → Examples → Best practices.

The mechanisms shared by every component (property engine, items, themes, tooltips, of_reset) are not repeated here: they are described once in the developer guide.


Showcase #

ComponentUserobjectPurpose
angulargaugeu_pbt_angulargaugeDial: a value on a circular scale — a needle, a filled arc or a marker, coloured ranges and their tones, a target, half dials, a value the user can turn
chartcartesianu_pbt_chartcartesianCartesian chart: columns, bars, lines, areas, scatter, heat maps and quotes — the type is set per series, so combinations exist
chartpieu_pbt_chartpiePie chart: a pie, a doughnut or a half wheel — labels inside or outside, a total in the hole, the legend hides a slice
commandpaletten_pbt_commandpaletteCommand palette: one chord, three letters, any action
gaugeu_pbt_gaugeLinear gauge: a value along a straight scale, horizontal or vertical — a bar or a marker, coloured ranges and their tones, a target, a value the user can drag
ribbonu_pbt_ribbonOffice-style ribbon: tabs, groups, rich controls, application menu, quick access toolbar

Containers and navigation #

ComponentUserobjectPurpose
breadcrumbu_pbt_breadcrumbBreadcrumb trail: the clickable path that says where you are, folding its middle when it no longer fits
dockcontaineru_pbt_dockcontainerVisual Studio-style dockable panels, hosting real PowerBuilder controls
listbaru_pbt_listbarSide navigation bar with collapsible sections
menubaru_pbt_menubarApplication menu bar: menus, submenus, checkable items, shortcuts
shellexploreru_pbt_shellexplorerThe Windows shell tree: Desktop, This PC, drives, Network — with the real icons of the workstation
contextmenuu_pbt_contextmenuCascading context menu, at the cursor or under a control: icons, shortcuts shown, check marks, radio entries, section headers, long lists that scroll and answer to typing
radialmenuu_pbt_radialmenuRadial context menu: the commands in a ring around the cursor, picked by direction
tabu_pbt_tabModern tabs hosting real PowerBuilder controls
tilesboxu_pbt_tilesboxGrouped tiles in home-screen style, with variable sizes and animated tiles
toolbaru_pbt_toolbarMulti-band toolbar: buttons, toggles, menus, overflow

Bars and progress #

ComponentUserobjectPurpose
buttonbaru_pbt_buttonbarA row of command buttons in one component: icon, label, each button greyed, coloured or hidden through its handle
progressbaru_pbt_progressbarDeterminate or indeterminate progress bar
statusbaru_pbt_statusbarStatus bar with panels
stepbaru_pbt_stepbarStep trail for a wizard

Text and input #

ComponentUserobjectPurpose
buttonu_pbt_buttonThemed button: icon, styles, badge, shortcut
codeeditoru_pbt_codeeditorCode editor with syntax highlighting
formu_pbt_formA whole data-entry form in one control: typed fields (text, number, list, radio buttons, date, time, colour, check box, password, e-mail, long text, picture) in columns and folding sections, validation with business errors, changes since the load, one row of a DataWindow read and written
markdownviewu_pbt_markdownviewRead-only Markdown viewer at the colours of the theme: headings, lists, tables, task lists, coloured code, pictures; links go to the application, raw HTML is never run
propertygridu_pbt_propertygridInspector of named values, like the property window of an IDE: folding categories, typed editors (text, number, check box, list, colour, date, password), alphabetical view, search, help pane, … button for a dialog of your own
statictextu_pbt_statictextRich, clickable text with a scrolling (marquee) mode

Data #

ComponentUserobjectPurpose
crosstabu_pbt_crosstabCrosstab fed from a DataStore: row, column and value areas, aggregates, filters, date grouping, CSV and Excel exports
datagridu_pbt_datagridData grid fed from a DataStore: typed and rich columns, sorting, filters, grouping, totals, editing, paging, CSV export
ganttu_pbt_ganttGantt chart: a grid of tasks and bars on a time scale, computed summaries, milestones, links and critical path, drag to move, resize or advance, a question before a change, fed from a DataStore that receives the changes
jsontreeu_pbt_jsontreeA collapsible, type-coloured JSON tree viewer — config screens, API responses, integration debugging
kanbanu_pbt_kanbanBoard of cards in columns, dragged from one column to another: work-in-progress limits, tags, assignee, late due dates, card bodies by template, keyboard, a question before a move, fed from a DataStore that receives the moves
scheduleru_pbt_schedulerOutlook-like calendar: day, week, month and agenda views, drag and drop, resources, categories, cards and tooltips by templates, fed from a DataStore
treeviewu_pbt_treeviewData tree, and tree list with columns: nodes addressed by path, three-state check boxes, branches loaded on demand, label editing, drag and drop with a question before, search, sorting, fed from a hierarchical DataStore
xmltreeu_pbt_xmltreeA collapsible, colour-coded XML tree viewer — the twin of jsontree for XML

User feedback #

ComponentObjectPurpose
messageboxn_pbt_messageboxThemed modal dialog box, synchronous return
toastern_pbt_toaster"Toast" notifications in the corner of the screen

Non-visual utilities #

ComponentObjetPurpose
crypton_pbt_cryptoHashes, HMAC, password encryption, random values, RSA signatures — the workstation's Web Crypto, nothing to install
jsonn_pbt_jsonBuild a JSON type by type and read one back along a path — in pure PowerScript, free
restclientn_pbt_restclientHTTPS client: GET, POST, headers, JSON, download — native, no CORS, for PowerBuilder 10 too
xmln_pbt_xmlWrite an XML element by element and read one back with real XPath

Media and viewers #

ComponentUserobjectPurpose
carouselu_pbt_carouselCarousel like the Cover Flow of iTunes, a flat strip or a stack of cards: pictures, rich text or cards written by template, swipe with inertia, wheel and keyboard, autoplay, a question before a change, fed from a DataStore
pdfvieweru_pbt_pdfviewerBuilt-in PDF viewer
pictureu_pbt_pictureImage display: fit mode, alignment, badge, clickable image
soundplayern_pbt_soundplayerPlays a sound or a piece of music — a file of the workstation or a URL — synchronously or not, and a beep without any file
speechoutn_pbt_speechoutReading aloud: the application reads a text sentence by sentence and says which one, for you to highlight
videou_pbt_videoVideo player: a file of the workstation (streamed) or a URL, themed transport bar, subtitles, poster, frame capture
webbrowseru_pbt_webbrowserBuilt-in web browser: navigation, history, context menu