Toggle - box > Browse

gcampbell

Member
Either:

1. utilize an OCX grid component
2. Jump through hoops to overlay the browse with a toggle-box
3. Use a Wingding font to show the appropriate symbol in the cell.

Each method has it's pros and cons. Method 3 is the easiest but it may not look good enough for you. If looks and functionality are your main driver then I'd go the OCX route ... of course, you lose the DB connectivity.

Later,
Gordon
 

BONO

Member
Hello,
We're using sometimes a solution gcampbell talk about. here more details :
using a specific font to display a ersatz of toggle box :
Example :
ON display of your browe (freeform query) :
tt-table.choice FORMAT "ý/¨":U LABEL-FONT 9 COLUMN-FONT 32 COLUMN-LABEL 'x':U

on .ini font32=Wingdings, size 8 Script=symbol

HTH
 
schaapie said:
With which version is this example included?
Or where else can I find it?
V9 - possibly earlier [edited]

Section 10.4.9 of the V9 Progress
Programming Handbook


If you want the code directly from the src directory, you will probably need to extract it from prodoc.pl.

Lee
 

joey.jeremiah

ProgressTalk Moderator
Staff member
To Gordon Campbell

Can you please point me to any examples using OCX grid controls
Preferably free OCX controls

Thanks
 

gcampbell

Member
There aren't many good ones that are free. Personally I've used a few including iGrid from www.10tec.com (approx $100 US) and ctGrid from www.dbi-tech.com (comes with a package - don't remember the cost).

Both of these can be downloaded and used with full features enabled. You only get a nag screen until you register it.

I've attached a really simple sample using the iGrid control. it doesn't set the check box type but that is easy enough to do using the appropriate parameter when creating the column (or cell). I believe you need to be attached to the Sports2000 DB to run.

Later,
Gordon
 

Attachments

  • iGrid.zip
    3.7 KB · Views: 59
Top