🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11553

Re: How : Covert VB control locations to Java

#11553
From: Chris Hill
Date: Wed, 05 May 1999 00:00
51 lines
2081 bytes
I think VB uses TWIPS (1/1440 of an inch [1/20 of a point])

On Wed, 5 May 1999 08:41:15 +1000, "Sohan Mendis" <sohan@maxtrak.com>
wrote:

>Well yes . I think so . Because if u look at the height and width of a say
>text box. Its pretty larger. If u replace the values in Java , its pretty
>big.
>
>Sohan
>
>Richard Wilkman <rwilkman@inprise.com> wrote in message
>news:372F0C0B.B72F008@inprise.com...
>> Sohan:
>>
>> Pretty sure that VB uses pixels, too, but it's been a few years since
>> I cracked my VB install open.  If you truly need to work with cm,
>> however, I can't think of a way to easily do it in Java.  It's not
>> like there are so many pixels to the centimeter.  Are you sure you
>> are't seeing things measured in "ems" (pronounced like the letter
>> 'm')?
>>
>> -Rich
>>
>> Sohan Mendis wrote:
>> >
>> > I want to convert VB control locations , which I think in centemeters,
>to
>> > pixels which are used in Java. How can I do this conversion ?
>> >
>> > Sohan
>>
>> --
>>
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> Rich Wilkman
>> Senior Quality Assurance Engineer
>> Borland JBuilder Team
>>
>> If you see something that looks like an opinion up there,
>> it's mine and mine alone.
>>
>> Mail sent to me from the newsgroups won't bounce but will
>> be ignored.  If I have time, I'll respond, but you  have
>> a better chance if you confine your posts to the newsgroups
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>

Chris Hill
Chris244@aol.com
Technical Details
Message-ID: <372fa0a6.25267433@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7glkat$62i1@forums.borland.com> <372F0C0B.B72F008@inprise.com> <7gnsjm$7t717@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,62965e664969eb04
X-Google-Attributes: gid111d45,public
From: Chris244@aol.com (Chris Hill)
Subject: Re: How : Covert VB control locations to Java
Date: 1999/05/05
Message-ID: <372fa0a6.25267433@forums.borland.com>
X-Deja-AN: 474145837
References: <7glkat$62i1@forums.borland.com> <372F0C0B.B72F008@inprise.com> <7gnsjm$7t717@forums.borland.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing