Results 1 to 2 of 2

Thread: Two quick questions:

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Location
    Dublin, IRE
    Posts
    111

    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?

  2. #2
    AIS_DK
    Guest
    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
  •  



Click Here to Expand Forum to Full Width