BBjWindow

Description

A BBjWindow is an object that provides an interface to a GUI window. Graphical controls and child windows can be added to a BBjWindow.   

Extended Interfaces

DropTarget

Creation

BBjAPI > BBjSysGui > BBjWindow

BBjWindow objects are created by creating either a BBjTopLevelWindow or a BBjChildWindow.

Methods of BBjWindow

Return Value

Method

BBjBarChart

addBarChart(int controlID, number x, number y, number w, number h, string xLabel, string yLabel, int seriesCount, int categoryCount, boolean showLegend, boolean is3D, boolean isHorizontal)

addBarChart(int controlID, number x, number y, number w, number h, string xLabel, string yLabel, int seriesCount, int categoryCount, boolean showLegend, boolean is3D, boolean isHorizontal, byte[] flags)

addBarChart(int ID, string xLabel, string yLabel, int seriesCount, int categoryCount, boolean showLegend, boolean is3D, boolean isHorizontal)

addBarChart(int ID, string xLabel, string yLabel, int seriesCount, int categoryCount, boolean showLegend, boolean is3D, boolean isHorizontal, byte[] flags)

addBarChart(string xLabel, string yLabel, int seriesCount, int categoryCount, boolean showLegend, boolean is3D, boolean isHorizontal)

addBarChart(string xLabel, string yLabel, int seriesCount, int categoryCount, boolean showLegend, boolean is3D, boolean isHorizontal, byte[] flags)

BBjButton

addButton(int ID, number x, number y, number w, number h, string title)

addButton(int ID, number x, number y, number w, number h, string title, string flags)

addButton(int ID, string title)

addButton(int ID, string title, string flags)

addButton(string title)

addButton(string title, string flags)

BBjCEdit

addCEdit(int ID, number x, number y, number w, number h, string title)

addCEdit(int ID, number x, number y, number w, number h, string title, string flags)

addCEdit(int ID, string title)

addCEdit(int ID, string title, string flags)

addCEdit(string title)

addCEdit(string title, string flags)

BBjCheckBox

addCheckBox(int ID, number x, number y, number w, number h, string title)

addCheckBox(int ID, number x, number y, number w, number h, string title, string flags)

addCheckBox(int ID, string title)

addCheckBox(int ID, string title, string flags)

addCheckBox(string title)

addCheckBox(string title, string flags)

BBjChildWindow

addChildWindow(int ID, number x, number y, number w, number h, int context)

addChildWindow(int ID, number x, number y, number w, number h, string title, int context)

addChildWindow(int ID, number x, number y, number w, number h, string title, string flags, int context)

addChildWindow(int ID, number x, number y, number w, number h, string title, string flags, int context, string eventMask)

addChildWindow(int ID, int context)

addChildWindow(int ID, string title, int context)

addChildWindow(int ID, string title, string flags, int context)

addChildWindow(int ID, string title, string flags, int context, string eventMask)

addChildWindow(int context)

addChildWindow(string title, int context)

addChildWindow(string title, string flags, int context)

addChildWindow(string title, string flags, int context, string eventMask)

BBjColorChooser

addColorChooser(int ID, number x, number y, number w, number h)

addColorChooser(int ID, number x, number y, number w, number h, BBjColor selected!)

addColorChooser(int ID, number x, number y, number w, number h, BBjColor selected!, string flags)

addColorChooser(int ID)

addColorChooser(int ID, BBjColor selected!)

addColorChooser(int ID, BBjColor selected!, string flags)

addColorChooser()

addColorChooser(BBjColor selected!)

addColorChooser(BBjColor selected!, string flags)

BBjDataAwareGrid

addDataAwareGrid(int ID, number x, number y, number w, number h, int channel, string template)

addDataAwareGrid(int ID, number x, number y, number w, number h, string flags, int channel, string template)

addDataAwareGrid(int ID, int ID, int colID, number x, number y, number w, number h, int channel, string template)

addDataAwareGrid(int ID, int ID, int colID, number x, number y, number w, number h, string flags, int channel, string template)

BBjDataBoundGrid

addDataBoundGrid(int ID, number x, number y, number w, number h)

