Third Party Designers

Top  Previous  Next

Currently My Little Grid is known to work with 3 program designers made to work with PowerBasic. These are EZGUI Utility Dialog Designer by Chris Boss (and also his EZGUI 4.0 Visual Designer product) ,PB Forms by Powerbasic, and Firefly by Paul Squires.  I am confident MLG can be made to work with other designer also but I do not have access to them.

 

 

EZGUI Utility Dialog Designer

 

1) Unzip EZMLG.zip from the MlgDemo.zip file downloaded the the MLG website

 

2) To use MGL control with EZGUI 4.0 make sure the paths in the mlg.ezc file are correct for the include files for MLG.

The mlg.ezc file is an EZGUI custom control definition file. It can be edited in any text editor (ie. notepad) !

 

<<<INCLUDES>>>

       #INCLUDE  "C:\Program Files\EzGUI\MLG_DLLPB.INC"

<<<END>>>

 

3) Then copy the mlg.ezc file and the MLG runtime DLL into the same folder as the EZGUI 4.0 Utility Dialog Designer.

 

4) Start the designer.

 

5) Drag a custom control to your form and double click the new custom control.  A dialog box as below will appears

 

EZGUI

 

6) Select the MYLITTLEGRID class, name the control, and put the desired MLG switches in the Text box.

 

7) Build your project and program MLG and its notifications.

 

PBForms

 

1)  Drag a custom control on to your form

 

2)  Double click the new control to bring up the below dialog box.  Fill in the MLG switches in the Caption box and the Class text box needs to have MYLITTLEGRID inserted

 

clip0001

 

3) The WS_CHILD and WS_VISIBLE styles are preselected.  You probably want to add a WS_BORDER or a fancier edge using the ExStyle options.

 

4)  insert #INCLUDE "MLG_DLLPB.INC" into your code.

 

5) Make sure the MLG.DLL is somewhere your exe can find it.

 

Firefly

 

 

1) Unzip the Firefly.zip file in the mlgdemo.zip file.

 

2) Put the contents of the zip which should be

       MLG.ctl

       MLG.ico

into a folder under the Firefly folder.  The path should be similar to the following

 

C:\Program Files\Firefly\Custom Controls\Petroleum Software Solutions\MLG\MLG.ctl

C:\Program Files\Firefly\Custom Controls\Petroleum Software Solutions\MLG\MLG.ico

 

Look how the other custom controls are arranged and you will get the idea.  Here is a screenshot on how my computer is setup.

 

 

FireflyDir

 

3) Put a copy of the MLG.dll and MLG_DLLPB.inc in this folder

 

4) Start Firefly and drag a MLG control to the form.  The tooltips will inform you of which of the grid controls is MLG.

 

5) In the Properties box, set your desired switches and styles.  At a minimum the control needs to be a WS_CHILD, WS_VISIBLE and probable an ExStyle edge of some type.

       

 

Firefly