Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Center a text in popupcontrol
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Center a text in popupcontrol

 Post Reply Post Reply
Author
Message
Ditte View Drop Down
Groupie
Groupie


Joined: 28 October 2007
Status: Offline
Points: 94
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ditte Quote  Post ReplyReply Direct Link To This Post Topic: Center a text in popupcontrol
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.171 seconds.