addDataBoundGrid(int ID, number x, number y, number w, number h, string flags,

BBjEditBox

addEditBox(int ID, number x, number y, number w, number h, string title)

addEditBox(int ID, number x, number y, number w, number h, string title, string flags)

addEditBox(int ID, number x, number y, number w, number h, string title, string flags, string type)

addEditBox(int ID, string title)

addEditBox(int ID, string title, string flags)

addEditBox(int ID, string title, string flags, string type)

addEditBox(string title)

addEditBox(string title, string flags)

addEditBox(string title, string flags, string type)

BBjEditBoxSpinner

addEditBoxSpinner(int ID, number x, number y, number w, number h, string text$)

addEditBoxSpinner(int ID, number x, number y, number w, number h, string text$, string text$)

addEditBoxSpinner(int ID, number x, number y, number w, number h, BBjVector list!)

addEditBoxSpinner(int ID, number x, number y, number w, number h, BBjVector list!, string text$)

addEditBoxSpinner(int ID, string text$)

addEditBoxSpinner(int ID, string text$, string flags$)

addEditBoxSpinner(int ID, BBjVector list!)

addEditBoxSpinner(int ID, BBjVector list!, string flags$)

addEditBoxSpinner(string text$)

addEditBoxSpinner(string text$, string flags$)

addEditBoxSpinner(BBjVector list!)

addEditBoxSpinner(BBjVector list!, string flags$)

BBjFileChooser

addFileChooser(int ID, number x, number y, number w, number h, string directory)

addFileChooser(int ID, number x, number y, number w, number h, string directory, string flags)

addFileChooser(int ID, string directory)

addFileChooser(int ID, string directory, string flags)

addFileChooser(string directory)

addFileChooser(string directory, string flags)

BBjFontChooser

addFontChooser(int ID, number x, number y, number w, number h)

addFontChooser(int ID, number x, number y, number w, number h, BBjFont font!)

addFontChooser(int ID, number x, number y, number w, number h, BBjFont font!, string flags)

addFontChooser(int ID)

addFontChooser(int ID, BBjFont font!)

addFontChooser(int ID, BBjFont font!, string flags)

addFontChooser()

addFontChooser(BBjFont font!)

addFontChooser(BBjFont font!, string flags)

BBjGenericChart

addGenericChart(int ID, number x, number y, number w, number h)

addGenericChart(int ID, number x, number y, number w, number h, byte[] flags)

addGenericChart(int ID)

addGenericChart(int ID, byte[] flags)

addGenericChart()

addGenericChart(byte[] flags)

BBjGrid

addGrid()

addGrid(int ID)

addGrid(int ID, int rowHeaderID, int columnHeaderID, number x, number y, number w, number h)

addGrid(int ID, int rowHeaderID, int columnHeaderID, number x, number y, number w, number h, string flags)

addGrid(int ID, int rowHeaderID, int columnHeaderID, number x, number y, number w, number h, string flags, int rows, int columns)

addGrid(int ID, number x, number y, number w, number h)

addGrid(int ID, number x, number y, number w, number h, string flags)

addGrid(int ID, number x, number y, number w, number h, string flags, int rows, int columns)

addGrid(int ID, string flags)

addGrid(int ID, string flags, int rows, int columns)

addGrid(string flags)

addGrid(string flags, int rows, int columns)

BBjGroupBox

addGroupBox(int ID, number x, number y, number w, number h, string title)

addGroupBox(int ID, number x, number y, number w, number h, string title, string flags)

addGroupBox(int ID, string title)

addGroupBox(int ID, string title, string flags)

addGroupBox(string title)

addGroupBox(string title, string flags)

BBjScrollBar

addHorizontalScrollBar(int ID, number x, number y, number w, number h, string flags)

addHorizontalScrollBar(int ID, number x, number y, number w, number h)

addHorizontalScrollBar(int ID)

addHorizontalScrollBar(int ID, string flags)

addHorizontalScrollBar()

addHorizontalScrollBar(string flags)

BBjSlider

addHorizontalSlider(int ID, number x, number y, number w, number h)

addHorizontalSlider(int ID, number x, number y, number w, number h, string flags)

addHorizontalSlider(int ID)

addHorizontalSlider(int ID, string flags)

addHorizontalSlider()

addHorizontalSlider(string flags)

BBjHtmlEdit

addHtmlEdit(int ID, number x, number y, number w, number h, string html)

addHtmlEdit(int ID, number x, number y, number w, number h, string html, string flags)

addHtmlEdit(int ID, number x, number y, number w, number h, string html, string flags, string chromium_switches)

addHtmlEdit(int ID, string html)

addHtmlEdit(int ID, string html, string flags)

addHtmlEdit(int ID, string html, string flags, string chromium_switches)

addHtmlEdit(string html)

addHtmlEdit(string html, string flags)

addHtmlEdit(string html, string flags, string chromium_switches)

BBjHtmlView

addHtmlView(int ID, number x, number y, number w, number h, string html)

addHtmlView(int ID, number x, number y, number w, number h, string html, string flags)

addHtmlView(int ID, number x, number y, number w, number h, string html, string flags, string chromium_switches)

addHtmlView(int ID, string html)

addHtmlView(int ID, string html, string flags)

addHtmlView(int ID, string html, string flags, string chromium_switches)

addHtmlView(string html)

addHtmlView(string html, string flags)

addHtmlView(string html, string flags, string chromium_switches)

BBjImageCtrl

addImage(int ID, number x, number y, number w, number h, string filename) – deprecated, use addImageCtrl

BBjImageCtrl

addImageCtrl(int ID, number x, number y, number w, number h, BBjImage image)

addImageCtrl(int ID, number x, number y, number w, number h, BBjImage image, string flags)

addImageCtrl(int ID, number x, number y, number w, number h, string filename)

addImageCtrl(int ID, number x, number y, number w, number h, string filename, string flags)

addImageCtrl(int ID, BBjImage image)

addImageCtrl(int ID, BBjImage image, string flags)

addImageCtrl(int ID, string filename)

addImageCtrl(int ID, string filename, string flags)

addImageCtrl(BBjImage image)

addImageCtrl(BBjImage image, string flags)

addImageCtrl(string filename)

addImageCtrl(string filename, string flags)

BBjInputD

addInputD()

addInputD(int ID)

addInputD(int ID, number x, number y, number w, number h)

addInputD(int ID, number x, number y, number w, number h, string flags)

addInputD(int ID, number x, number y, number w, number h, string flags, string mask)

addInputD(int ID, number x, number y, number w, number h, string flags, string mask, string rules)

addInputD(int ID, number x, number y, number w, number h, string flags, string mask, string rules, int restore, int value)

addInputD(int ID, string flags)

addInputD(int ID, string flags, string mask)

addInputD(int ID, string flags, string mask, string rules)

addInputD(int ID, string flags, string mask, string rules, int restore, int value)

addInputD(string flags)

addInputD(string flags, string mask)

addInputD(string flags, string mask, string rules)

addInputD(string flags, string mask, string rules, int restore, int value)

BBjInputDSpinner

addInputDSpinner(int ID, number x, number y, number w, number h)

addInputDSpinner(int ID, number x, number y, number w, number h, int min, int max)

addInputDSpinner(int ID, number x, number y, number w, number h, string text$)

addInputDSpinner(int ID, number x, number y, number w, number h, string text$, int min, int max)

addInputDSpinner(int ID, number x, number y, number w, number h, string text$, string mask$)

addInputDSpinner(int ID, number x, number y, number w, number h, string text$, string mask$, int min, int max)

addInputDSpinner(int ID, number x, number y, number w, number h, string text$, string mask$, string rules$)

addInputDSpinner(int ID, number x, number y, number w, number h, string text$, string mask$, string rules$, int restore, int value)

addInputDSpinner(int ID, number x, number y, number w, number h, string text$, string mask$, string rules$, int restore, int value, int min, int max)

addInputDSpinner(int ID)

addInputDSpinner(int ID, int min, int max)

addInputDSpinner(int ID, string flags$)

addInputDSpinner(int ID, string flags$, int min, int max)

addInputDSpinner(int ID, string flags$, string mask$)

addInputDSpinner(int ID, string flags$, string mask$, int min, int max)

addInputDSpinner(int ID, string flags$, string mask$, string rules$)

addInputDSpinner(int ID, string flags$, string mask$, string rules$, int restore, int value)

addInputDSpinner(int ID, string flags$, string mask$, string rules$, int restore, int value, int min, int max)

addInputDSpinner()

addInputDSpinner(int min, int max)

addInputDSpinner(string flags$)

addInputDSpinner(string flags$, int min, int max)

addInputDSpinner(string flags$, string mask$)

addInputDSpinner(string flags$, string mask$, int min, int max)

addInputDSpinner(string flags$, string mask$, string rules$)

addInputDSpinner(string flags$, string mask$, string rules$, int restore, int value)

addInputDSpinner(string flags$, string mask$, string rules$, int restore, int value, int min, int max)

BBjInputE

addInputE(int ID, number x, number y, number w, number h)

addInputE(int ID, number x, number y, number w, number h, string flags)

addInputE(int ID, number x, number y, number w, number h, string flags, int len)

addInputE(int ID, number x, number y, number w, number h, string flags, int len, string pad)

addInputE(int ID, number x, number y, number w, number h, string flags, int len, string pad, string val)

addInputE(int ID, number x, number y, number w, number h, string flags, int len, string pad, int initPos, string restore, string val)

addInputE(int ID, number x, number y, number w, number h, string flags, string mask)

addInputE(int ID, number x, number y, number w, number h, string flags, string mask, string pad)

addInputE(int ID, number x, number y, number w, number h, string flags, string mask, string pad, string val)

addInputE(int ID, number x, number y, number w, number h, string flags, string mask, string pad, int initPos, string restore, string val)

addInputE(int ID)

addInputE(int ID, string flags)

addInputE(int ID, string flags, int len)

addInputE(int ID, string flags, int len, string pad)

addInputE(int ID, string flags, int len, string pad, string val)

addInputE(int ID, string flags, int len, string pad, int initPos, string restore, string val)

addInputE(int ID, string flags, string mask)

addInputE(int ID, string flags, string mask, string pad)

addInputE(int ID, string flags, string mask, string pad, string val)

addInputE(int ID, string flags, string mask, string pad, int initPos, string restore, string val)

addInputE()

addInputE(string flags)

addInputE(string flags, int len)

addInputE(string flags, int len, string pad)

addInputE(string flags, int len, string pad, string val)

addInputE(string flags, int len, string pad, int initPos, string restore, string val)

addInputE(string flags, string mask)

addInputE(string flags, string mask, string pad)

addInputE(string flags, string mask, string pad, string val)

addInputE(string flags, string mask, string pad, int initPos, string restore, string val)

BBjInputESpinner

addInputESpinner(int ID, number x, number y, number w, number h)

addInputESpinner(int ID, number x, number y, number w, number h, BBjVector list!)

addInputESpinner(int ID, number x, number y, number w, number h, string text$)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, BBjVector list!)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, int len)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, int len, BBjVector list!)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, int len, string pad$)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, int len, string pad$, BBjVector list!)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, int len, string pad$, string val$)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, int len, string pad$, string val$, BBjVector list!)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, int len, string pad$, int initPos, string restore$, string val$)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, int len, string pad$, int initPos, string restore$, string val$, BBjVector list!)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, string mask$)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, string mask$, BBjVector list!)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, string mask$, string pad$)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, string mask$, string pad$, BBjVector list!)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, string mask$, string pad$, string val$)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, string mask$, string pad$, string val$, BBjVector list!)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, string mask$, string pad$, int initPos, string restore$, string val$)

