Form caption text

Hi,

I wanted to use unique identification for each new workspace window. so, i have planned to use the string e.g. ‘(1 - cee)’ apperead on the caption of each of the modules (i.e. forms, cotent area).

But i am not able to find the whole caption string. In the ‘ItemInvent’ form caption there is ‘caption’ property set to ‘Item’ and ‘TitleDataSource’ property to InventTable. I have ananlysed the ‘Caption’ property which is set to ‘Item’, but it only prints the ‘Item’ text on the InventTable form’s caption. I am not able to find the ‘(1 - cee)’ text which apperead along with the ‘Item’ text on the InventTable form.

Can anyone please suggest me some idea to get this text (i.e. (1 - cee), (2 - cee) and so on.)

Hi,

Are you asking about Workspace window!?

if yes then you could ues WorkspacewindowCreated & workspacewindowdistroyed method to trace how many workspaces are created and currently in use

Thanks & Regards,

Mehul Thacker

And yes you can use “currentWorkspaceNum” static method of “xInfo” class to trace which workspace is in use.

Thanks & Regards

Mehul Thacker

Can You tell how you got “cee” along with 1?

Hi Ajith,

You can use curExt() to get the current company extension.