User contributions
From Dabo Wiki
(newest | oldest) View (newer 50 | older 50) (20 | 50 | 100 | 250 | 500)
- 16:16, 17 May 2020 (diff | hist) . . (+138) . . Settings.py (current)
- 16:15, 17 May 2020 (diff | hist) . . (+5,656) . . N Settings.py (Created page with "== What it is == There is a file in the main directory of the dabo module named <code>settings.py</code>; it contains many settings that control the behavior of the framework...")
- 15:57, 17 May 2020 (diff | hist) . . (+580) . . N Settings override.py (Created page with "Dabo has several settings that are imported to the main dabo module's namespace; these are configured in the <code>settings.py</code> file in the main dabo module directory....") (current)
- 15:56, 17 May 2020 (diff | hist) . . (+110) . . N PyCrypto (Created page with "A common name for the '''Python Cryptography Toolkit''', available at https://www.dlitz.net/software/pycrypto/") (current)
- 15:54, 17 May 2020 (diff | hist) . . (+910) . . N SempliceCriptazione (SimpleCrypt) (Created page with "SimpleCrypt che ho tradotto in '''Semplice Criptazione''' e' un grazioso tool (attrezzo),come il nome vuol significare, per criptare e decriptare parole, password, file e...") (current)
- 15:52, 17 May 2020 (diff | hist) . . (+1,544) . . N SimpleCrypt (Created page with "'''SimpleCrypt''' is pretty much what its name implies: a very simple tool for encrypting stuff. Technically, what we are doing is taking plaintext and turning it into ciphert...") (current)
- 15:49, 17 May 2020 (diff | hist) . . (+143) . . N Framework Level (Created page with "===== subtopics: ===== * SimpleCrypt ** SempliceCriptazione (SimpleCrypt) ** PyCrypto * settings_override.py * settings.py") (current)
- 15:11, 17 May 2020 (diff | hist) . . (-10) . . Framework Documentation (current)
- 15:08, 17 May 2020 (diff | hist) . . (+8,487) . . N HowToUseAGridSizer (Created page with "== How To Use a dGridSizer == The easiest way to make use of a dGridSizer has to use the ClassDesigner. It is a piece of genius that will take the headache out of desi...") (current)
- 14:58, 17 May 2020 (diff | hist) . . (+4,095) . . N HowToCreateANumbersOnlyControl (Created page with "The following class was writtern by '''Larry Long''', '''Nate Lowrie''' and '''John Fabiani'''. <code>RANumBox(self, RegID=ncostID, MinValue=0.00, MaxValue=999999.99, Integer...") (current)
- 14:52, 17 May 2020 (diff | hist) . . (+1,416) . . N HowToCreateATempCursor (Created page with "Occasionally you may need a temporary cursor to access tables. There are several ways to access the database via cursors. But the best way does not violate Dabo's 3 tier desig...") (current)
- 14:52, 17 May 2020 (diff | hist) . . (+94) . . HowTos (current)
- 14:45, 17 May 2020 (diff | hist) . . (-38) . . Framework Documentation
- 14:41, 17 May 2020 (diff | hist) . . (+5,638) . . N HowToUseMultipleToolbars (Created page with "Using multiple toolbars in other places than right bellow the title bar is relatively common. For example on a panel to gather panel related functionality, on to of a grid for...") (current)
- 14:35, 17 May 2020 (diff | hist) . . (+646) . . N How to use a cdxml file in hand coded forms (Created page with "'''<span style="color: red;">NOTE</span>''': as of revision '''4384''', you can now do the following: <syntaxhighlight lang="python"> # Assuming that 'pth' is the path to the...") (current)
- 14:34, 17 May 2020 (diff | hist) . . (+3,474) . . N Create an OpenOffice SpreadSheet (Created page with "Reporting from Dabo is normally done by using <code>reportWriter.py</code>. It works very well for document type reports, but often our clients require a spreadsheet. Since my...") (current)
- 14:27, 17 May 2020 (diff | hist) . . (+1,979) . . N How To Overlay Controls (Created page with "A small example of using dPageFrameNoTabs to allow overlaying textboxes on a form. Written by '''Larry Long''' and '''John Fabiani''' (the suggestion of using dPageFrame...") (current)
- 14:26, 17 May 2020 (diff | hist) . . (+1,399) . . N HowToVisuallyFloatAControl (Created page with "<syntaxhighlight lang="python"> from dabo import dApp from MySQLdb import escape_string # Set up dabo app = dApp() app.setup(False) # Set up connection connection = app.getC...") (current)
- 14:24, 17 May 2020 (diff | hist) . . (+4,143) . . N HowToCreateAFormWithAGridAndPopulateItWithData (Created page with "First, create a directory to hold the files. I'm calling mine <code>test</code>. Next, define the connection to the database by running the <code>CxnEditor.py</code> script i...") (current)
- 14:18, 17 May 2020 (diff | hist) . . (+761) . . N HowToLimitInputCharactersInATextBox (Created page with "Right now the only way is to use the new <code>ForceCase</code> property, which can be one of: * "'''upper'''", "'''u'''" - all alpha characters forced to UPPER CASE * "'''lo...") (current)
- 14:15, 17 May 2020 (diff | hist) . . (+2,139) . . N HowToPopulateAndUseListControls (Created page with "A common need in an application is to create a list of choices for the user, who makes a selection. The items in the list correspond to a lookup table, and what is stored in t...") (current)
- 14:11, 17 May 2020 (diff | hist) . . (+454) . . N How To Log Executed SQL (Created page with "By default, Dabo does not log database activity. However, you can change this by setting the Application object's <code>DatabaseActivityLog</code> property to either: # the p...") (current)
- 14:09, 17 May 2020 (diff | hist) . . (+325) . . N How To Get Foreign Keys Set (Created page with "You need to set <code>bizobj.FillLinkFromParent</code> to <code>True</code>. Of cause you also have to supply the usual information for the parent-child relation: <syntaxhig...") (current)
- 14:08, 17 May 2020 (diff | hist) . . (+225) . . HowToSetupParent-Child-Grandchild (current)
- 14:07, 17 May 2020 (diff | hist) . . (+1,397) . . N HowToSetupParent-Child-Grandchild (Created page with "You will get the full benefit of this document by first watching the screencasts "Using the Data Environment" parts 1 & 2. First, create the bizobjs. I'm assuming that you've...")
- 14:04, 17 May 2020 (diff | hist) . . (+306) . . N HowToTurnPreferencesOff (Created page with "If you do not want to use Preferences at all, set <syntaxhighlight lang="python"> app.UserSettingProviderClass = None </syntaxhighlight> in the initProperties() of your app...") (current)
- 14:03, 17 May 2020 (diff | hist) . . (+4,306) . . N HowToCustomizeCheckboxes (Created page with "How To Customize a Check Box If you need a column that can assume only one of two mutually exclusive values, a way to manage it in the front end is to use a dCheckbox. Nativ...") (current)
- 18:50, 15 May 2020 (diff | hist) . . (+1,402) . . N HowToAddBLOBValuesWithMySQL (Created page with "<syntaxhighlight lang="python"> from dabo import dApp from MySQLdb import escape_string # Set up dabo app = dApp() app.setup(False) # Set up connection connection = app.get...") (current)
- 18:48, 15 May 2020 (diff | hist) . . (+1,619) . . N HowToReturnAValueFromAModalForm (Created page with "Normally, you make the value an attribute of the form, or, in the alternative, create a method that returns the value(s) you need. Then when the form is closed, instead of rel...") (current)
- 18:43, 15 May 2020 (diff | hist) . . (+3,237) . . N HowTos (Created page with "=== <span style="color: blue; text-align: center;">If how to do something isn't obvious to you, it probably isn't obvious to others, too.</span> === ---- So if you run into...")
- 17:37, 15 May 2020 (diff | hist) . . (+1,803) . . N Hook Methods (Created page with "This is a generic term for methods of the framework that are empty by default so that developers can add their code to them without fear of overriding any important framework...") (current)
- 15:49, 15 May 2020 (diff | hist) . . (+1,570) . . N Object Creation Methods (Created page with "When an object is created in Dabo, there are several methods you can add code to in order to affect the creation process. In general, you should avoid overriding the <code>__i...") (current)
- 15:47, 15 May 2020 (diff | hist) . . (+236) . . N GeneralDaboPractices (Created page with "Like all frameworks, the authors of Dabo tried to establish a consistent way of doing things. These become "native" practices for working in Dabo. This page collects such prac...") (current)
- 15:00, 15 May 2020 (diff | hist) . . (+957) . . N Reserved Words (Created page with "===== The following list contains words that have particular meaning in Dabo, and which may cause problems for you if you name your entities with these words: ===== : addObje...") (current)
- 14:37, 15 May 2020 (diff | hist) . . (+5,942) . . N PreferenceDialog (Created page with "== Overview == The '''PreferenceDialog''' class is designed to make it easy for you to present users with options that they can configure. It ties in very nicely with the <cod...") (current)
- 14:27, 15 May 2020 (diff | hist) . . (+370) . . N Dabo.ui.getEventData (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.getEventData(wxEvt) </syntaxhighlight> == Description: == Extracts as much information from the <code>wx.Event</code...") (current)
- 14:26, 15 May 2020 (diff | hist) . . (+334) . . N Dabo.ui.discontinueEvent (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.discontinueEvent(evt) </syntaxhighlight> == Description: == Given a wx Event object, tells it to stop searching for...") (current)
- 14:25, 15 May 2020 (diff | hist) . . (+335) . . N Dabo.ui.continueEvent (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.continueEvent(evt) </syntaxhighlight> == Description: == Given a wx Event object, tells it to continue searching for...") (current)
- 14:21, 15 May 2020 (diff | hist) . . (+910) . . N Dabo.ui.getMouseObject (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.getMouseObject() </syntaxhighlight> == Description: == Incredibly handy function for interactive debugging. Allows t...") (current)
- 14:19, 15 May 2020 (diff | hist) . . (+349) . . N Dabo.ui.getMousePosition (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.getMousePosition() </syntaxhighlight> == Description: == Returns the x,y coordinates of the mouse on the screen. ==...") (current)
- 16:06, 14 May 2020 (diff | hist) . . (+764) . . N Dabo.ui.fontMetric (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.fontMetric(txt=None, wind=None, face=None, size=None, bold=None, italic=None) </syntaxhighlight> == Description: ==...") (current)
- 16:05, 14 May 2020 (diff | hist) . . (+539) . . N Dabo.ui.fontMetricFromDrawObject (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.fontMetricFromDrawObject(obj) </syntaxhighlight> == Description: == Given a drawn text object, returns the width and...") (current)
- 16:04, 14 May 2020 (diff | hist) . . (+466) . . N Dabo.ui.fontMetricFromFont (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.fontMetricFromFont(txt, font) </syntaxhighlight> == Description: == Much like dabo.ui.fontMetric(), except that...") (current)
- 15:54, 14 May 2020 (diff | hist) . . (+1,271) . . N Dabo.ui.getCommonBitmap (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.getCommonBitmap(name) </syntaxhighlight> == Description: == '''wxPython''' comes with several built-in bitmaps for c...") (current)
- 15:51, 14 May 2020 (diff | hist) . . (+491) . . N Dabo.ui.imageFromData (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.imageFromData(data) </syntaxhighlight> == Description: == Using the <code>img2py.py</code> script in the <code>wx.to...") (current)
- 15:50, 14 May 2020 (diff | hist) . . (+4) . . Dabo.ui.resizeBmp (current)
- 15:50, 14 May 2020 (diff | hist) . . (+295) . . N Dabo.ui.resizeBmp (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.resizeBmp(bmp, wd, ht) </syntaxhighlight> == Description: == Given a bitmap, returns another bitmap resized to the s...")
- 15:49, 14 May 2020 (diff | hist) . . (+295) . . N Dabo.ui.pathToBmp (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.pathToBmp(pth) </syntaxhighlight> == Description: == Given a file path, returns a bitmap of the image contained in t...") (current)
- 15:47, 14 May 2020 (diff | hist) . . (+1,746) . . N Dabo.ui.strToBmp (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.strToBmp(val, scale=None, width=None, height=None) </syntaxhighlight> == Description: == This can be either a path,...") (current)
- 15:44, 14 May 2020 (diff | hist) . . (+26) . . Dabo.ui.bitmapFromData (current)
(newest | oldest) View (newer 50 | older 50) (20 | 50 | 100 | 250 | 500)