addInputESpinner(int ID, number x, number y, number w, number h, string text$, string mask$, string pad$, int initPos, string restore$, string val$, BBjVector list!)

addInputESpinner(int ID)

addInputESpinner(int ID, BBjVector list!)

addInputESpinner(int ID, string flags$)

addInputESpinner(int ID, string flags$, BBjVector list!)

addInputESpinner(int ID, string flags$, int len)

addInputESpinner(int ID, string flags$, int len, BBjVector list!)

addInputESpinner(int ID, string flags$, int len, string pad$)

addInputESpinner(int ID, string flags$, int len, string pad$, BBjVector list!)

addInputESpinner(int ID, string flags$, int len, string pad$, string val$)

addInputESpinner(int ID, string flags$, int len, string pad$, string val$, BBjVector list!)

addInputESpinner(int ID, string flags$, int len, string pad$, int initPos, string restore$, string val$)

addInputESpinner(int ID, string flags$, int len, string pad$, int initPos, string restore$, string val$, BBjVector list!)

addInputESpinner(int ID, string flags$, string mask$)

addInputESpinner(int ID, string flags$, string mask$, BBjVector list!)

addInputESpinner(int ID, string flags$, string mask$, string pad$)

addInputESpinner(int ID, string flags$, string mask$, string pad$, BBjVector list!)

