Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Checkbox in a Table
Is there any way of formatting a filed in a table to show a (Tick) instead
of a 1 or 0

Thanks

Peter



Report this thread to moderator Post Follow-up to this message
Old Post
peter lewis
03-27-04 04:01 AM


Re: Checkbox in a Table
You have to use an icon for that field in the table.

In the list box formatter, select the field you want to display this way.
Click the appearance tab, and then choose either normal or transparent for
icon (at the bottom left).

Then go into extensions and select the browse.  Scroll the tabs until you
get to the icon tab.  The field should be listed there.  Select it and hit
properties.  Enter a default icon - ex. blank.ico.  Then hit insert under
conditional icon usage.  Enter a condition - ex.  yourfield=1, and enter the
icon you want it to display - ex.  check.ico.

This will cause the listbox to display nothing when it is 0, and a checkmark
when it is 1

"peter lewis" <peter@vsat.co.za> wrote in message
news:c3cu5m$3fa$1@ctb-nnrp2.saix.net...
> Is there any way of formatting a filed in a table to show a (Tick) instead
> of a 1 or 0
>
> Thanks
>
> Peter
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
David Cadkin
03-27-04 04:01 AM


Re: Checkbox in a Table
Also set the color for that field with the tick icon to display the
byte with the same color in all 4 states so it doesn't show against
the normal or selected background right next to your icon.

"David Cadkin" <dcadkin@phycare.com> wrote in message news:<j0o6c.14952$Oo5.13080@twister.n
yroc.rr.com>...
> You have to use an icon for that field in the table.
>
> In the list box formatter, select the field you want to display this way.
> Click the appearance tab, and then choose either normal or transparent for
> icon (at the bottom left).
>
> Then go into extensions and select the browse.  Scroll the tabs until you
> get to the icon tab.  The field should be listed there.  Select it and hit
> properties.  Enter a default icon - ex. blank.ico.  Then hit insert under
> conditional icon usage.  Enter a condition - ex.  yourfield=1, and enter t
he
> icon you want it to display - ex.  check.ico.
>
> This will cause the listbox to display nothing when it is 0, and a checkma
rk
> when it is 1
>
> "peter lewis" <peter@vsat.co.za> wrote in message
> news:c3cu5m$3fa$1@ctb-nnrp2.saix.net... 

Report this thread to moderator Post Follow-up to this message
Old Post
Arnett, James
03-27-04 04:01 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Clarion archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 02:15 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.