Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

change the parameter in the titlebar

Former Member
0 Kudos

Hi Everyone,

I have pop up screen, where in it changes the titlebar accordingly on which grid it is. Now is it possible to pass a variable in the titlebar which keeps changing accordingly based on the columns of the grid.

Any help will be of great use to me.

Thanks,

Prabs.

1 REPLY 1

Former Member
0 Kudos

Hi

Insert & in your titlebar, and then when you set it:

SET TITLEBAR 'XXX' WITH TITLE.

The system'll replace & with the value in TITLE.

So:

If .......

TITLE = ....

else.

TITLE = ....

endif.

SET TITLEBAR 'XXX' WITH TITLE.

If you want to manage more variable part, you can insert &1 &2 ... &5 in titlebar (I believe 5 is max, but i don't remember), and so:

SET TITLEBAR 'XXX' WITH TITLE1 TITLE2.....

Max