addInputESpinner(int ID, string flags$, string mask$, string pad$, string val$)

addInputESpinner(int ID, string flags$, string mask$, string pad$, string val$, BBjVector list!)

addInputESpinner(int ID, string flags$, string mask$, string pad$, int initPos, string restore$, string val$)

addInputESpinner(int ID, string flags$, string mask$, string pad$, int initPos, string restore$, string val$, BBjVector list!)

addInputESpinner()

addInputESpinner(BBjVector list!)

addInputESpinner(string flags$)

addInputESpinner(string flags$, BBjVector list!)

addInputESpinner(string flags$, int len)

addInputESpinner(string flags$, int len, BBjVector list!)

addInputESpinner(string flags$, int len, string pad$)

addInputESpinner(string flags$, int len, string pad$, BBjVector list!)

addInputESpinner(string flags$, int len, string pad$, string val$)

addInputESpinner(string flags$, int len, string pad$, string val$, BBjVector list!)

addInputESpinner(string flags$, int len, string pad$, int initPos, string restore$, string val$)

addInputESpinner(string flags$, int len, string pad$, int initPos, string restore$, string val$, BBjVector list!)

addInputESpinner(string flags$, string mask$)

addInputESpinner(string flags$, string mask$, BBjVector list!)

addInputESpinner(string flags$, string mask$, string pad$)

addInputESpinner(string flags$, string mask$, string pad$, BBjVector list!)

addInputESpinner(string flags$, string mask$, string pad$, string val$)

addInputESpinner(string flags$, string mask$, string pad$, string val$, BBjVector list!)

addInputESpinner(string flags$, string mask$, string pad$, int initPos, string restore$, string val$)

addInputESpinner(string flags$, string mask$, string pad$, int initPos, string restore$, string val$, BBjVector list!)

BBjInputN

addInputN(int ID, number x, number y, number w, number h)

addInputN(int ID, number x, number y, number w, number h, string flags)

addInputN(int ID, number x, number y, number w, number h, string flags, string mask)

addInputN(int ID, number x, number y, number w, number h, string flags, string mask, string rules)

addInputN(int ID, number x, number y, number w, number h, string flags, string mask, string rules, int restore, int value)

addInputN(int ID)

addInputN(int ID, string flags)

addInputN(int ID, string flags, string mask)

addInputN(int ID, string flags, string mask, string rules)

addInputN(int ID, string flags, string mask, string rules, int restore, int value)

addInputN()

addInputN(string flags)

addInputN(string flags, string mask)

addInputN(string flags, string mask, string rules)

addInputN(string flags, string mask, string rules, int restore, int value)

BBjInputNSpinner

addInputNSpinner(int ID, number x, number y, number w, number h)

addInputNSpinner(int ID, number x, number y, number w, number h, int min, int max)

addInputNSpinner(int ID, number x, number y, number w, number h, string text$)

addInputNSpinner(int ID, number x, number y, number w, number h, string text$, int min, int max)

addInputNSpinner(int ID, number x, number y, number w, number h, string text$, string mask$)

addInputNSpinner(int ID, number x, number y, number w, number h, string text$, string mask$, int min, int max)

addInputNSpinner(int ID, number x, number y, number w, number h, string text$, string mask$, string rules$)

addInputNSpinner(int ID, number x, number y, number w, number h, string text$, string mask$, string rules$, int restore, int value)

addInputNSpinner(int ID, number x, number y, number w, number h, string text$, string mask$, string rules$, int restore, int value, int min, int max)

