Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #1055
| From | "Mike Williams" <Mike@WhiskyAndCoke.com> |
|---|---|
| Newsgroups | comp.lang.basic.visual.misc |
| Subject | Re: VB6 Frames |
| Date | 2012-04-30 13:43 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <jnm1cr$sop$1@dont-email.me> (permalink) |
| References | <535op7d1eqve0prjlcl8m73fl7finp8pgd@4ax.com> <qeusp7lg99qcqet6lvsjjkp1icv063lklf@4ax.com> |
"scbs29" <scbs29@fred.talktalk.net> wrote in message news:qeusp7lg99qcqet6lvsjjkp1icv063lklf@4ax.com... > On Sat, 28 Apr 2012 17:12:17 +0100, scbs29 <scbs29@fred.talktalk.net> > wrote: > I was thinking that there may be something like a > frame.border property which I could access, but > it seems that I was wrong. There is a BorderStyle property for Frames which can be set to either 0 (no border) or 1 (FixedSingle) but I gathered from your original post that you already knew about that? Or have I misunderstood the above statement of yours? Regarding the code you have just posted, it seems to be rather strange so I am quite surprised that it is working okay for you, unless you have missed telling us something? For example, you are setting an IntHad property to one tenth the Height of a Frame and then you are /afterwards/ changing the Height of the Frame to the height of the Image plus (2 * IntHad). So, the size of the actual horizontal borders (intHad) will depend on the Heght of the frame as it was /before/ the Frame's height was altered to take account of the height of the Image, which as far as i can see could have been anything at all. There is a similar problem with IntWad. This just isn't right to my mind. Also, you are completely failing to take account of the fact that the top position and the height of the Frame's border is /not/ the same as the Top or Height properties of the frame itself. It all sounds a bit "iffy" to me. Mike
Back to comp.lang.basic.visual.misc | Previous | Next — Previous in thread | Next in thread | Find similar
VB6 Frames scbs29 <scbs29@fred.talktalk.net> - 2012-04-28 17:12 +0100
Re: VB6 Frames "Auric__" <not.my.real@email.address> - 2012-04-29 00:24 +0000
Re: VB6 Frames scbs29 <scbs29@fred.talktalk.net> - 2012-04-29 10:10 +0100
Re: VB6 Frames Deanna Earley <dee.earley@icode.co.uk> - 2012-04-30 08:59 +0100
Re: VB6 Frames "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-04-29 13:18 +0100
Re: VB6 Frames "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-04-30 11:25 +0100
Re: VB6 Frames scbs29 <scbs29@fred.talktalk.net> - 2012-04-30 12:52 +0100
Re: VB6 Frames "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-04-30 13:43 +0100
Re: VB6 Frames scbs29 <scbs29@fred.talktalk.net> - 2012-05-02 13:39 +0100
Re: VB6 Frames "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-05-02 21:21 +0100
csiph-web