[Gambas-user] Rename DataBrowser column header elements

Fabien Bodard gambas.fr at ...626...
Sat Jan 19 10:03:00 CET 2008


Le Saturday 19 January 2008 02:06:06 Benoit Minisini, vous avez écrit :
> On samedi 19 janvier 2008, Paolo Fagni wrote:
> > Hello again, this is the second post in a few hours, sorry about that but
> > I can't figure out this thing :)
> >
> > I would like to rename the header title in a DataBrowser: since my
> > project is translated in multiple languages and the database's table
> > names are in a single language (and often not user-friendly). Any help
> > would be appreciated.
> >
> > Thank you.
> >
> > Cheers,
>
> Use the DataBrowser.GridView property, that returns the GridView used by
> the control.
>
> Regards,

I don't know if it's better but in the last datagrid sytème i've done for 
myself, i've put a property Display that is a string array.

This property set the grid visible header... and if the content is not set or 
the array is more short, the datafield entry is used.

It's just a visual shortcut... and maybe some able to be putted in the 
property form...

(As more it is visual as more it is quick)...


Fabien




More information about the User mailing list