addInputNSpinner(int ID)

addInputNSpinner(int ID, int min, int max)

addInputNSpinner(int ID, string flags$)

addInputNSpinner(int ID, string flags$, int min, int max)

addInputNSpinner(int ID, string flags$, string mask$)

addInputNSpinner(int ID, string flags$, string mask$, int min, int max)

addInputNSpinner(int ID, string flags$, string mask$, string rules$)

addInputNSpinner(int ID, string flags$, string mask$, string rules$, int restore, int value)

addInputNSpinner(int ID, string flags$, string mask$, string rules$, int restore, int value, int min, int max)

addInputNSpinner()

addInputNSpinner(int min, int max)

addInputNSpinner(string flags$)

addInputNSpinner(string flags$, int min, int max)

addInputNSpinner(string flags$, string mask$)

addInputNSpinner(string flags$, string mask$, int min, int max)

addInputNSpinner(string flags$, string mask$, string rules$)

addInputNSpinner(string flags$, string mask$, string rules$, int restore, int value)

addInputNSpinner(string flags$, string mask$, string rules$, int restore, int value, int min, int max)

BBjInputT

addInputT()

addInputT(int ID)

addInputT(int ID, number x, number y, number w, number h)

addInputT(int ID, number x, number y, number w, number h, string flags)

addInputT(int ID, number x, number y, number w, number h, string flags, string mask)

addInputT(int ID, number x, number y, number w, number h, string flags, string mask, string rules)

addInputT(int ID, number x, number y, number w, number h, string flags, string mask, string rules, number restore)

addInputT(int ID, number x, number y, number w, number h, string flags, string mask, string rules, number restore, number value)

addInputT(int ID, string flags)

addInputT(int ID, string flags, string mask)

addInputT(int ID, string flags, string mask, string rules)

addInputT(int ID, string flags, string mask, string rules, number restore, number value)

addInputT(string flags)

addInputT(string flags, string mask)

addInputT(string flags, string mask, string rules)

addInputT(string flags, string mask, string rules, number restore, number value)

BBjInputTSpinner

addInputTSpinner()

addInputTSpinner(int ID)

addInputTSpinner(int ID, number x, number y, number w, number h)

addInputTSpinner(int ID, number x, number y, number w, number h, number min, number max)

addInputTSpinner(int ID, number x, number y, number w, number h, string flags$)

addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, number min, number max)

addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$)

addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, number min, number max)

addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string rules$)

addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string rules$, number restore, number value)

addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string rules$, number restore, number value, number min, number max)

addInputTSpinner(int ID, number min, number max)

addInputTSpinner(int ID, string flags$)

addInputTSpinner(int ID, string flags$, number min, number max)

addInputTSpinner(int ID, string flags$, string mask$)

addInputTSpinner(int ID, string flags$, string mask$, number min, number max)

addInputTSpinner(int ID, string flags$, string mask$, string rules$)

addInputTSpinner(int ID, string flags$, string mask$, string rules$, number restore, number value)

addInputTSpinner(int ID, string flags$, string mask$, string rules$, number restore, number value, number min, number max)

addInputTSpinner(number min, number max)

addInputTSpinner(string flags$)

addInputTSpinner(string flags$, number min, number max)

addInputTSpinner(string flags$, string mask$)

addInputTSpinner(string flags$, string mask$, number min, number max)

addInputTSpinner(string flags$, string mask$, string rules$)

addInputTSpinner(string flags$, string mask$, string rules$, number restore, number value)

addInputTSpinner(string flags$, string mask$, string rules$, number restore, number value, number min, number max)

BBjLineChart

addLineChart(int ID, number x, number y, number w, number h, string xLabel, string yLabel, int numSeries, boolean showLegend)

addLineChart(int ID, number x, number y, number w, number h, string xLabel, string yLabel, int numSeries, boolean showLegend, byte[] flags)

addLineChart(int ID, string xLabel, string yLabel, int numSeries, boolean showLegend)

addLineChart(int ID, string xLabel, string yLabel, int numSeries, boolean showLegend, byte[] flags)

addLineChart(string xLabel, string yLabel, int numSeries, boolean showLegend)

addLineChart(string xLabel, string yLabel, int numSeries, boolean showLegend, byte[] flags)

BBjListBox

addListBox(int ID, number x, number y, number w, number h, string initialContents)

addListBox(int ID, number x, number y, number w, number h, string initialContents, string flags)

addListBox(int ID, string initialContents)

addListBox(int ID, string initialContents, string flags)

addListBox(string initialContents)

addListBox(string initialContents, string flags)

BBjListButton

addListButton(int ID, number x, number y, number w, number h, string initialContents)

addListButton(int ID, number x, number y, number w, number h, string initialContents, string flags)

addListButton(int ID, string initialContents)

addListButton(int ID, string initialContents, string flags)

addListButton(string initialContents)

addListButton(string initialContents, string flags)

BBjListEdit

addListEdit(int ID, number x, number y, number w, number h, string initialContents)

addListEdit(int ID, number x, number y, number w, number h, string initialContents, string flags)

addListEdit(int ID, string initialContents)

addListEdit(int ID, string initialContents, string flags)

addListEdit(string initialContents)

