![]() |
Center a text in popupcontrol |
Post Reply
|
| Author | |
Ditte
Groupie
Joined: 28 October 2007 Status: Offline Points: 94 |
Post Options
Thanks(0)
Quote Reply
Topic: Center a text in popupcontrolPosted: 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 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |