#1 2019-04-19 19:05:51

capsmolet
Member
Registered: 2019-04-12
Posts: 10

Text label in GUI

Hello.
Is it possible, in addition to the displayed text label of a specific field, to insert a text label not related to any field, for example, as an information help user?
And how is this described in the data model?
Thanks.

Offline

 

#2 2019-04-23 12:14:00

kerenoc
Member
Registered: 2016-03-19
Posts: 278
Website

Re: Text label in GUI

Hello

In the model file for you collection, you could create a "help" field with

Code:

<field value="help"
    type="long text"
    label="Help"
    init="This is a small text that can help users. "
    group="info"
    imported="false" />

and insert it somewhere in the panels with

Code:

<item type="box" expand="true">
    <item type="label" for="help"/>
    <item type="value" for="help" expand="true"/>
</item>

Offline

 

#3 2019-04-28 12:11:01

capsmolet
Member
Registered: 2019-04-12
Posts: 10

Re: Text label in GUI

Hello. Thanks for the support.

At the moment, did a little differently by entering a pseudo-field:

Code:

<item type="label" name="NoField" label="Help text for user. Bla-bla-bla." row="0"/>
<item type="label" name="NoField" label="Bla-bla-bla-bla-bla-bla-bla-bla." row="1"/>

I will try the method recommended by you.

---------------------

Another question: is there a possibility in the filter menu to group filters by groups of tabs. Because the description of the data model is used to indicate the group.

Code:

<filters>
  <group label="Tab_1">
   <filter comparison="contain" field="fld_1" numeric="false" quick="true"/>
   <filter comparison="contain" field="fld_2" numeric="false" quick="true"/>
   <filter comparison="contain" field="fld_3" numeric="false" quick="true"/>
  </group>
</filters>

Offline

 

#4 2019-04-29 07:48:54

kerenoc
Member
Registered: 2016-03-19
Posts: 278
Website

Re: Text label in GUI

The group for filters are use for the Find dialog window, not for the Filters menu. This would require to implement cascading menus in GCstar.

Offline

 

#5 2019-04-30 17:53:24

capsmolet
Member
Registered: 2019-04-12
Posts: 10

Re: Text label in GUI

kerenoc wrote:

The group for filters are use for the Find dialog window, not for the Filters menu. This would require to implement cascading menus in GCstar.

Ok, thanks.

Offline

 



Should you have a problem using GCstar, you can open a bug report or request some support on GCstar forums.