Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Controls | New ThreadView:  Search:  
 Author  Thread: Label Caption & Right Justify Issue
Mike D (CEI)
Posts: 3
 
Label Caption & Right Justify IssueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Apr 14 2:05 PM

Hello all,


I'm a noob at SLX customization so forgive me if this seems trivial.


I have a label on a form that I want to display the number of rows in a datagrid. 


Changing the caption with this code works fine:


    lblRowCount.Caption = dgAccount.Recordset.RecordCount & " Records"


I want this to be right justified - just for aesthetic purposes. However, even with both the control's property set to taRightJustify and additionally I'm setting the property in code (lblRowCount.Alignment = taRightJustify) the text isn't behaving properly, i.e., it's still LEFT justified.


Any thoughts?


Thanks in advance for any and all comments, suggestions, flames, etc.


Mike D


 


 

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Label Caption & Right Justify IssueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Apr 14 2:28 PM
Which version? You shouldn't need to code, just set alignment. And is auto-size off ?
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Label Caption & Right Justify IssueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Apr 14 2:28 PM
Which version? You shouldn't need to code, just set alignment. And is auto-size off ?
[Reply][Quote]
Mike D (CEI)
Posts: 3
 
Re: Label Caption & Right Justify IssueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Apr 14 2:41 PM

Hi Mike,


the version is 7.2.2


The auto-size is checked. I went ahead and un-checked that and everything works as expected.


I wouldn't have guessed that that particular setting would prohibit the justification.


Thanks for your help, I greatly appreciate it!!


 


Mike D

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Label Caption & Right Justify IssueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Apr 14 3:29 PM
No probs - and, yes, it would - as it auto-sizes from the right
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/22/2024 10:34:46 AM