Jump to content
Developer Wiki and Function Reference Links ×

How to get the Sheet Title of presentation layer?


Assembly

Recommended Posts

How do I get the SheetTitle of presentation layer?.

GetLName returns the sheet number. I don't see a function that returns this.

The procedure below get the layer name and insert it as text.

PROCEDURE LayerNamer;

VAR;

ghObject,ghRecord,ghWall:HANDLE;

gObjectName:STRING;

gBoolean:BOOLEAN;

BEGIN

gBoolean:=GetCustomObjectInfo(gObjectName,ghObject,ghRecord,ghWall);

CreateText(GetLName(GetLayer(ghObject)));

END;

RUn(LayerNamer);

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...