|
-
May 6th, 2001, 09:28 AM
#1
Thread Starter
Lively Member
Two quick questions:
1. How many twips are there per pixel (I want to make the screen size 800x600, but my resolution is 1024x768, so I'd like to know what the dimensions of my form should be so that it fits nicely onto 800x600)
2. Is there any way of making a disabled text box look 'enabled'?Basically, I don't want the grey-disabled font colour to be used. I tried changing the forecolor property, but I assume that the enabled property overrides that.
Failing that, is there any way of showing a normal text box, but not allowing the user to select it, or click it, or type into it or anything?
-
May 6th, 2001, 09:32 AM
#2
1)
You can get the twips to pixel conversion by:
WidthInTwips = Screen.TwipsPrPixelX * WidthInPixels
HeightInTwips = Screen.TwipsPrPixelY * HeightInPixels
2)
Try settings the locked property of the textbox to true, and see if that is what you are looking for
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|