Use Display methods for Title field on forms?

Hi All,

Is it possible to use a display method as a title field on forms?

Please let me know if you need any info about it, thanks in advance!

Yes,

Provide me your e mail id.I will send you xpo of this

hi Michel,

Send for me xpo

id sekharg1980@gmail.com

Guys, sharing is caring can you please share it via Sky Dive or any tool on the cloud?

Hi michel can you please forward me xpo file its helps me to know solution,

My Email id: ravinderreddy4@gmail.com

Hi Michel,

Please can you send me XPO file …

my emailId: darshanadesh@gmail.com

hi,

  1. create a display method

display description titlename()

{

return “titlename” ;

}

2 . add a group in the form design

add a string edit under the group , and mention the datasource as a table name placed in the table and data method as display method name ex : titlename

  1. and also mention the style as title in the properties of string edit

hi,

if you want 2-titlefields u can put titlefields in form properties…

if u want ““More than 2 titlefields use"caption()” in table level”"…its a very gud method…i never used Display method for title fields…

if anyone know can plz share with me…

Thanks,

SureSh.

Hi,

Im really sorry for my previous post,

Yes we can use display method as titlefield

  1. in the caption() method of table write the below code

public str caption()

{

str ret;

ret = super();

ret = this.news() ; // news is a display method

return ret;

}

In the form design mention the datasource of table name

you can use it if you need even a single field ,not more than 2 field… you can display any number of fields

just use and return the display method in the caption method of table

Its working fine on my form, I hope this solve your problem

Hi Paranjothi,

Please can you send me XPO File , my email id: rdasari@hotmail.co.uk

Thanks

Ravindar

Hi,

Please can u send me xpo file on my id : jainvj31_1991@outlook.com