Print Page | Close Window

Center a text in popupcontrol

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=11864
Printed Date: 07 June 2025 at 11:03pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Center a text in popupcontrol
Posted By: Ditte
Subject: Center a text in popupcontrol
Date Posted: 18 August 2008 at 7:14am
Hi,

after importing the popupcontrol there are :

Define OLEAlignmentStyle for Integer
    Define OLExtpAlignLeft for 0     
    Define OLExtpAlignRight for 1    
    Define OLExtpAlignCenter for 2   
    Define OLExtpAlignMiddle for 0   
    Define OLExtpAlignTop for 4      
    Define OLExtpAlignBottom for 8

Get AddItem  of oSigCJPopupControl1 0 50 170 100 "You've got mail!  asasa sasas 1234 1234 1234 1234 1234 1234 99999 99999 00000 11111 22222 2222 22222" False to hoChild

What I must do to center the text in the body of the popup?





-------------
Regards



Dittmar



Product: Xtreme SuitePro (ActiveX) 13.4.2

Platform: Win XP

Language: Visual Dataflex 16.1



Replies:
Posted By: Oleg
Date Posted: 18 August 2008 at 9:34am
Hi,
 
AddItem will return PopupControlItem. Use its TextAlignment property now to center text.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net