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, String 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, String 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, String 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 rowID, int colID, number x, number y, number w, number h, int channel, string template)

addDataAwareGrid(int ID, int rowID, 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 flags$)

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 flags$)

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, int x, int y, int width, int height)

addFontChooser(int ID, int x, int y, int width, int height, BBjFont font!)

addFontChooser(int ID, int x, int y, int width, int height, 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, int x, int y, int width, int height)

addGenericChart(int ID, int x, int y, int width, int height, String flags)

addGenericChart(int ID)

addGenericChart(int ID, String flags)

addGenericChart()

addGenericChart(String flags)

BBjGrid

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, int rowID, int colID, number x, number y, number w, number h)

addGrid(int ID, int rowID, int colID, number x, number y, number w, number h, String flags)

addGrid(int ID, int rowID, int colID, number x, number y, number w, number h, 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, int x, int y, int width, int height, 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, int x, int y, int width, int height, 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, int x, int y, int width, int height, BBjImage image, string flags)

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

addImageCtrl(int ID, int x, int y, int width, int height, 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(int ID, int x, int y, int w, int h)

addInputD(int ID, int x, int y, int w, int h, String flags)

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

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

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

addInputD(int ID)

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()

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 flags$)

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

addInputDSpinner(int ID, number x, number y, number w, number h, String flags$, String mask$)

addInputDSpinner(int ID, number x, number y, number w, number h, String flags$, String mask$, int min, int max)

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

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

addInputDSpinner(int ID, number x, number y, number w, number h, String flags$, 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)

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()

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)

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 flags$)

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

addInputESpinner(int ID, number x, number y, number w, number h, String flags$, int len)

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

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

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

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

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

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

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

addInputESpinner(int ID, number x, number y, number w, number h, String flags$, String mask$)

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

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

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

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

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

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

addInputESpinner(int ID, number x, number y, number w, number h, String flags$, 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 flags$)

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

addInputNSpinner(int ID, number x, number y, number w, number h, String flags$, String mask$)

addInputNSpinner(int ID, number x, number y, number w, number h, String flags$, String mask$, int min, int max)

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

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

addInputNSpinner(int ID, number x, number y, number w, number h, String flags$, 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)

BBjLineChart

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

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

addLineChart(int ID, int x, int y, int width, int height, string xLabel, string yLabel, int numSeries, boolean showLegend)

addLineChart(int ID, int x, int y, int width, int height, string xLabel, string yLabel, int numSeries, boolean showLegend, String flags)

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

addLineChart(int ID, string xLabel, string yLabel, int numSeries, boolean showLegend, String 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, int x, int y, int width, int height, String title)

addMenuButton(int ID, int x, int y, int width, int height, 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, int x, int y, int width, int height, String title)

addNavigator(int ID, int x, int y, int width, int height, String title, String flags)

addNavigator(int ID, int x, int y, int width, int height, String title)

addNavigator(int ID, int x, int y, int width, int height, String title, String flags)

boolean addPanelStyle(string cssClassName)

BBjPieChart

addPieChart(int ID, int x, int y, int width, int height, boolean showLegend, boolean is3D)

addPieChart(int ID, int x, int y, int width, int height, boolean showLegend, boolean is3D, String flags)

addPieChart(int ID, boolean showLegend, boolean is3D)

addPieChart(int ID, boolean showLegend, boolean is3D, String flags)

addPieChart(boolean showLegend, boolean is3D)

addPieChart(boolean showLegend, boolean is3D, String 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 radiobutton!)

BBjSplitter

addSplitter()

addSplitter(byte[] flags)

addSplitter(int id)

addSplitter(int id, byte[] flags)

addSplitter(int id, number x, number y, number width, number height)

addSplitter(int id, number x, number y, number width, number height, 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(int ID)

addStatusBar(int ID, string flags)

addStatusBar(int ID, string title, string flags)

addStatusBar()

addStatusBar(string flags)

addStatusBar(string title, string flags)

BBjTabCtrl

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

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

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

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

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

addTabCtrl(int ID)

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()

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, int x, int y, int width, int height, string title)

addToolButton(int ID, int x, int y, int width, int height, 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(int ID, int x, int y, int width, int height)

addTree(int ID, int x, int y, int width, int height, string flags)

addTree(int ID)

addTree(int ID, string flags)

addTree()

addTree(string flags)

BBjScrollBar

addVerticalScrollBar(int ID, int x, int y, int width, int height)

addVerticalScrollBar(int ID, int x, int y, int width, int height, string flags)

addVerticalScrollBar(int ID)

addVerticalScrollBar(int ID, string flags)

addVerticalScrollBar()

addVerticalScrollBar(string flags)

BBjSlider

addVerticalSlider(int ID, int x, int y, int width, int height)

addVerticalSlider(int ID, int x, int y, int width, int height, string flags)

addVerticalSlider(int ID)

addVerticalSlider(int ID, string flags)

addVerticalSlider()

addVerticalSlider(string flags)

   
void clearPanelStyles()

BBjChildWindow

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

createChildWindow(int resHandle, int childWindowID, int ID, int x, int 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()

BBjControl

getFocusedControl()

int

getFocusedControlID()

int

getHorizontalScrollPosition()

int

getHorizontalScrollWidth()

BBjImage

getIcon()

byte[] getEventMask()

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

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)

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

CSS

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
RETURN

See Also

BBjAPI

BBjSysGui

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