addListEdit(string initialContents, string flags)

BBjMenuButton

addMenuButton(int ID, number x, number y, number w, number h, string title)

addMenuButton(int ID, number x, number y, number w, number h, string title, string flags)

addMenuButton(int ID, string title)

addMenuButton(int ID, string title), string flags)

addMenuButton(string title)

addMenuButton(string title), string flags)

BBjNavigator

addNavigator(int ID, number x, number y, number w, number h, string title)

addNavigator(int ID, number x, number y, number w, number h, string title, string flags)

addNavigator(int ID, number x, number y, number w, number h, string title)

addNavigator(int ID, number x, number y, number w, number h, string title, string flags)

addNavigator(int ID, number x, number y, number w, number h, string title)

addNavigator(int ID, number x, number y, number w, number h, string title, string flags)

boolean addPanelStyle(string cssClassName)

BBjPieChart

addPieChart(int ID, number x, number y, number w, number h, boolean showLegend, boolean is3D)

addPieChart(int ID, number x, number y, number w, number h, boolean showLegend, boolean is3D, byte[] flags)

addPieChart(int ID, boolean showLegend, boolean is3D)

addPieChart(int ID, boolean showLegend, boolean is3D, byte[] flags)

addPieChart(boolean showLegend, boolean is3D)

addPieChart(boolean showLegend, boolean is3D, byte[] flags)

BBjPrintPreview

addPrintPreview(int ID, number x, number y, number w, number h, string flags)

BBjProgressBar

addProgressBar(int ID, number x, number y, number w, number w)

addProgressBar(int ID, number x, number y, number w, number h, int min, int max)

addProgressBar(int ID, number x, number y, number w, number h, int orientation)

addProgressBar(int ID, number x, number y, number w, number h, int orientation, int min, int max)

addProgressBar(int ID)

addProgressBar(int ID, int min, int max)

addProgressBar(int ID, int orientation)

addProgressBar(int ID, int orientation, int min, int max)

addProgressBar()

BBjRadioButton

addRadioButton(int ID, number x, number y, number w, number h, string title)

addRadioButton(int ID, number x, number y, number w, number h, string title, string flags)

addRadioButton(int ID, string title)

addRadioButton(int ID, string title, string flags)

addRadioButton(string title)

addRadioButton(string title, string flags)

BBjRadioGroup

addRadioGroup()

addRadioGroup(BBjVector radiobuttons!)

BBjSplitter

addSplitter()

addSplitter(byte[] flags)

addSplitter(int ID)

addSplitter(int ID, byte[] flags)

addSplitter(int ID, number x, number y, number w, number h)

addSplitter(int ID, number x, number y, number w, number h, byte[] flags)

BBjStaticText

addStaticText(int ID, number x, number y, number w, number h, string title)

addStaticText(int ID, number x, number y, number w, number h, string title, string flags)

addStaticText(int ID, string title)

addStaticText(int ID, string title, string flags)

addStaticText(string title)

addStaticText(string title, string flags)

BBjStatusBar

addStatusBar()

addStatusBar(int ID))

addStatusBar(int ID, string flags)

addStatusBar(int ID, string title, string flags)

addStatusBar(string flags)

addStatusBar(string title, string flags)

BBjTabCtrl

addTabCtrl()

addTabCtrl(int ID)

addTabCtrl(int ID, number x, number y, number w, number h)

addTabCtrl(int ID, number x, number y, number w, number h, string flags)

addTabCtrl(int ID, number x, number y, number w, number h, string flags, string styles)

addTabCtrl(int ID, number x, number y, number w, number h, string flags, string styles, string tabDesc)

