Surpress textlabel of checkbox

14 views
Skip to first unread message

Florian Groothuis

unread,
Sep 9, 2025, 5:22:31 AMSep 9
to Migrated By Firefly
I have a BoolColumn field placed as a checkbox on my screen. When I leave the text-property empty it displays "True,False" next to the checkbox. Is there a way to surpress that text? I tried:
this.checkbox.text = ""
this.checkbox.text = " "
this.checkbox.text = null

If I enter a text:
this.checkbox.text = "Example"
it will display this this text next to the checkbox. So why is an empty text-property overruled by the default input-ranges of a BoolColumn.

I started with using a type from my application which had an input range of "Yes,No", which was displayed when I left the text-property empty, but removing that range set the text back to "True,False".

Steve Burrows

unread,
Sep 9, 2025, 6:26:36 AMSep 9
to Florian Groothuis, Migrated By Firefly
You need this in the InitializeComponent for the Class:
this.UseColumnInputRangeWhenEmptyText = false;

I have struggled and failed to get the default text to be the Caption. If anyone knows how to do this, please share.

--
You received this message because you are subscribed to the Google Groups "Migrated By Firefly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrated-by-fir...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/migrated-by-firefly/35bad623-4dc4-48d4-ae4b-2403f631c439n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages