Article View: borland.public.jbuilder.java.swing
Article #11560Re: How : Covert VB control locations to Java
From: Richard Wilkman
Date: Wed, 05 May 1999 00:00
Date: Wed, 05 May 1999 00:00
80 lines
3177 bytes
3177 bytes
Chris: TWIPS is correct. It brought forth a whole slew of painful memories. Now I have to go see my psychiatrist. I'll probably have to go back on that medication, too. Gee, thanks Chris! ;-) Still can't get from there to pixels, though. Just to add another fraction there, one point is 1/72 of an inch. Fr. Gutenberg would be proud. -Rich Chris Hill wrote: > > 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 -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<3730609C.8569F23B@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7glkat$62i1@forums.borland.com> <372F0C0B.B72F008@inprise.com> <7gnsjm$7t717@forums.borland.com> <372fa0a6.25267433@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: Richard Wilkman <rwilkman@inprise.com> Subject: Re: How : Covert VB control locations to Java Date: 1999/05/05 Message-ID: <3730609C.8569F23B@inprise.com> X-Deja-AN: 474348813 Content-Transfer-Encoding: 7bit References: <7glkat$62i1@forums.borland.com> <372F0C0B.B72F008@inprise.com> <7gnsjm$7t717@forums.borland.com> <372fa0a6.25267433@forums.borland.com> Organization: Another Netscape Collabra Server User Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing