dbTalk Databases Forums  

Lebans RotateLabelVer2.OCX properties

comp.databases.ms-access comp.databases.ms-access


Discuss Lebans RotateLabelVer2.OCX properties in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Phil
 
Posts: n/a

Default Lebans RotateLabelVer2.OCX properties - 03-05-2011 , 01:23 PM






I am trying to get the fontName and FontSize for Stephen Lebans
RotateLabelVer2.OCX control

dim J as integer
' CtlSpace is the ActiveX control
For j = 0 To CtlSpace.Properties.Count - 10
On Error Resume Next
Debug.Print Debug.Print j & " " & CtlSpace.Properties(j).Name & " " &
CtlSpace.Properties(j) Next j

lists 61 properties, but nothing about font information.
Double Clicking on the control in design view allows forecolours,
backcolours, fontName and FontSize, bold italic, etc. to be set, but I can't
find a way of reading these properties. Can anyone help?
Thanks
Phil

Reply With Quote
  #2  
Old   
Phil
 
Posts: n/a

Default Re: Lebans RotateLabelVer2.OCX properties - 03-06-2011 , 06:39 AM






On 05/03/2011 19:23:13, "Phil" wrote:
Quote:
I am trying to get the fontName and FontSize for Stephen Lebans
RotateLabelVer2.OCX control

dim J as integer
' CtlSpace is the ActiveX control
For j = 0 To CtlSpace.Properties.Count - 10
On Error Resume Next
Debug.Print Debug.Print j & " " & CtlSpace.Properties(j).Name & " " &
CtlSpace.Properties(j) Next j

lists 61 properties, but nothing about font information.
Double Clicking on the control in design view allows forecolours,
backcolours, fontName and FontSize, bold italic, etc. to be set, but I
can't find a way of reading these properties. Can anyone help?
Thanks
Phil
OK.Solved it
Uses CtlSpace.Font for name
Uses CtlSpace.Font.Size for size etc.
Phil

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.