Re: Mixing Font Sizes



On Sat, 09 Jun 2007 17:09:39 GMT, "Pop`" <nodoby@xxxxxxxxxxxxxxxxxxx>
wrote:

Hi,

First post on this group. I'm a complete newbie to VB with the slight
exception that I have a years-old smattering of C and can currently do
fairly well with batch files. I'm using tutorials for the most part and
then diverging from them and trying to write my own subs; rather
successfully I'm happy to say.

VB6 Enterprise on XP Pro: IDE, simple "Standard.Exe" IDE env at the moment.
Is there a way to programmatically set Font Sizes within a line of text?

e.g. made-up example:
txtResult = txtOperand1 & " Plus " & txtOperand2 & " = " & dblResult
I would like to make the "=" sign larger and bold with the rest of the
text normal.

Is that possible in the IDE or should I wait until I have more experience
under my belt?

Thanks for any relevant information,

Pop`


You might be successful using a RTF text box. I've had, at best, mixed
results using RTF boxes, so there is a learning curve. I don't know of
any other stock way--I have a similar application need and use
multiple text boxes to achieve the same result. In my case, the text
is relatively static, however.
.



Relevant Pages

  • RE: VS .Net 2003 IDE Crashes when Attaching to Debugger
    ... I tried to upload the file for you but I don't think it was successful. ... our ftp site. ... Macaffee can cause some prolems with the IDE since it does ...
    (microsoft.public.vsnet.general)
  • Re: Asus A8N-vm
    ... That link doesn't tell about a successful installation.... ... >> As a total Linux newbie, I'd need instructions made of steel wire... ... > This board has both SATA and IDE disc connectors. ... > "Instructions made of steel wire" is an expression which I'm not familiar ...
    (comp.os.linux.setup)
  • Re: Mixing Font Sizes
    ... IDE, simple "Standard.Exe" IDE env at the ... results using RTF boxes, so there is a learning curve. ... I don't have any real "needs" as I'm using this for a learning experience - ...
    (microsoft.public.vb.general.discussion)
  • Re: VCL.NET deprecated long-term ?
    ... I doubt that THAT is the reason they were successful. ... The real reason is more likely to be WHAT people ... can make with that IDE and environment. ...
    (borland.public.delphi.non-technical)
  • Mixing Font Sizes
    ... I'm a complete newbie to VB with the slight ... exception that I have a years-old smattering of C and can currently do ... IDE, simple "Standard.Exe" IDE env at the moment. ...
    (microsoft.public.vb.general.discussion)

Quantcast