Jump to content

calculate lenght of uniLabel


Recommended Posts



i want to create a "line of links" with a lot of uniLabels (created at runtime, uniLabel.top is allways the same value - just "left" is ascending..):


 Link1    /   Link 2 with some text   /   Link 3  with other text  /   Link 4


  • every uniLabel caption is created depending on db-records (while not query.eof do ..)
  • every uniLabel becomes a "onMouseDown" event 
  • ..


BUT: i need the lenght in pixel of a runtime-created uniLabel - to set the correct left-value of the next uniLabel ...


Any Ideas ?




Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...