addTabCtrl(int ID, number x, number y, number w, number h, string flags, string styles, string tabDesc, int imageList

addTabCtrl(int ID, string flags)

addTabCtrl(int ID, string flags, string styles)

addTabCtrl(int ID, string flags, string styles, string tabDesc)

addTabCtrl(int ID, string flags, string styles, string tabDesc, int imageList)

addTabCtrl(string flags)

addTabCtrl(string flags, string styles)

addTabCtrl(string flags, string styles, string tabDesc)

addTabCtrl(string flags, string styles, string tabDesc, int imageList)

BBjToolButton

addToolButton(int ID, number x, number y, number w, number h, string title)

addToolButton(int ID, number x, number y, number w, number h, string title, string flags)

addToolButton(int ID, string title)

addToolButton(int ID, string title, string flags)

addToolButton(string title)

addToolButton(string title, string flags)

BBjTree

addTree()

addTree(byte[] flags)

addTree(int ID)

addTree(int ID, byte[] flags)

addTree(int ID, number x, number y, number w, number h)

addTree(int ID, number x, number y, number w, number h, byte[] flags)

BBjScrollBar

addVerticalScrollBar()

addVerticalScrollBar(int ID)

addVerticalScrollBar(int ID, number x, number y, number w, number h)

addVerticalScrollBar(int ID, number x, number y, number w, number h, string flags)

addVerticalScrollBar(int ID, string flags)

addVerticalScrollBar(string flags)

BBjSlider

addVerticalSlider()

addVerticalSlider(int ID)

addVerticalSlider(int ID, number x, number y, number w, number h)

addVerticalSlider(int ID, number x, number y, number w, number h, string flags)

addVerticalSlider(int ID, string flags)

addVerticalSlider(string flags)

BBjWebComponent

addWebComponent(int ID, int x, int y, int w, int h, String tagName)

addWebComponent(int ID, int x, int y, int w, int h, String tagName, byte[] flags)

addWebComponent(int ID, String tagName)

addWebComponent(int ID, String tagName, byte[] flags)

addWebComponent(String tagName)

addWebComponent(String tagName, byte[] flags)

BBjWrappedJComponent addWrappedJComponent(int ID, number x, number y, number w, number h, ClientObject jComponent)
void clearPanelStyles()

BBjChildWindow

createChildWindow(int resHandle, int childWindowID, int ID, number x, number y)

createChildWindow(int resHandle, int childWindowID, int ID, number x, number y, int context)

BBjVector

getAllControls()

int

getAvailableControlID()

string getComputedDockStyle(string cssPropertyName)
string getComputedPanelStyle(string cssPropertyName)

BBjControl

getControl(int id)

getControl(string name)

string getDockStyle(string cssPropertyName)

BBjDrawPanel

getDrawPanel()

BBjImage

getDrawPanelImage()

byte[] getEventMask()

BBjControl

getFocusedControl()

int

getFocusedControlID()

int

getHorizontalScrollPosition()

int

getHorizontalScrollWidth()

BBjImage

getIcon()

BBjVector

getIcons()

string

getPanelStyle(string cssPropertyName)
BBjVector getPanelStyles()

boolean

getRepaintEnabled()

boolean

getReportAllKeyEvents()

boolean

getReportAllMouseEvents()

int

getVerticalScrollHeight()

int

getVerticalScrollPosition()

byte[]

getWindowFlags()

BBjImage

getWindowImage()

boolean

isEnterAsTab()

boolean isSimpleWindow()

void

raise()

boolean removePanelStyle(string cssClassName)

BBjControl

restoreControl(BBjControl control)

void

setCursor(string filename)

setCursor(int cursorid)

void setDockStyle(string cssPropertyName, string cssPropertyValue)

void

setEnterAsTab(boolean enterAsTab)

void setEventMask(byte[] mask)

void

setHorizontalScrollPosition(int position)

void

setIcon(string filename$)

setIcon(string filename$, int index)

setIcon(BBjImage image!)

void

setIcons(BBjVector images!)

void setPanelStyle(string cssPropertyName, string cssPropertyValue)

void

setRepaintEnabled(boolean enabled)

void

setReportAllKeyEvents(boolean report)

void

setReportAllMouseEvents(boolean report)

void

setScribble(boolean scribble)

void

setTrack(boolean track)

void

setVerticalScrollPosition(int position)

Methods of BBjWindow implemented for DropTarget

Return Value

Method

int

getDropActions()

void

setDropActions(int actions)

BBjVector

getDropTypes()

void

setDropTypes(BBjVector types!)

Methods of BBjWindow inherited from BBjControl

Convenience Methods of BBjWindow

In BBj 6.0 and higher, BBjWindow provides convenience methods listed in the table below. Each of these method calls getControl(int controlID) and casts the returned value to a specific control type. Convenience methods can be used to avoid using the CAST() Function if the developer knows the type of a control.

In BBj 11.0 and higher, these methods can be called with a string name.

Return Value

Method

BBjBarChart

getBarChart(int controlID)

getBarChart(string name)

BBjButton

getButton(int ID)

getButton(string name)

BBjCEdit

getCEdit(int ID)

getCEdit(string name)

BBjCheckBox

getCheckBox(int controlID)

getCheckBox(string name)

BBjChildWindow

getChildWindow(int ID)

getChildWindow(string name)

BBjDataAwareGrid

getDataAwareGrid(int controlID)

getDataAwareGrid(string name)

BBjDataBoundGrid

getDataBoundGrid(int controlID)

getDataBoundGrid(string name)

BBjEditBox

getEditBox(int controlID)

getEditBox(string name)

BBjEditBoxSpinner

getEditBoxSpinner(int controlID)

getEditBoxSpinner(string name)

BBjGenericChart

getGenericChart(int controlID)

getGenericChart(string name)

BBjGridHeader

getGridHeader(int controlID)

getGridHeader(string name)

BBjGroupBox

getGroupBox(int ID)

getGroupBox(string name)

BBjHtmlEdit

getHtmlEdit(int controlID)

getHtmlEdit(string name)

BBjHtmlView

getHtmlView(int ID)

getHtmlView(string name)

BBjImageCtrl

getImageCtrl(int ID)

getImageCtrl(string name)

BBjInputD

getInputD(int ID)

getInputD(string name)

BBjInputDSpinner

getInputDSpinner(int controlID)

getInputDSpinner(string name)

BBjInputE

getInputE(int ID)

getInputE(string name)

BBjInputESpinner

getInputESpinner(int controlID)

getInputESpinner(string name)

BBjInputN

getInputN(int ID)

getInputN(string name)

BBjInputNSpinner

getInputNSpinner(int controlID)

getInputNSpinner(string name)

BBjLineChart

getLineChart(int controlID)

getLineChart(string name)

BBjListBox

getListBox(int ID)

getListBox(string name)

BBjListButton

getListButton(int ID)

getListButton(string name)

BBjListEdit

getListEdit(int ID)

getListEdit(string name)

BBjMenu

getMenu(int ID)

getMenu(string name)

BBjMenuBar

getMenuBar(int ID)

getMenuBar(string name)

BBjMenuButton

getMenuButton(int controlID)

getMenuButton(string name)

BBjMenuItem

getMenuItem(int ID)

getMenuItem(string name)

BBjNavigator

getNavigator(int ID)

getNavigator(string name)

BBjPieChart

getPieChart(int controlID)

getPieChart(string name)

BBjProgressBar

getProgressBar(int ID)

getProgressBar(string name)

BBjRadioButton

getRadioButton(int ID)

getRadioButton(string name)

BBjScrollBar

getScrollBar(int ID)

getScrollBar(string name)

BBjSlider

getSlider(int controlID)

getSlider(string name)

BBjSplitter

getSplitter(int ID)

getSplitter(string name)

BBjStandardGrid

getStandardGrid(int ID)

getStandardGrid(string name)

BBjStaticText

getStaticText(int ID)

getStaticText(string name)

BBjStatusBar

getStatusBar(int ID)

getStatusBar(string name)

BBjTabCtrl

getTabCtrl(int ID)

getTabCtrl(string name)

BBjToolButton

getToolButton(int ID)

getToolButton(string name)

BBjTree

getTree(int ID)

getTree(string name)

Events

Callback Code Object-oriented Event Read Record Event Code
ON_ACTIVATE BBjActivateEvent Activation A
ON_CLOSE BBjCloseEvent Window Close Box X
ON_COLOR_CHANGE BBjColorChangeEvent System Color Change Event s
ON_DEACTIVATE BBjDeactivateEvent Activation A
ON_DOUBLE_CLICK BBjDoubleClickEvent Mouse Double-Click 2
ON_DROP_TARGET_DROP BBjDropTargetDropEvent Drop Target Drop Event D
ON_KEYPRESS BBjKeypressEvent Keypress t
ON_MINIMIZE BBjMinimizeEvent Activation A
ON_MOUSE_DOWN BBjMouseDownEvent Mouse Button Down d
ON_MOUSE_ENTER BBjMouseEnterEvent Mouse Enter/Exit Event E
ON_MOUSE_EXIT BBjMouseExitEvent Mouse Enter/Exit Event E
ON_MOUSE_MOVE BBjMouseMoveEvent Mouse Move m
ON_MOUSE_SCROLL BBjScrollWheelEvent Mouse Scroll Wheel w
ON_MOUSE_UP BBjMouseUpEvent Mouse Button Up u
ON_RESIZE BBjResizeEvent Window Resize S
ON_RESTORE BBjRestoreEvent Activation A
ON_RIGHT_MOUSE_DOWN BBjRightMouseDownEvent Right Mouse Button Down Event R
ON_SCREEN_RESIZE BBjScreenResizeEvent Screen Resize Event s
ON_WINDOW_MOVE BBjWindowMoveEvent Window Move L
ON_WINDOW_SCROLL BBjWindowScrollEvent Scrollbar Move p
ON_WINDOW_GAINED_FOCUS BBjWindowGainedFocusEvent Window Focus Gained/Lost Event F
ON_WINDOW_LOST_FOCUS BBjWindowLostFocusEvent Window Focus Gained/Lost Event F

BUI logoCSS

The visual appearance of BUI controls is defined using CSS (cascading style sheets) rules. Easily change the default colors, border, and other settings by customizing these rules, all without changing any application code. See CSS API for a high-level overview of BUI CSS.

The next level contains a BBjWindow structure, the container for individual BBjControls. The BBjWindow defines a special style name (capture) to enable mouse capture mode. When this mode is selected, a mousedown on the window causes it to capture all mouse move events, including ones that fall outside the window bounds, until the next mouseup.

Click here.

Remarks

All BBjControl objects are created via a window object. Except for the tree, all controls created with object syntax can also be manipulated with mnemonics and sendmsgs. They are identical to the controls created with mnemonics or in a resource. All events for the controls still will be generated.

Constants

None.

Example

rem 'Create a Window

rem 'Obtain the instance of the BBjAPI object
let myAPI! = BBjAPI()

rem 'Open the SysGui device
SYSGUI = UNT
OPEN (SYSGUI) "X0"

rem 'Obtain the instance of the BBjSysGui object
let mySysGui! = myAPI!.getSysGui()

rem 'Set common addWindow param values
X = 10
Y = 10
WIDTH = 200
HEIGHT = 200

rem 'Create a window with a title in the current context
TITLE$="BBj Window"

rem 'Set the current context
mySysGui!.setContext(0)
myWindow! = mySysGui!.addWindow(X,Y,WIDTH,HEIGHT,TITLE$)

rem 'Register the CALLBACK routines
CALLBACK(ON_CLOSE,APP_CLOSE,mySysGui!.getContext())

rem 'Process Events
process_events

rem 'Callback routine called when the user closes the application window
APP_CLOSE:
release

See Also

BBjAPI

BBjSysGui

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.